v1.6.0: add minimum control-surface session summaries - #1098
Conversation
Codex exact-head audit — BLOCKEDHead: [P1] The emitter rejects a real archived lifecycle produced by
|
Codex exact-head audit — BLOCKEDHead: [P1] Normal
|
Replacement exact-head evidenceHead: This supersedes The remaining P1 is closed by carrying Evidence at this head:
CodeMower.com #978 must discard the superseded contract bytes, vendor this exact checkpoint, and advertise this digest before OSS production emission. |
58df8ad to
99b657a
Compare
Claude audit (merge-authority lane)Head SHA: |
Closes #921.
The Slack control surface needs lifecycle visibility without exporting commands, messages, identities, provider references, or raw output. This PR freezes a closed
code_mower.controlSurfaceSessionSummary.v1event inside the existing cloud envelope, with exact accepted/rejected fixtures and hosted retention/export/deletion expectations. Old clients remain compatible because the event type is additive. New clients fail closed until CodeMower.com advertises the exact capability version and fixture-manifest digest throughGET /api/health.After exact hosted acceptance, the client emits the first observation and only meaningful lifecycle, lifecycle-reason, operation-count, owner-action, PR, or terminal measurement transitions. Timestamp-only polling and changing nonterminal elapsed time or usage are suppressed. Slack-requested work also uses the existing local Board projection.
The replacement immutable hosted contract checkpoint is commit
99b657ae9822a689b46d21c41695a4cfb28a177d. The fixture-manifest SHA-256 is9e87c52812a49a1c72d0e0d2448661a3ef17cb8539ca8e029c6669ea9738d62e. This supersedes every earlier checkpoint and digest. CodeMower.com #978 must vendor the five contract resources byte-for-byte and advertise this exact identity before production emission can occur.The closed v1 contract now carries
lifecycle_reasonand accepts exactly 21(state, lifecycle_reason, owner_action)triples. This preserves provider state while truthfully distinguishing routine status, owner waits, failures, unavailable providers, andcollectresults that are not ready or unavailable. It also keeps tool provenance closed to metadata-only fields.Validation:
RemoteSessions.run("collect")integration coverage for all nine result-availability statesThe rebased exact head passed the full repository CI and an eligible independent Claude exact-head audit. Hosted exact-contract acceptance remains pending; production emission stays fail-closed until CodeMower.com advertises the exact capability and manifest digest.