Skip to content

Commit 5aa1b01

Browse files
Address review of the conflicted-idea fix
Name the waiting-for-triage exception in labels' header, add the conflicted-idea line to the Activity log definitions (manual regenerated), point the domain-to-code index at the shared disqualifiers, and describe IdeasWaiting as waiting for triage.
1 parent 039ad7b commit 5aa1b01

6 files changed

Lines changed: 12 additions & 10 deletions

File tree

‎GLOSSARY.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ _Avoid_: cron log, output log, run log (a **Ticket run** is one kind of command)
331331
The retained Command logs and Session traces available to list on a machine, each naming an exact file under the User config's log folder. A Command's referenced Session traces may include files outside that inventory.
332332

333333
**Activity log**:
334-
One running record per repository of what the factory did there: a line when a **Ticket run**, **Spec run**, **Architect run**, **Pickup run**, **Security run**, **Triage run**, **Release run** or **Custom process** starts work, naming its **Command log**, a line when it is given a **Stop** or a **Dismissal**, or a Dismissal is taken back, naming who asked and whether from the CLI or the **Console**, and a line when it ends, with its outcome. A Custom process's lines name it as Process `<name>`. A skipped Architect run, Pickup run, Security run, Triage Pass or Release Pass writes a line only when its reason differs from the last one recorded for its kind, so a repository that sits idle shows one line, not one per pass. A skipped Custom process started with no issue writes `Process <name> skipped: <reason>` when that is not already the last Process line. During a **Quota wait**, each named Custom process compares its own last reason instead, so alternating processes do not repeat an unchanged quota skip. A warning about the **User config**, such as a setting it ignores, is written once per change. It is what thirdshift writes about a scheduled pass, in place of output to the scheduler.
334+
One running record per repository of what the factory did there: a line when a **Ticket run**, **Spec run**, **Architect run**, **Pickup run**, **Security run**, **Triage run**, **Release run** or **Custom process** starts work, naming its **Command log**, a line when it is given a **Stop** or a **Dismissal**, or a Dismissal is taken back, naming who asked and whether from the CLI or the **Console**, and a line when it ends, with its outcome. A Custom process's lines name it as Process `<name>`. A skipped Architect run, Pickup run, Security run, Triage Pass or Release Pass writes a line only when its reason differs from the last one recorded for its kind, so a repository that sits idle shows one line, not one per pass. A skipped Custom process started with no issue writes `Process <name> skipped: <reason>` when that is not already the last Process line. During a **Quota wait**, each named Custom process compares its own last reason instead, so alternating processes do not repeat an unchanged quota skip. An **Architect run** that sees a conflicted **Architect idea**, labelled `needs-triage` and a triage outcome, writes it once per change per idea, whether or not the run is then skipped. A warning about the **User config**, such as a setting it ignores, is written once per change. It is what thirdshift writes about a scheduled pass, in place of output to the scheduler.
335335
_Avoid_: cron log, pass log, history
336336

337337
**Command record**:

