os-sdlc: persist the commit an implementation started from so diffs survive an enabled commit step #556
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#556
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
The
implementationstable (lib/os_sdlc/runner/db.rb:249-262) has no column for the commit HEAD pointed at when the implementation opened.All runner diffs (the gate diff-test,
test_changes, and the newcode_changesfrom the companion ticket) use working tree vs HEAD.That base is complete only while the ADR-0171 commit step stays off.
If the commit step is enabled, committed increments vanish from every diff, and the verifier judges a partial change.
The user rejected the name
base_refas unclear.Candidate names are
start_commitandopened_at_commit— the SHA of HEAD when the implementation row was created.A schema migration is required; the schema is currently at version 22.
Tasks
start_commit); stamp it at implementation open.Implementation#code_changesandImplementation#test_changesdiff fromstart_commitwhen present, HEAD otherwise.Acceptance criteria
Origin
implementations← DESIGN gap, ADR-0171 shipped opt-in/off without this follow-up