Spike: validate Claude SDK resume + pick git identity strategy #2
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User story
As a backend developer, I want a short timeboxed spike that validates session resumption with the Claude Agent SDK and pins down our git identity + auth approach, so that Phase 1 design choices are de-risked before we touch
runAgent.Acceptance criteria
Claude SDK
resumeprobeSDKMessagevariant carriessession_id(likelysystem.initorresult); document the access pathquery({ resume: id, prompt, ... })continues the prior conversation (model recalls prior turn)resumerequires the samecwdor works with a different oneGit identity strategy decision
GIT_AUTHOR_NAME/GIT_AUTHOR_EMAIL/GIT_COMMITTER_NAME/GIT_COMMITTER_EMAILvia SDKquery({ env })extensions.worktreeConfigon the cache clone + per-worktree.git/config.worktreeGit auth strategy decision
GIT_ASKPASSscript that echoes the per-agent token-c url.<base>.insteadOf=...credential.helper.git/configOutput
docs/decisions/persistence.md), referencing this spikeOut of scope
References
@anthropic-ai/claude-agent-sdkquery()signatureDependencies
main(throwaway spike; not merged)claude-hooks-dev-defaultcontainer disappears silently #132