Decide target resolution for the session-less os-sdlc CLI (red-assert/green-assert TargetFlag) #476
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#476
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
ADR-0139 moved the runner's implementation flow to a target persisted at implementation-open (implementations.target, SCHEMA_VERSION 13) and deleted the ENV[OS_SDLC_TARGET] fallback there. The session-less os-sdlc CLI (gate_runner.rb:69, gate_result_logger.rb:46, TargetFlag) still resolves via explicit flag + env, because pipeline agents invoke it directly with no session_id, so no implementation row is resolvable at the call site. Two divergent target-resolution mechanisms now coexist.
Skeptic verdict: CREATE — genuine design fork left open by ADR-0139 (thread identity into the CLI vs. keep the flag+env path), with recorded provenance.
Tasks
Origin
DESIGN(docs/adr/0139-runner-target-binds-at-implementation-open-and-persists-on-the-implementation-row.md)2026-08-23 investigation: the session-less CLI's flag+env resolution has no live callers — the runner path resolves target from implementations.target, and RedAssert/GreenAssert are reachable only from the legacy red-assert/green-assert subcommands. Gate redesign captured as #490 (reply feedback), #491 (diff-test/lint/suite vocabulary), #492 (per-gate expect + red classifier, carries the ADR-0139 amendment), #493 (reviewer handoff gather). This ticket's decision lands with #492; legacy CLI retirement is a follow-on cleanup after #492.