Trace the handoff complete journey in plugins/os and build its site #1394
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#1394
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
The system-model tracer (#1327, ADR-0300) has no journey view on a site yet.
Jared wants to see a first journey from an entry point he uses often, with few objects, so the view is easy to read.
The first journey also proves that the tracer works outside os-me.
The tracer on main is project-agnostic.
A dry run on
plugins/ospassed with no tracer change.Observed
A dry run used a 3-line
use_caseshim inplugins/os/tests/test_helper.rb.It wrapped the first
scenario.run('complete', path)inplugins/os/tests/handoff/complete_test.rbwithuse_case('handoff complete') { ... }.The suite passed: 4 runs, 0 failures.
bin/system-model build plugins/osexited 0 with 25 elements and 34 relations.It wrote
design/generated/journeys/handoff_complete.c4with three messages:Open risk: in the generated
lib_handoff.c4, relation sources are bare (Handoff__CLI -> lib_handoff.Handoff__Document) outside the module block.buildexited 0, butlikec4 validatewas not run separately.Calls into core Ruby (
File.binwrite) are not traced.This is known and documented.
Reproduce
n/a: this is a feature ticket. The dry run above is the evidence.
Approach
The shim, from the ADR-0300 owner sketch:
Required work:
def use_case(_name) = yieldinplugins/os/tests/test_helper.rbuse_case('handoff complete')inplugins/os/tests/handoff/complete_test.rbdynamic view handoff_completeinplugins/os/design/generated/journeys/handoff_complete.c4Orchestrator work: run
plugins/os-sdlc/bin/system-model build plugins/os, thenlikec4 validate. Show Jared the view withsystem-model serve plugins/os.Acceptance criteria
plugins/os-sdlc/bin/system-model build plugins/os, when it finishes, thenplugins/os/design/generated/journeys/handoff_complete.c4holds the three messages above andlikec4 validateaccepts the model.system-model serve plugins/os, when Jared opens the handoff_complete view, then he sees the three numbered messages.Owner sketch
Non-goals
os-me journeys stay in #1392.
Tracing calls into core Ruby is out of scope.
Origin
plugins/osin this session.Work started on branch ticket-1394 (worktree .claude/worktrees/ticket-1394) via /os-sdlc:implement, target os.
Required work 2 check now uses single quotes to match Style/StringLiterals; the original double-quoted text conflicted with the repo's rubocop config.
Resolution
Done: Added the use_case shim to plugins/os/tests/test_helper.rb, wrapped the handoff complete path in complete_test.rb, generated and committed the plugins/os design model with the handoff_complete journey (3 messages), ignored built sites. Hand-finished after implementation 168 failed at behavior-verifier (test-only diff; occurrence on #1111).
Evidence: Commits
7fd1bba3,2bd4ac74,5bc91fbfon ticket-1394. Suite: 47 runs, 174 assertions, 0 failures. Rubocop: no offenses. likec4 validate: Valid (6 files). Design audit (opus): no findings.Follow-ups: #1395 (os-backlog comment journey) is next. #1111 carries the verifier defect occurrence. No new follow-ups.
jared referenced this issue2026-10-26 15:08:34 +00:00