os-sdlc: a script outside a project points the agent at project setup #838
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
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
rule-proposal
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#838
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?
Problem
An os-sdlc script can run in a directory with no
.sdlc/project.yaml. When its arguments are valid, it passes the Boot input check, finds no project, and crashes with a Sequel error. The agent then sees a crash and does not know what to do. The message must tell the agent how to fix the problem: run project setup.Observed
In a directory with no project:
Exit code 3.
os-sdlc-gate 1andos-sdlc-subagent-stopgive the same error.Reproduce
Approach
When ProjectBind finds no root, Boot does not yield to the controller. It prints one message that directs the agent to
/os-sdlc:setup-projectand exits 3. Hooks keep their exit-0 skip.Required work: none beyond the acceptance criteria.
Acceptance criteria
.sdlc/project.yaml, when any script command inBoot::Commands::TABLEruns with valid arguments, then it prints one message that names/os-sdlc:setup-projectand exits 3..sdlc/directory is created.Owner sketch
Origin
72fc9ff8)