#534 A: Project: target keyword required; JSON round-trip #537
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#537
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
Child of #534 (ADR-0169). Parent design points and comments on #534. Lands after #535.
Tasks
Acceptance criteria
Blocking edges
Blocked by: #535
Origin
Work started via /os-sdlc:implement on branch ticket-537 (session d233a2f7-977a-419d-99ea-011b6e1e66f8).
Resolution
Done: Project.load requires the target: keyword; a bare call raises ArgumentError; flat projects pass target: nil. Project#to_json emits relative paths only, never root or map. Project.from_json(root, json) rebuilds with root from the caller, never from JSON (ADR-0055). Lib callers outside implementation-open (autocorrect_prepass, brief_facts, tea_tracker) pass target: nil for now; #539 removes them.
Evidence: Pipeline /os-sdlc:implement 537, implementation 4, session d233a2f7-977a-419d-99ea-011b6e1e66f8, dispatches 77-98, ended implementation_complete. Commits
1f8bb6c(feat) and1e7b6f4(history row) on branch ticket-537, merged to main on 2026-09-09. Suite 1092 runs green; new tests in plugins/os-sdlc/tests/project_json_round_trip_test.rb. Deviations: (1) test-side conflict, 36 bare Project.load test call sites updated by hand to pass target: nil because programmer-repair may not edit tests (#544 shape); (2) #534 hot-patch applied to main's brief_facts.rb for the run so the SubagentStart hook could write dispatch rows, restored before finish; (3) one suite-check red was a getcwd race flake that passed on rerun.Follow-ups: none new; #538 (next child), #539 (remove target: nil lib callers), #544 (test-side conflict routing) already track the rest