Auto-open implementation via Dynamic Context Injection in /os-sdlc:implement #509
Labels
No labels
P0
P1
P2
P3
bug
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#509
Loading…
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?
Context
User concept (approved for capture 2026-08-25): /os-sdlc:implement should use skill Dynamic Context Injection so implementation-open fires automatically at invocation — zero extra tool calls on single-target projects, exactly one on multi-target. Feasibility verified against https://code.claude.com/docs/en/skills#inject-dynamic-context and the repo by a sonnet probe.
Verified constraints that shape the design:
!command`` line in the skill body (not frontmatter); stdout replaces the placeholder before Claude sees the skill. Non-zero exit ABORTS the whole skill invocation, so needs-info/ambiguous states must print guidance and exit 0.argument-hintfrontmatter is autocomplete only, no validation. Ticket parsing (123/#123/ nil) must be tested Ruby, not shell regex.os-sdlc-runner implementation-open SESSION_ID TICKET MAP_PATH [--target NAME]; multi-target raises TargetSelectionError listing available targets (lib/os_sdlc/project_targets.rb, open_implementation.rb). cc-os itself is multi-target.injection-context) that never mutates the Db; the skill body branches only on its printed output.Tasks
injection-contextsubcommand to os_sdlc runner CLI: parse ticket arg, load project tolerantly, single-target+ticket → run implementation-open and render opened-state; multi-target and/or missing ticket → render target list + exact implementation-open command and/or ticket request, exit 0 in all guidance states!...`` line, rewrite Setup steps 1–3 to branch on injected outputAcceptance criteria
Out of scope: optional ticket-body parameter for non-issue work (file separately if wanted), changes to implementation-open's signature, gate/routing logic.
Origin