‎docs/code-navigation.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Start with the issue's terms in `GLOSSARY.md`, then use this index to find their
77
| Command scratch, session TMPDIR, legacy Factory skills cleanup | `src/scratch.rs` — Command ownership, child inheritance, isolated sandbox temporary directories, retention, cleanup and legacy layout guard; `src/logs/scratch.rs` — durable ending and continuation identity; `src/logs/dismiss.rs` — Dismissal cleanup | `tests/scratch.rs` |
88
| Orphaned origin reservation, manual reservation recovery | `src/reservation/recovery.rs` — conservative owner parsing, Linux/macOS process clocks, `recover`; `src/reservation/inbox.rs` — blocking observations and read-only refresh; `src/launch.rs`, `src/processes/review.rs`, `src/release.rs` — Pass startup; `src/logs/status.rs` — shared reservation rows; `src/logs/dismiss.rs` — exact-observation Dismissal | `tests/reservations.rs`, `tests/fix_base_ci.rs`, `tests/release/native.rs`, `console/tests/reservations.test.cjs` |
99
| Verdict, Bar, paired Scores | `src/verdict.rs` — `judge`; `src/verdict/prediction.rs` — posterior-predictive assurance | `src/verdict/tests.rs` (parent #977's standalone Verdict seam) |
10-
| Claim, `agent-failed` | `src/claim.rs` — `Claim`, `make`, `end`, `Ending`, `AGENT_FAILED`; `src/run.rs` — `claim_ending`; `src/failed_run.rs` — `FailedRun::held`, `waiting`, `comment`; a waiting Spec run, `src/spec_run/ticket_board.rs` — `TicketBoard::only_waiting`, and `src/spec_run.rs` — `TicketsNotDone` | Inline tests; `tests/pickup_run.rs`, `tests/failed_run.rs`, `tests/out_of_disk.rs` |
10+
| Claim, `agent-failed` | `src/claim.rs` — `Claim`, `make`, `end`, `Ending`, `AGENT_FAILED`, `TRIAGE_DISQUALIFIERS` and the `Labels` waiting-for-triage queries (`waiting_for_triage`, `triage_disqualifiers`) shared by the Architect run and the Triage Pass; `src/run.rs` — `claim_ending`; `src/failed_run.rs` — `FailedRun::held`, `waiting`, `comment`; a waiting Spec run, `src/spec_run/ticket_board.rs` — `TicketBoard::only_waiting`, and `src/spec_run.rs` — `TicketsNotDone` | Inline tests; `tests/pickup_run.rs`, `tests/failed_run.rs`, `tests/out_of_disk.rs` |
1111
| Ready issue, Failure limit, Sweep | `src/ready.rs` — `ReadyIssue`, `first`, `refresh`; `src/github.rs` — `open_candidate_issues`, `LabelledCandidates`; `src/logs.rs` — `listing_disagreement`; `src/pickup.rs` — `gates`, `sweep`, `clear_and_count_failures`; `src/reservation.rs` — the origin reservation of a Pickup run, an Architect plan or a Security fix; `src/config.rs` — `pickup.failure_limit` and the ignored `pickup.limit` | Inline tests; `tests/pickup_run.rs`, `tests/activity_log.rs` |
1212
| Command limit, Pass skip at its start | `src/command_limit.rs` — `hold_pass` (count and take a slot under the short lock, the lock of a `PassKind` for `Sharing::OneOfAKind`, the pre-Command-limit lock) and `hold_slot` (a Command on an Issue URL); `src/launch.rs` — `start`, which a Pickup run, Architect run and Security run call; `src/reservation.rs` — `Reservation::of_published`, an Architect plan or Security fix reserved before it is marked ready; `src/run.rs` and `src/processes.rs` take a slot for a hand-started Command | `tests/pickup_run.rs`, `tests/architect_run.rs`, `tests/process.rs`, `tests/user_config.rs` |
1313
| Ticket run, Continuation, Issue branch | `src/run.rs`; `src/branch.rs` | `tests/fresh_run.rs`, `tests/continuation.rs`, `tests/numbered_branches.rs` |
@@ -25,7 +25,7 @@ Start with the issue's terms in `GLOSSARY.md`, then use this index to find their
2525
| Run notification | `src/notification.rs` — `RunNotification`; `src/email.rs` | `tests/run_notification.rs`, `tests/email_test.rs` |
2626
| Report, Triage run | `src/triage.rs` — `Report`, `check_comment_targets` (the GitHub checks both modes make), `publish` (filing, cross-links, closing `wontfix`, comments) and session; `src/triage/recommendation.rs` — `Recommendation::interpret` for the initial and corrected session output: category fallback and repository spelling, factory labels, state fallback, confirmation blocks, questionnaires, existing-issue rules, readiness permission and combined diagnostics; each proposed issue's `Filing` and each comment's target, `publishing`, recorded results, stdout JSON and the notification; `src/triage/correction.rs` — the one correction turn; `src/args.rs` — `TriageArgs`; `src/config.rs` — `triage.allow_ready_for_agent`, `triage.read_machine`, `triage_reads_machine`; `src/sandbox/triage.rs` — the `--read-machine` bwrap launch (read-only host, writable worktree, private Harness home, startup probe) and its host-socket seccomp filter; `src/sandbox.rs` — `Launch::pass_seccomp`; `skills/thirdshift-triage/`, `skills/thirdshift-to-questionnaire/`; `src/worktree.rs` — `ReviewWorktree::for_triage` | `tests/triage_run.rs`, `tests/triage_correction.rs`, `tests/issue_1711_retained_home.rs`; `src/triage/recommendation/tests.rs` (interpretation through `Recommendation::interpret`); `src/sandbox/triage.rs` inline tests (the launch and seccomp filter) |
2727
| Existing-issue Triage run | `src/triage/existing.rs` — trust gate, reservation and Claim lifetime, in-place publication; `src/triage/recommendation.rs` — the single-issue recommendation rules; `src/triage/images.rs` — trusted image extraction, bounded host downloads and local issue manifest; `src/prompt.rs` — `triage_issue`; `src/args.rs` — `TriageArgs` | `tests/triage_issue.rs`; `src/triage/recommendation/tests.rs` (existing-target rules); `src/triage/images.rs` inline tests |
28-
| Unattended Triage Pass | `src/triage.rs` — `Input::read` resolves terminal/empty stdin before startup; `src/triage/pass.rs` — Command-limit admission, Sweep and Failure limit, ordered candidate selection (`src/github.rs` — `open_candidate_issues`), reservation and recheck; `src/pickup.rs` — shared `failures` accounting; `src/logs.rs` — `Pass::Triage`, `listing_disagreement` | `tests/triage_pass.rs` |
28+
| Unattended Triage Pass | `src/triage.rs` — `Input::read` resolves terminal/empty stdin before startup; `src/triage/pass.rs` — Command-limit admission, Sweep and Failure limit, ordered candidate selection (`src/github.rs` — `open_candidate_issues`), `ineligible` over the shared `TRIAGE_DISQUALIFIERS`, reservation and recheck; `src/pickup.rs` — shared `failures` accounting; `src/logs.rs` — `Pass::Triage`, `listing_disagreement` | `tests/triage_pass.rs` |
2929
| Triage Report Base branch, private finding notifications | `src/launch.rs` — `selected_base`; `src/triage/existing.rs` — private finding metadata; `src/triage/recommendation.rs` — `Recommendation::notification` and `one_line` field sanitization; `src/triage.rs` — chooses the private finding notice over the recommendation notification, and failure context; `src/run_ending.rs`, `src/notification.rs` — keep private failure details local | `tests/triage_spec_regressions.rs` |
3030
| Harness, Model, Effort | `src/harness.rs` and `src/harness/` | `tests/harness_choice.rs`, `tests/harness.rs` |
3131
| Built-with line | `src/harness/built_with.rs` — retained attribution reader, formatter and marker; `src/pull_request.rs` — PR body annotation | `tests/scoring.rs`, inline Harness and pull-request tests |
@@ -99,7 +99,7 @@ Start with the issue's terms in `GLOSSARY.md`, then use this index to find their
9999
| Scoring run, weekly sample, human Scores, calibration | `src/scoring.rs` — machine lock, sampling, retained-handle grading and blind Scores views; `src/scoring/store.rs` — shared typed ordered checkpoint reads for full samples, confirmed origins and weekly Scores (`src/scoring/store/scores.rs`, with calibration and blind Scores withheld), exact retained-file identity, private packet staging, no-clobber sample publication, packet resolution and atomic updates shared by all three writers; `src/scoring/calibration.rs` — human entry and rolling criterion agreement; `src/github/scoring.rs` — merged PR search; `src/config/scoring.rs` — Grader and sampling defaults | `src/scoring/store/tests.rs`, `src/scoring/store/confirmed/tests.rs`, `tests/scoring.rs`, `tests/scoring/grading.rs`, `tests/scoring/calibration.rs`, `tests/console/scoring.rs` |
100100
| Bug-origin proposal | `src/scoring/origins.rs` — bounded history session and proposed attribution; `src/github/scoring/origins.rs` — closed bugs and commit-to-PR associations; `src/logs/reading.rs` — retained Run lookup; `src/session/private.rs` — shared sandboxed analysis with native quota observation | `tests/bug_origins.rs` |
101101
| Bug-origin settlement, confirmed Run count | `src/scoring/origins/settlement.rs` — CLI decisions saved through retained handles before superseded Eval proposals are withdrawn; `src/scoring/store/confirmed.rs` — narrow confirmed-origin projection and normalized Bug-origin supersession over shared ordered storage, exposed by `scoring::read_confirmed_origins`; `src/logs/metrics/bug_origins.rs` — confirmed PR attribution and counts against the captured metrics Snapshot; `src/github/scoring/origins/review.rs` — historical PR head and issue evidence; `src/evals/bug_origin.rs` — private proposed Eval tasks; `src/logs/reading/selection.rs` — Run details | `src/scoring/store/confirmed/tests.rs`, `tests/metrics.rs`, `tests/bug_origins/settlement.rs`, `tests/bug_origins/regressions.py`, `tests/console/metrics.rs` |
102-
| Architecture review, Architect run | `src/architect.rs` — shared conclusion and Architect skip gates; `src/architect/conclusion.rs` — conclusion adapters; `src/processes/architect.rs` — validated compiled Architect sequence through the Pass adapters; `src/processes/architecture.rs` — catalogue Step session and early successful end | `tests/architect_run.rs`, `tests/process/architecture_review.rs`, `src/processes/architect/tests.rs` |
102+
| Architecture review, Architect run | `src/architect.rs` — shared conclusion and Architect skip gates (`gates`, over `Labels::waiting_for_triage` for waiting and conflicted ideas); `src/architect/conclusion.rs` — conclusion adapters; `src/processes/architect.rs` — validated compiled Architect sequence through the Pass adapters; `src/processes/architecture.rs` — catalogue Step session and early successful end | `tests/architect_run.rs`, `tests/process/architecture_review.rs`, `src/processes/architect/tests.rs` |
103103
| Process, Built-in process, Custom process, Issue branch, implement, delivery, self-merge, run-published-issue | `src/processes.rs` — `execute`, Step loop, `run_published`; `src/processes/source.rs` — Ticket source and publication seam, factory acquisition, `run_implement`, `run_delivery`, local Ticket prefix; `src/processes/ticket.rs` — validated compiled Ticket sequence; `src/implement.rs` — shared implementation prompt, bug diagnosis and completion; `src/processes/catalog.rs` — compiled and Custom process files, list, show and reserved names; `src/delivery.rs` — `ticket_run`, `publish`, `protected_hold` | `tests/process.rs`, `tests/process/implement.rs`, `tests/process/ticket_run.rs`, `tests/trial/process.rs`, `src/processes/source.rs` (local publishing refusal), `src/processes/catalog.rs` (catalog tests), `tests/packaging.rs` |
104104
| Security audit, Security review, Security run | `src/security.rs` — Pass gates; `src/processes/security.rs` — Built-in Security sequence; `src/security/` — sessions and privacy; shared private recording and reproduction: `src/security/findings.rs`; Security audit catalogue Steps: `src/processes/security_audit.rs`; shared Security review Step: `src/security/review/step.rs`; Custom process placement and execution: `src/processes.rs`; which Ticket runs run a Security review, and what every child Ticket run is handed: `src/child_run/asks.rs` — `ChildAsks` | Inline tests; `tests/security_review.rs`, `tests/process/security_audit.rs`, `tests/process/security_review.rs`, `tests/security_run.rs` |
105105

‎docs/guide.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3453,7 +3453,7 @@ Command logs and Session traces insert `~<token>` immediately after the stamp. T
34533453

34543454
The code review writes `summary.json` beside its reports with counts of actionable findings by Standards and Spec, including findings later fixed. Declined or accepted observations that require no change are excluded; a review with no actionable findings records zero. At Ticket run or Review run completion, the review's originating Session stage keeps these in its Run metrics as `review_findings`, with `standards` and `spec` counts. Missing or invalid summaries are `null`, and an unavailable axis is `null` rather than zero. A Resume updates that same review's summary; another review keeps its own counts. `show --json` reads these retained counts without parsing report prose. A release changing this Factory skill needs an Experiment once #977 exists. A standards report, a spec report or that summary is kept beside the Session trace only when the review reports directory is a real directory and the report is a regular file inside it. A symlink, whether the directory or a report, is refused in a progress line and the session's outcome stays as it is. A missing report is skipped.
34553455

3456-
The **Activity log**, `activity.log`, is a short running record of what the factory did on the repository ([ADR-0011](adr/0011-thirdshift-keeps-a-per-repository-activity-log.md)). A Ticket run, a Spec run or a Pass writes a line when it starts work, naming its Command log, and one when it ends, with its outcome; a Ticket run you type by hand writes them too, and the run a Pass dispatched, a Spec run's Tickets and a Base fix write none of their own. A skipped Pass writes a line only when its reason differs from the last line of its own kind, so a repository that sits idle shows one line, not one per pass, and the first skip after a pass that did work always shows: that is when the repository went idle. A warning about the [User config](#user-config), such as an ignored `pickup.limit`, is written as `User config warning: <warning>` by the first Command on the repository to see it, and again only when it differs from the last such line, though every Command prints it on stderr. Every line starts with the local date and time:
3456+
The **Activity log**, `activity.log`, is a short running record of what the factory did on the repository ([ADR-0011](adr/0011-thirdshift-keeps-a-per-repository-activity-log.md)). A Ticket run, a Spec run or a Pass writes a line when it starts work, naming its Command log, and one when it ends, with its outcome; a Ticket run you type by hand writes them too, and the run a Pass dispatched, a Spec run's Tickets and a Base fix write none of their own. A skipped Pass writes a line only when its reason differs from the last line of its own kind, so a repository that sits idle shows one line, not one per pass, and the first skip after a pass that did work always shows: that is when the repository went idle. A warning about the [User config](#user-config), such as an ignored `pickup.limit`, is written as `User config warning: <warning>` by the first Command on the repository to see it, and again only when it differs from the last such line, though every Command prints it on stderr. An Architect run that sees a conflicted Architect idea, labelled `needs-triage` and a triage outcome, writes `Architect idea #<n> "<title>" is labelled needs-triage and <label>, so it is not waiting for triage: <Issue URL>` once per change per idea, as [An Architect idea waits for triage](#an-architect-idea-waits-for-triage) describes. Every line starts with the local date and time:
34573457

34583458
```
34593459
2026-10-03 02:00:01 Pickup run skipped: no Ready issue on acme/widgets

0 commit comments

Comments
 (0)