Skip to content

feat(hooks): rebase post-rewrite evidence capture for Agent Trace#52

Closed
ivke995 wants to merge 1 commit into
mainfrom
feat/post-rewrite-rebase-agent-trace
Closed

feat(hooks): rebase post-rewrite evidence capture for Agent Trace#52
ivke995 wants to merge 1 commit into
mainfrom
feat/post-rewrite-rebase-agent-trace

Conversation

@ivke995
Copy link
Copy Markdown
Contributor

@ivke995 ivke995 commented Jun 1, 2026

No description provided.

Add post-rewrite hook runtime that captures Git post-rewrite rebase STDIN as a structured JSON artifact under context/tmp/post-rewrite/. Non-rebase methods (amend, other) remain deterministic no-ops.

Include the new post-rewrite hook asset in the canonical SCE-managed required-hook set (setup --hooks, doctor install/repair), and update context documentation to reflect the active rebase capture posture without remap/AgentTraceDb/rebuild behavior.

Touches: cli/src/services/hooks/mod.rs (parser, payload, persistence), cli/assets/hooks/post-rewrite (hook template), cli/src/services/setup/mod.rs (hook asset inventory), cli/src/services/doctor/mod.rs (required hook count), cli/src/services/default_paths.rs (hook path constant), and 13 context/ files.

Co-authored-by: SCE <sce@crocoder.dev>
@ivke995 ivke995 force-pushed the feat/post-rewrite-rebase-agent-trace branch from 898d1ac to 95112cd Compare June 1, 2026 14:05
@ivke995 ivke995 closed this Jun 2, 2026
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