Skip to content

Mutation-scope hook ingress - #261

Open
davidabram wants to merge 5 commits into
mutation-trace-agent-attributionfrom
mutation-scope-ingress
Open

Mutation-scope hook ingress#261
davidabram wants to merge 5 commits into
mutation-trace-agent-attributionfrom
mutation-scope-ingress

Conversation

@davidabram

Copy link
Copy Markdown
Member

No description provided.

@davidabram
davidabram force-pushed the mutation-scope-ingress branch 2 times, most recently from 4db65bd to d9d2598 Compare September 4, 2026 00:05
Define a harness-neutral CLI ingress for normalized mutation-scope lifecycle events,
including strict parsing, runtime wiring, failure semantics, and lazy database access.
Track parser and routing work, runtime integration, real Git/DB regressions, and durable context synchronization.
Plan: mutation-scope-hook-ingress (T01-T05)

Co-authored-by: SCE <[email protected]>
@davidabram
davidabram force-pushed the mutation-scope-ingress branch from d9d2598 to acc3de8 Compare September 4, 2026 00:11
Validate JSON STDIN payloads for start, advance, close, flush, and abandon
operations while preserving boundary identifiers and mapping actor kinds to the
runtime enum. Reject unknown fields, worktree identity, invalid types, and blank
identifiers before routing is added.

Plan: mutation-scope-hook-ingress.md (T01)

Co-authored-by: SCE <[email protected]>
@davidabram
davidabram force-pushed the mutation-scope-ingress branch 2 times, most recently from c2e3d0b to a1865a2 Compare September 4, 2026 01:11
Expose the hidden `sce hooks mutation-scope` command as a strict, harness-neutral
JSON lifecycle ingress. Dispatch start/advance/close/flush boundaries and scope
abandonment through the protected runtime with lazy DB acquisition, preserving
durable-completion handling and empty stdout on success. Add parser, dispatch, and
runtime classification coverage.

Plan: mutation-scope-hook-ingress.md (T02)

Co-authored-by: SCE <[email protected]>
@davidabram
davidabram force-pushed the mutation-scope-ingress branch from a1865a2 to 633a03b Compare September 4, 2026 01:15
Exercise the production mutation-scope ingress against real temporary Git worktrees and state-root trace databases so lifecycle, replay, identity-conflict, abandonment, unscoped flush, and marker-clear durability behavior remain covered. Add a test-only database-resolver seam while preserving the production resolver path.

Plan: mutation-scope-hook-ingress, T03

Co-authored-by: SCE <[email protected]>
@davidabram
davidabram force-pushed the mutation-scope-ingress branch 2 times, most recently from ae8e489 to 629675e Compare September 4, 2026 09:06
Record the hidden `sce hooks mutation-scope` transport as the harness-neutral
runtime ingress. The contract covers strict lifecycle payload parsing, identity
ownership and worktree derivation, lazy database acquisition, durable-completion
error classification, and the boundary between generic transport and concrete
harness adapters. Update the related runtime, routing, architecture, overview,
context-map, and plan records to describe the shipped behavior.

Plan: mutation-scope-hook-ingress (T04)

Co-authored-by: SCE <[email protected]>
@davidabram
davidabram force-pushed the mutation-scope-ingress branch from 629675e to 67284f1 Compare September 4, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant