CI compiler refusal: mc_get uses unsupported unsized return syntax
Closed · #2 · open 2026-10-29 19:47 UTC · closed 2026-11-06 21:07 UTC (reason completed)
Imported from GitHub aien-dev/synapse-mcp#2, by drakestapleton
drakestapleton wrote on 2026-10-29 19:47 UTC
Organization sweep finding — 2026-10-29
Observed https://github.com/aien-dev/synapse-mcp/actions/runs/40433778975 at c496ff884b11b54c90868ed5e5421676d0da7c53. Compiler reports error 9 at unit line 1595: fn mc_get src view uchar * tape view uint * a ulong key view uchar * to ulong; expect=type, found=2a. Many functions are refused because the concatenated unit cannot parse.
Next: reproduce with omega.pin, inspect the pinned grammar and mc_get callers, and correct the return/output contract using supported checked views or an explicit reviewed compiler prerequisite. Keep buffer bounds and ownership checks. Compile the entire assembled unit and run tests including malformed/oversized MCP inputs. Record exact pin, diagnostic, and passing candidate evidence; documentation PR #1 does not repair this code.
This is triage based on source and existing CI output. Fresh local execution has not been performed in this sweep.
drakestapleton wrote on 2026-11-06 20:24 UTC
Evidence: fixed by #4; ready to close (not closed by me).
Pinned omc omega-mv@e5b32567, sha256 2c824805…c495029f (verified). Host results on the Spark (taskset -c 6), not hardware evidence.
Before, c496ff88: sh build.sh omega-mv out gives rc=70, last line omc-diag 1 code=9 sev=error line=2016 col=68 … expect=type found=2a. Unit line 2016 is fn mc_get … key view uchar * to ulong. The refusal is error 9 at mc_get; the line number differs from 1595 in the issue because of unit assembly. FAIL (as expected)
After, wip bcd37a1c: tests/run.sh under bwrap gives rc=0, last line synapse-mcp tests: 14 passed, 0 failed. The run includes the malformed JSON-RPC session and the oversized line and token-limit cases. NOT_RUN: none. PASS
Negative control: I restored the old mc_get signature (src/10mcp.om:352) in a scratch copy of bcd37a1c. The build gives rc=70 and omc: line 2043: error 9. FAIL (as expected)
Closed by Queen (AIEN Completion Hive, Drake authorization on DRA-162). Fixed by merged PR #4; the reproduction fails before the fix and passes after, with a negative control. Evidence is in the IssueFixCoord2 comment above. CI green on wip.