Claude mutation-scope integration - #263
Open
davidabram wants to merge 6 commits into
Open
Conversation
davidabram
force-pushed
the
claude-mutation-scope-integration
branch
2 times, most recently
from
September 4, 2026 13:44
1c14d6e to
141917d
Compare
Define the first concrete Claude Code mutation-scope adapter, its generic-ingress boundary, lifecycle and identity semantics, durable state, generated settings integration, and validation strategy. - Sequence the work across Claude lifecycle discovery, adapter implementation, setup integration, production regressions, and durable context. - Capture fail-closed PreToolUse behavior, write-ahead Start ordering, stale-attempt cleanup, worktree ownership, and background-shell limitations. - Record acceptance criteria and full verification commands for the stacked integration. Plan: claude-mutation-scope-integration Tasks: T01-T08 Co-authored-by: SCE <sce@crocoder.dev>
davidabram
force-pushed
the
claude-mutation-scope-integration
branch
3 times, most recently
from
September 4, 2026 14:31
44c8271 to
9b4659b
Compare
Capture Claude Code 2.1.258 lifecycle payloads for mutation-scope design decisions, including successful and failed tools, parallel calls, denials, subagents, worktree cwd, and background execution. Document uncaptured or analog-only probes and confirm the foreground/background and failure-signal assumptions used by the follow-up implementation. Co-authored-by: SCE <sce@crocoder.dev>
davidabram
force-pushed
the
claude-mutation-scope-integration
branch
from
September 4, 2026 14:39
9b4659b to
7a247c0
Compare
Capture and validate Claude hook lifecycle and tool events before wiring the adapter, so mutation-scope integration can use stable execution identities and conservative tool classification. Implement strict event parsing, identity/scope ID formatters, lifecycle models, and read-only/delegation/mutation-capable classification. Keep the module unwired and dead-code allowed until the planned ingress work lands. Plan: claude-mutation-scope-integration (T02) Co-authored-by: SCE <sce@crocoder.dev>
davidabram
force-pushed
the
claude-mutation-scope-integration
branch
from
September 4, 2026 15:16
f25e43b to
c6e5f1c
Compare
Persist versioned adapter attempts under the checkout's Git state directory, using bounded OS locking and durable atomic replacement to prevent lost updates and partial writes. Reuse live deliveries by tool identity while allocating monotonic ScopeIds for later executions, and reject malformed or unsupported state rather than fabricating bookkeeping. Plan: claude-mutation-scope-integration (T03) Co-authored-by: SCE <sce@crocoder.dev>
davidabram
force-pushed
the
claude-mutation-scope-integration
branch
from
September 4, 2026 15:48
f59e6d7 to
4605801
Compare
Ensure Nix package builds include the Claude mutation-scope hook fixtures so the hook's test and runtime assets are available in the packaged CLI source tree. Co-authored-by: SCE <sce@crocoder.dev>
Document the observed Claude Code lifecycle boundary for a foreground Bash call that launches a self-detaching descendant whose repository mutation occurs after PostToolUse. Add the captured hook payloads, update fixture notes, and reconcile D20/T04 in the integration plan without changing production behavior or adding process supervision. Plan: claude-mutation-scope-integration (T04) Co-authored-by: SCE <sce@crocoder.dev>
davidabram
force-pushed
the
claude-mutation-scope-integration
branch
from
September 4, 2026 22:24
44a2f47 to
e98b99a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.