#534 E: BriefFacts asks, never queries #541
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#541
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
Pseudo-Ruby:
Acceptance criteria
Blocking edges
Blocked by: #535 and #540
Origin
Work started via /os-sdlc:implement on branch ticket-541 (session d233a2f7-977a-419d-99ea-011b6e1e66f8).
Resolution
Done: BriefFacts asks, never queries: fact(name) returns the four direct facts (ticket_brief, gate_results, lint_offense_history, test_changes), resolves any AgentType::ALL name to that agent's latest handoff content, keeps the HANDOFF_FACT_AGENT_TYPES aliases alive for the map, and raises UnknownFact otherwise. The tracker fetch_body fallback is deleted: ticket_brief is the stored body or nil. test_changes diffs against the implementation-bound target's test path. The FACTS constant and the composer heading tasks were judged naming-only by the behavior-verifier: FACT_RESOLVERS already lists the four facts and brief_composer.rb already keys each enriched section by its enrich name.
Evidence: Pipeline /os-sdlc:implement 541, implementation 4, session d233a2f7-977a-419d-99ea-011b6e1e66f8, dispatches 87-109, ended implementation_complete. Commits
1a7189c,40e5775and history row6ed104fon branch ticket-541, merged to main 2026-09-09. Suite 1113 runs green. New tests: brief_facts_multi_target_test.rb, brief_facts_handoff_from_agent_type_test.rb. Deviations: (1) one pre-existing test asserting the tracker fallback was deleted by hand because programmer-repair may not edit tests (#544 shape); (2) three test-reviewer rounds on the first increment, two for a harness call and a constant assertion; (3) the orchestrator committed each verified increment on the branch so reviewers saw test-only diffs.Follow-ups: #542 next (handoff facts by convention, deletes HANDOFF_FACT_AGENT_TYPES); the now-unused tracker: keyword on BriefFacts#initialize is left for #542 to remove with the aliases