You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Verify non-capture capability declarations at install time (contract clause 6) #573
Residual from the full review of the OpenCode adapter PR (#564). setupMemory derives capture availability from the port's method presence, so a capture lie is structurally impossible — but the remaining declared fields (tools, identityEvents, usageReceipts, toolEvents, promptEvents, context.*, compaction, shutdown) are trusted: the core never cross-checks a declaration against the ports or observed behavior at install time. A behavioral lie IS caught later by the conformance bank (measured: disabling usage decoding under a truthful-looking declaration fails 7+ named tests), but the declaration check clause 6 asks for — "a declaration the core does not check is a comment" — exists only for capture. Unblock: an install-time cross-check (declared true requires the supporting port surface), or amend host-contract.md to state plainly that non-capture declarations are informational and conformance-time-checked, so the next adapter author does not assume enforcement.
Activity