Move pipeline-tests batch to concept roots and fold Assert under Gate per roles-pipeline-tests.md #787
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
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
rule-proposal
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#787
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?
Problem
Pipeline-tests files sit in role directories with no concept root or with single-caller top-level objects.
The role table in roles-pipeline-tests.md names the moves to consolidate pipeline-tests concepts under proper roles and fold Assert under Gate.
Reproduce
n/a: structure-only refactor from a role-morph table.
Approach
Apply the move map in roles-pipeline-tests.md with git mv; rename constants; update every caller in lib/, bin/, hooks/, agents/, skills/; move tests to mirror the new paths; update lib/os_sdlc.rb inflections and lint/inward_dependencies.rb tables as needed. Rulings adopted: BaseAssert, GreenAssert, GateResult nest under Gate (Gate::BaseAssert, Gate::GreenAssert, Gate::AssertResult); OpenImplementation becomes Implementation::Open; Readiness and Target go to LspSession (ticket C owns them; skip here if C landed); CommandResult under Gate; DispatchBudget, NodeName, Router under Implementation; DispatchPacker under Worklist; RetiredTestsCheckResult and WorkOrder under Dispatch; GateViolations and TestViolations under Gate; RedTests under Brief; Router::UnroutableVerdict and NextStep::UnexplainedStateError stay rescued at the Dispatch boundary. Decide by the lens heuristics (skills/lens-architecture, lens-tactics, lens-principles); where an Accepted ADR conflicts with a lens rule, follow the lens and record the deviation in docs/crc/os-sdlc/deviations.md.
Required work:
Acceptance criteria
Owner sketch
Non-goals
No behavior change. No new tests. Dead-code deletion is ticket A.
Origin
Commits:
172aeeebAssert->Gate,92a3473aOpenImplementation->Implementation::Open,80c19552CommandResult->Gate::CommandResult,10d63d6fDispatchBudget->Implementation::DispatchBudget,2a6a752fDispatchPacker->Worklist::DispatchPacker,14da3e66NodeName->Implementation::NodeName,03a3f359RetiredTestsCheckResult->Dispatch::RetiredTestsCheckResult,fc5f0ea0WorkOrder->Dispatch::WorkOrder,5d262554GateViolations/TestViolations->Gate::Violations/Gate::TestViolations + StepResult dependency inversion,efb10efeRedTests->Brief::RedTests,1ff7d748Router->Implementation::Router.Rows applied: 12 of 12 (row 1 was the 3-item Assert cluster; rows 9-10 landed together).
Rows deviated: 1 — logged in docs/crc/os-sdlc/deviations.md: GateViolations move required inverting StepResult's lint-step dependency (A11) instead of a straight move, resolving the pre-existing baseline violation (62 -> 61 inward-lint lines). No rows skipped.
Resolution
Done: pipeline-tests batch: Assert folded under Gate (Gate::BaseAssert/GreenAssert/AssertResult), Gate::CommandResult/Violations/TestViolations, Implementation::Open/Router/NodeName/DispatchBudget, Dispatch::WorkOrder/RetiredTestsCheckResult, Worklist::DispatchPacker, Brief::RedTests; StepResult now receives lint steps from Brief::Facts (A11); 12 of 12 rows.
Evidence: Commits 172aeeeb..1ff7d748 on crc-pass-os-sdlc; suite 1300 runs 0 failures; inward lint 61 lines exit 0; ADR-0237.
Follow-ups: #788 renames the Violations ledger (skeptic VERDICT: CREATE); cross-concept errors stay a boundary contract per the user's ruling, none.