Project::Config owns the implementations.project_config blob; empty config is a state, not a crash (amends ADR-0169) #566
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#566
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?
Map: #568
Blocked by #565
Context
Responsibility audit of
project.rbon 2026-09-13. Batch position 3 of 4. Theimplementations.project_configcolumn has two decoders with different vocabularies and defaults.Observed
Project#to_jsondefines the blob.Runner::Implementationreads it throughProject.from_jsonand again with a hand-writtenJSON.parseon a string key. The second reader tolerates the column default"{}". The first raisesArgumentError: missing keyword: :name, reached throughBriefFacts#projectandGateCommands#project.Reproduce
Expected
Illustration
Callers that delegate:
OpenImplementation#project_config_kwargs,Implementation#project,Implementation#commit_on_complete?,BriefFacts#project,GateCommands#project.Tasks
OsSdlc::Project::Configatlib/os_sdlc/project/config.rbBriefFacts.new(implementation)stays the whole constructor (ADR-0169)/os-adr:createwhen the ticket landsAcceptance criteria
Origin
/os-sdlc:responsibility-audit plugins/os-sdlc/lib/os_sdlc/project.rbon 2026-09-13; analysis at.sdlc/tmp/responsibility-audit/2026-09-13-project/analysis.yamlOsSdlc::Project← DESIGN (plugins/os-sdlc/lib/os_sdlc/project.rb, ADR-0055/0074/0088/0169/0174)OsSdlc::Project,plugins/os-sdlc/lib/os_sdlc/project.rbWork started via /os-sdlc:implement on branch ticket-566 (worktree). Map: #568.
Resolution
Done: OsSdlc::Project::Config at lib/os_sdlc/project/config.rb is the one decoder and encoder of implementations.project_config. nil and "{}" are one empty state; Config#project returns nil when empty. Project.from_json, Project#to_json, Implementation#project, and Implementation#commit_on_complete? delegate to it. BriefFacts.new(implementation) unchanged.
Evidence: Pipeline implementation 3 complete: 20 dispatches, 4 retries (behavior-verifier loop for the second increment, one test-reviewer reject, one post-refactor suite failure repaired). Suite 1210 runs 0 failures after the Config move. ADR-0176 amends ADR-0169. Branch ticket-566, merged via worktree finish. Test: tests/runner/implementation_empty_project_config_test.rb.
Follow-ups: none. Deviation: the pipeline nested Config inside project.rb; moved by hand to project/config.rb after implementation_complete (one class per file), suite and lint green.