CR-DD-016: Document capability-probe operator workflow discoverability - #155
Merged
coreytshaffer merged 2 commits intoAug 11, 2026
Merged
Conversation
✅ Deploy Preview for poetic-quokka-0fd859 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
The prior draft required updating tc probe --help (which lives in triage_core/tc_cli.py argparse strings) while also barring any file under triage_core/ from changing. Narrow the invariant to what it actually protects: no executable-behavior change, not a path-wide ban. - Sharpen Status/Implementation authority wording to separate this proposal (no source code changes) from the bounded future edit it describes (tc_cli.py argparse help text only). - Replace the unsatisfiable acceptance criterion with a scoped one naming tc_cli.py as the sole permitted triage_core/ file, limited to argparse help/description text. - Strengthen the behavior-invariance criterion and add a regression test obligation for tc probe --help discoverability (currently uncovered in tests/test_tc_cli.py). - Add a Provisional Implementation Allowlist section naming the four permitted paths and explicitly excluding the probe/routing/config modules a future implementer might otherwise be tempted to touch. Docs-only correction to a requirements contract; grants no implementation authority.
This was referenced Aug 11, 2026
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Authority boundary
Proposed documentation/help-text CR only. No runtime, routing, capability-resolution, freshness-policy, schema, test, or default-output-path changes are authorized by this PR.
This PR establishes the governed change request. It does not itself edit
daily_driver_quickstart.mdortc probe --help— that implementation remains separately gated behind its own approval, perStatus: Proposed/Implementation Authority: Not authorizedin the document itself.Scope
Exactly one new documentation file. 236 additions, zero deletions, zero other changed files.
docs/change/requests/CR-DD-016-capability-probe-operator-workflow-discoverability.mdtriage_core/,docs/daily_driver_quickstart.md, any schema, test, or config default. No relationship to docs: nominate governed knowledge substrate research venue #152, CR-AR-001: Risk-Tiered Deferred Human Review #153, or Document multi-worktree evidence-ledger census limitation #154 — this branch was cut frommainate842ed5(after all three merged), independent history.Background
A read-only investigation this session traced TriageCore's capability-observation lifecycle end to end — configuration (
triagecore.toml's[capability]section), probe-record creation (tc probe), persistence, freshness/expiry (300s default), and consumption bytc run(capability_evidence.resolve_from_config→resolve_capability→ routing). It used a real, naturally-occurring blocked evidence-window trial as motivating evidence, not as something manufactured for the purpose.Finding: the block (
capability_state: "configured", not"observed") is CR-DD-013's own designed, tested, intentional fail-closed behavior — not a defect. What's missing is the operator-facing half of CR-DD-013's own stated mitigation ("the configured-capability path and explicit release notes"): the primary onboarding document,daily_driver_quickstart.md, contains zero mention oftc probe, the[capability]section, or the two-step procedure required to move a declared capability fromconfiguredtoobserved.Determination: an operator-workflow gap, with missing discoverability and documentation as the immediate defect — not an architectural gap (CR-DD-013 argued the fail-closed design explicitly and tested against exactly this), and not merely a documentation afterthought either, since the current path's brittleness (an undocumented manual two-step procedure, no CLI cross-reference, an undocumented short freshness window) makes discoverability part of the control surface.
What CR-DD-016 proposes
Two things, once separately authorized:
tc probe→[capability].local_probe_record_pathprocedure todaily_driver_quickstart.md, including the 300-second freshness consequence, in language an operator hitting this block could act on without reading source.tc probe --helptext to name[capability].local_probe_record_pathexplicitly as the required follow-up step for persisted--outputto take effect.Invariants this CR preserves (non-negotiable, stated explicitly in the document)
Configurednever impliesObservedAvailable.tc runnever silently probes.local_onlycontinues to fail closed when required local capability is not observed.Deliberately out of scope
--outputpath fortc probe. A predictable repo-relative default (e.g..triagecore/local-backend-probe.json) reopens the exact class of problem already recorded inevidence-ledger-worktree-limitation-2026-08-07.md(PR Document multi-worktree evidence-ledger census limitation #154): which checkout owns the file across worktrees, whether a probe in one worktree could be read as authorizing routing in another, atomic replacement, concurrent probes, stale evidence at a predictable path. Deferred to a later, separately-scoped design question — not casually introduced here just because it looks convenient.freshness_secondsor its semantics. The 300-second window is documented as-is. Whether the intended operational unit is probe-per-run, probe-per-session, or a bounded-refresh-window is recorded as an open design question, not answered — resolving it would reopen CR-DD-013 policy, which this CR does not do.capability_evidence.py,resolve_from_config,resolve_capability, orchoose_resilience_route.Sequencing — A/B/C, explicitly non-inheriting
This is Track A of three. Tracks B (classifier terminal-fallback investigation) and C (
privacy_levelnormalization/propagation investigation) are separate, independent, read-only investigations recorded in this document's "Related, Explicitly Out of Scope" section. Neither B nor C inherits any authority from A, and they are not to be combined with each other or with this CR even if both eventually warrant their own changes. For B specifically, the document preserves this exact boundary so the later investigation doesn't start from a contaminated premise:Numbering note
CR-DD-014is historical fact (merged, explicit local route/model binding — unrelated to this CR).CR-DD-015remains available, reserved for an anticipated separate comparative-lane track. This CR takesCR-DD-016, giving it an unambiguous provenance trail with no collision.Verification
git diff --cached --statgit diff --cached --checkgit status --shortAentry, no residueTests not run: no executable, schema, or test surface changed. No effect on the daily-use evidence window's protocol, eligibility rules, or duration requirement.
🤖 Generated with Claude Code