chore(core): mark the agent-store status formatter DELIBERATE-LITERAL (census 101→99) (#3063)

Fleet phase. `packages/core/src/agent-store.ts` was the **last** census
file with no branch, worktree, or open PR against it. Claim published by
pushing the branch before starting.

## Census before / after

| | total | this file |
|---|---|---|
| before | **101** | 2 |
| after | **99** | 0 |

`--strict` exits 0, baseline re-recorded. **Reclassification, not
conversion** — the line is unchanged.

## Already decided, in prose the census cannot read

The site was flagged earlier today by another pass, as `FLAGGED AND LEFT
COUNTED`: a pure formatter over `Pick<Task, "column">` with no store and
no task id, whose output is a human-readable status line. On a renamed
board it falls through to `(<column>)` — still accurate, just less
specific. Converting it would mean threading a lane resolution into a
string builder.

That reasoning is right and I did not revisit it. The only gap was
mechanical: a prose note is invisible to the tool, so the site kept
reading as backlog.

## This completes the sweep of unclaimed files

Third and last of these. Together with #3056 (fallback arms) and #3060
(dead sync path), **every census file that was unclaimed this phase has
now been examined, and not one of them needed a conversion.** Each was
either a three-state fallback arm — where the legacy id is the answer
when resolution fails, and removing it would break the caller — or a
site a previous pass had already reviewed and deliberately kept.

That is the finding worth carrying forward. The remaining **99** is not
a work queue: a meaningful share is correct code the tool cannot
distinguish from owed work, and every fleet pass pays to re-derive it.
Since all workers rank by the same `byFile` output, we also converge on
the same top file — which is how `self-healing.ts` drew three parallel
conversions, two of which are now unmergeable.

Two cheap changes would fix both symptoms:
1. **Mark reviewed-and-kept sites** so the count means *conversions
owed*. Two lines each.
2. **Push the branch at claim time** so `git ls-remote` is authoritative
before work starts. Costs nothing; I did it for all three of these.

## Verification

- `census --strict` exit 0; `tsc --noEmit` **0 errors**
- `check:fnxc-future-dates`, `check:lane-wiring` — exit 0
- Comment-only diff; no behaviour change

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-07-31 03:16:16 -07:00
committed by GitHub
parent 581e6fba43
commit 141f54e51d
2 changed files with 5 additions and 1 deletions

View File

@@ -226,6 +226,9 @@ export function formatCurrentTaskLine(taskId: string, linkedTask: Pick<Task, "co
}
/*
FNXC:WorkflowResolvedColumns 2026-07-31-08:10 (fleet phase — FLAGGED AND LEFT COUNTED):
DELIBERATE-LITERAL — marked so it is no longer merely flagged. The note below already decided this
stays; it said so in prose, which the census cannot read, so the site kept reading as backlog and
every later pass re-derived the same answer. The marker moves it to `deliberateByFile`.
A pure formatter over `Pick<Task, "column">` — no store, no task id, and its output PRINTS the column
name for a human reader. Same class as `github-tracking-comments.ts:165` and
`in-process-runtime`'s duration helpers: threading a resolution into a string builder to pick a word is

View File

@@ -4,7 +4,6 @@
"packages/engine/src/self-healing.ts": 38,
"packages/engine/src/notification/notification-service.ts": 5,
"packages/engine/src/executor.ts": 4,
"packages/core/src/agent-store.ts": 2,
"packages/core/src/task-store/moves.ts": 2,
"packages/core/src/task-store/project-store-ops.ts": 2,
"packages/core/src/task-store/reads.ts": 2,
@@ -65,6 +64,8 @@
"packages/cli/src/commands/task.ts\u0000done": 1,
"packages/cli/src/extension.ts\u0000archived": 1,
"packages/cli/src/extension.ts\u0000done": 1,
"packages/core/src/agent-store.ts\u0000archived": 1,
"packages/core/src/agent-store.ts\u0000done": 1,
"packages/core/src/async-mission-store-queries.ts\u0000archived": 1,
"packages/core/src/async-mission-store-queries.ts\u0000done": 1,
"packages/core/src/live-agent-count.ts\u0000archived": 1,