Skip to content

fix: shorten parked and watch jobs in session-start records - #49

Merged
peterOC26 merged 7 commits into
mainfrom
fm/fm-startup-record-held-compact-b1
Nov 9, 2026
Merged

peterOC26 merged 7 commits into
mainfrom
fm/fm-startup-record-held-compact-b1

Conversation

@peterOC26

@peterOC26 peterOC26 commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Intent

Captain (Q1934 A, 2026-11-08, "Q1934 a") asked for a firstmate job that prints parked and watch jobs in the session-start record as a count plus one short line each, after the upstream firstmate update lands, so the main chat compacts less often. Measured 2026-11-08: the start-up record was 180 KB; the held list alone was 87 KB (216 rows, each hold reason in full).

What Changed

  • Shorten unblocked queued parked/watch jobs to one brief row each, with exact counts and full-detail pointers, across tasks-axi and manual fallback listings.
  • Preserve full listing metadata for in-flight jobs, blocked jobs, and other holds.
  • Update configuration guidance and add regression coverage for 216 held jobs, fallback paths, quoted fields, and UTF-8 truncation.

Risk Assessment

✅ Low: The change only alters how the startup digest renders backlog rows. I checked it against real tasks-axi 0.2.6 output: parked holds and captain holds whose reason starts with Watch or Wait are cut to one short line, their exact counts are printed, and every other hold, every in-flight row and every blocked row stays whole. Quoted and multi-blocker cells, encoded reasons and multibyte titles are handled correctly. The stored backlog is never modified.

Testing

The focused startup suite and isolated live CLI scenarios passed. Saved transcripts demonstrate compaction and preservation; the UTF-8 failure reproduced before the fix and passed afterward. Disposable labs and temporary executables were removed, leaving the worktree clean.

  • Live validation: ✅ go - 5 of 5 scenarios driven live against the product
Scenario Result Live Evidence
Rebuild a startup record containing 216 parked/watch jobs: all identities remain, long reasons disappear, and exactly 108 parked plus 108 watch jobs are counted. ✅ pass live Real tasks-axi startup record; Manual-mode startup record
Include blocked, in-flight, ordinary captain and other holds, plus metadata-like reason prose: every protected row stays whole without inflating shortened counts. ✅ pass live Both startup records retain full protected reasons, including overlapping held/blocked rows, with only one shortened-count summary.
Set the queued limit to one: all 216 shortened holds remain visible while four omitted ready jobs are disclosed. ✅ pass live Both startup records; Live measurements and preservation checks
Render manual titles crossing six UTF-8 truncation boundaries: output remains valid and bounded; the pre-fix executable reproduces invalid UTF-8. ✅ pass live UTF-8 boundary startup output; UTF-8 regression reproduction
Retrieve a shortened watch job with show --full: its complete reason and body remain available, and both renderers leave backlog bytes unchanged. ✅ pass live Full watch-job details after compaction; Live measurements and preservation checks
Evidence: Real tasks-axi startup record

Source: Real tasks-axi startup record

RE-EMIT CUE: if this output ends with "Output too large ... Full output saved to <path>",
read that whole file now, before acting. Otherwise read data/captain.md, data/captain-shared.md,
and data/learnings.md under ~/.no-mistakes/worktrees/7f0ec18181b6/01M707X8CATVY2RTZPY1YDP8QC/.fm-lab-startup-56u8bon1/data now if any of them is missing below.

================================================================================
SESSION START (CONTEXT RE-EMIT) - ~/.no-mistakes/worktrees/7f0ec18181b6/01M707X8CATVY2RTZPY1YDP8QC/.fm-lab-startup-56u8bon1
================================================================================
This session already took the helm at its own startup and has only lost its
context. Lock ownership is re-verified and the durable records below are
reprinted, but the sweeps startup already reconciled - project clone refresh,
secondmate convergence and liveness, pending remote handoff
retry, X-mode artifact writes, and stale Herdr child cleanup - are NOT repeated.
Queued wakes ARE still drained: they arrived after startup and are this turn work.

LOCK
--------------------------------------------------------------------------------
lock acquired: harness pid 978871

HOME ROLE
--------------------------------------------------------------------------------
fm-role: user (default)

BOOTSTRAP
--------------------------------------------------------------------------------
BOOTSTRAP_INFO: lavish-axi >=0.1.80 enables confirmed board replies; this older compatible version retains the legacy reply path, but upgrade to prevent handing back a board before its reply is accepted

WAKE QUEUE
--------------------------------------------------------------------------------
(no queued wakes)
================================================================================
SUPERVISION OPERATING INSTRUCTIONS - primary harness: unknown
================================================================================
Current state:
- Lock: held by this session; this session owns normal supervision unless away mode says otherwise.
- Away/quiet mode: inactive.
- X mode: inactive; use the default watcher cadence.
- Ordinary wake: follow the continuation in the harness protocol below; do not use shell &.

Mode: Unknown harness fallback.

This primary harness does not have a verified watcher wake adapter.
Follow the generic supervision contract in `AGENTS.md`.
First cycle: drain queued wakes, then choose a supervision wait that the harness can actually wake from.
Ordinary wake: drain, handle all emitted wakes, reconcile open decisions and unread status lines, and run the exact `--ack-through` command printed as `WAKE_ACK_REQUIRED`, then repeat that verified wait while supervision is still required.
Before that acknowledgement, interruption leaves the work durable for idempotent re-handling.
Use `bin/fm-watch-arm.sh` only when the harness has a tracked background mechanism that survives the tool call and notifies the model on process exit.
Use a bounded foreground wait over `bin/fm-watch.sh` when that wake mechanism is not verified.
Never use shell `&` for watcher supervision.
Failure or missing cycle only: inspect the failure and restore the same verified wait shape.

Record new verification evidence before promoting an unknown harness to a named snippet.


================================================================================
READ-ONCE CONTRACT
================================================================================
Everything below is printed in full for this session start: every state/*.meta,
a compact data/backlog.md listing, a bounded tail of every state/*.status,
data/projects.md, data/secondmates.md, data/captain.md, data/captain-shared.md,
and data/learnings.md.
Do NOT re-read any of them after reading this digest, and do NOT bulk-read
data/backlog.md or state/*.status: re-reading everything defeats the entire
point of this command.

Go to a source directly only when:
  - this digest flagged it ABSENT (then rebuild or create it per AGENTS.md),
  - its contents looked unparseable or corrupt,
  - an individual full status log is needed for older wake-event history, or a
    status line was capped and its tail matters (each task's full log path is
    printed with its tail),
  - a full task body is needed (bin/fm-tasks-axi.sh show <id> --full, or data/backlog.md),
  - the backlog listing disclosed omitted queued items and this turn needs them,
  - the NETWORK CHECKS section reported its checks still IN PROGRESS and this
    turn needs their verdict (bin/fm-startup-network.sh report),
  - or a STARTUP TRUNCATED banner named the stage that would have printed it, in
    which case that stage's sources were never emitted and must be reconciled,
  - or a context re-emit opened with a read cue because the
    harness cut the digest short.

================================================================================
FLEET STATE
================================================================================

data/backlog.md
--------------------------------------------------------------------------------
compact backlog listing (tasks-axi; done rows omitted; in-flight, blocked and other captain holds kept whole; parked/watch holds shortened; ready queued bounded to 1; task bodies omitted)

in flight:
count: 2
tasks[2]{id,state,kind,repo,title,blocked_by,hold_kind,hold_reason}:
  live-watch,in_flight,ship,"-",live-watch protected title,none,captain,"Wait LIVE-WATCH-DETAILS-KEPT"
  live-parked,in_flight,ship,"-",live-parked protected title,none,parked,"LIVE-PARKED-DETAILS-KEPT (even parked)\nsecond live line"

held (captain- or time-gated; an in-flight item that is also held appears in both groups):
count: 227
tasks[227]{id,state,kind,repo,title,blocked_by,hold_kind,hold_reason}:
  live-watch,in_flight,ship,"-",live-watch protected title,none,captain,"Wait LIVE-WATCH-DETAILS-KEPT"
  live-parked,in_flight,ship,"-",live-parked protected title,none,parked,"LIVE-PARKED-DETAILS-KEPT (even parked)\nsecond live line"
  quiet-1,queued,ship,"-","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...",none,parked,"see task details"
  quiet-2,queued,ship,"-","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...",none,parked,"see task details"
  quiet-3,queued,ship,"-","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...",none,parked,"see task details"
  quiet-4,queued,ship,"-","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...",none,parked,"see task details"
  quiet-5,queued,ship,"-","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...",none,parked,"see task details"
  quiet-6,queued,ship,"-","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...",none,parked,"see task details"
  quiet-7,queued,ship,"-","Quiet, \"quoted\" job 7",none,parked,"see task details"
  quiet-8,queued,ship,"-","Quiet, \"quoted\" job 8",none,parked,"see task details"
  quiet-9,queued,ship,"-","Quiet, \"quoted\" job 9",none,parked,"see task details"
  quiet-10,queued,ship,"-","Quiet, \"quoted\" job 10",none,parked,"see task details"
  quiet-11,queued,ship,"-","Quiet, \"quoted\" job 11",none,parked,"see task details"
  quiet-12,queued,ship,"-","Quiet, \"quoted\" job 12",none,parked,"see task details"
  quiet-13,queued,ship,"-","Quiet, \"quoted\" job 13",none,parked,"see task details"
  quiet-14,queued,ship,"-","Quiet, \"quoted\" job 14",none,parked,"see task details"
  quiet-15,queued,ship,"-","Quiet, \"quoted\" job 15",none,parked,"see task details"
  quiet-16,queued,ship,"-","Quiet, \"quoted\" job 16",none,parked,"see task details"
  quiet-17,queued,ship,"-","Quiet, \"quoted\" job 17",none,parked,"see task details"
  quiet-18,queued,ship,"-","Quiet, \"quoted\" job 18",none,parked,"see task details"
  quiet-19,queued,ship,"-","Quiet, \"quoted\" job 19",none,parked,"see task details"
  quiet-20,queued,ship,"-","Quiet, \"quoted\" job 20",none,parked,"see task details"
  quiet-21,queued,ship,"-","Quiet, \"quoted\" job 21",none,parked,"see task details"
  quiet-22,queued,ship,"-","

... [12694 bytes truncated] ...

165",none,captain,"see task details"
  quiet-166,queued,ship,"-","Quiet, \"quoted\" job 166",none,captain,"see task details"
  quiet-167,queued,ship,"-","Quiet, \"quoted\" job 167",none,captain,"see task details"
  quiet-168,queued,ship,"-","Quiet, \"quoted\" job 168",none,captain,"see task details"
  quiet-169,queued,ship,"-","Quiet, \"quoted\" job 169",none,captain,"see task details"
  quiet-170,queued,ship,"-","Quiet, \"quoted\" job 170",none,captain,"see task details"
  quiet-171,queued,ship,"-","Quiet, \"quoted\" job 171",none,captain,"see task details"
  quiet-172,queued,ship,"-","Quiet, \"quoted\" job 172",none,captain,"see task details"
  quiet-173,queued,ship,"-","Quiet, \"quoted\" job 173",none,captain,"see task details"
  quiet-174,queued,ship,"-","Quiet, \"quoted\" job 174",none,captain,"see task details"
  quiet-175,queued,ship,"-","Quiet, \"quoted\" job 175",none,captain,"see task details"
  quiet-176,queued,ship,"-","Quiet, \"quoted\" job 176",none,captain,"see task details"
  quiet-177,queued,ship,"-","Quiet, \"quoted\" job 177",none,captain,"see task details"
  quiet-178,queued,ship,"-","Quiet, \"quoted\" job 178",none,captain,"see task details"
  quiet-179,queued,ship,"-","Quiet, \"quoted\" job 179",none,captain,"see task details"
  quiet-180,queued,ship,"-","Quiet, \"quoted\" job 180",none,captain,"see task details"
  quiet-181,queued,ship,"-","Quiet, \"quoted\" job 181",none,captain,"see task details"
  quiet-182,queued,ship,"-","Quiet, \"quoted\" job 182",none,captain,"see task details"
  quiet-183,queued,ship,"-","Quiet, \"quoted\" job 183",none,captain,"see task details"
  quiet-184,queued,ship,"-","Quiet, \"quoted\" job 184",none,captain,"see task details"
  quiet-185,queued,ship,"-","Quiet, \"quoted\" job 185",none,captain,"see task details"
  quiet-186,queued,ship,"-","Quiet, \"quoted\" job 186",none,captain,"see task details"
  quiet-187,queued,ship,"-","Quiet, \"quoted\" job 187",none,captain,"see task details"
  quiet-188,queued,ship,"-","Quiet, \"quoted\" job 188",none,captain,"see task details"
  quiet-189,queued,ship,"-","Quiet, \"quoted\" job 189",none,captain,"see task details"
  quiet-190,queued,ship,"-","Quiet, \"quoted\" job 190",none,captain,"see task details"
  quiet-191,queued,ship,"-","Quiet, \"quoted\" job 191",none,captain,"see task details"
  quiet-192,queued,ship,"-","Quiet, \"quoted\" job 192",none,captain,"see task details"
  quiet-193,queued,ship,"-","Quiet, \"quoted\" job 193",none,captain,"see task details"
  quiet-194,queued,ship,"-","Quiet, \"quoted\" job 194",none,captain,"see task details"
  quiet-195,queued,ship,"-","Quiet, \"quoted\" job 195",none,captain,"see task details"
  quiet-196,queued,ship,"-","Quiet, \"quoted\" job 196",none,captain,"see task details"
  quiet-197,queued,ship,"-","Quiet, \"quoted\" job 197",none,captain,"see task details"
  quiet-198,queued,ship,"-","Quiet, \"quoted\" job 198",none,captain,"see task details"
  quiet-199,queued,ship,"-","Quiet, \"quoted\" job 199",none,captain,"see task details"
  quiet-200,queued,ship,"-","Quiet, \"quoted\" job 200",none,captain,"see task details"
  quiet-201,queued,ship,"-","Quiet, \"quoted\" job 201",none,captain,"see task details"
  quiet-202,queued,ship,"-","Quiet, \"quoted\" job 202",none,captain,"see task details"
  quiet-203,queued,ship,"-","Quiet, \"quoted\" job 203",none,captain,"see task details"
  quiet-204,queued,ship,"-","Quiet, \"quoted\" job 204",none,captain,"see task details"
  quiet-205,queued,ship,"-","Quiet, \"quoted\" job 205",none,captain,"see task details"
  quiet-206,queued,ship,"-","Quiet, \"quoted\" job 206",none,captain,"see task details"
  quiet-207,queued,ship,"-","Quiet, \"quoted\" job 207",none,captain,"see task details"
  quiet-208,queued,ship,"-","Quiet, \"quoted\" job 208",none,captain,"see task details"
  quiet-209,queued,ship,"-","Quiet, \"quoted\" job 209",none,captain,"see task details"
  quiet-210,queued,ship,"-","Quiet, \"quoted\" job 210",none,captain,"see task details"
  quiet-211,queued,ship,"-","Quiet, \"quoted\" job 211",none,captain,"see task details"
  quiet-212,queued,ship,"-","Quiet, \"quoted\" job 212",none,captain,"see task details"
  quiet-213,queued,ship,"-","Quiet, \"quoted\" job 213",none,captain,"see task details"
  quiet-214,queued,ship,"-","Quiet, \"quoted\" job 214",none,captain,"see task details"
  quiet-215,queued,ship,"-","Quiet, \"quoted\" job 215",none,captain,"see task details"
  quiet-216,queued,ship,"-","Quiet, \"quoted\" job 216",none,captain,"see task details"
  captain-call,queued,ship,"-",captain-call protected title,none,captain,"Captain call DETAILS-KEPT"
  captain-needs,queued,ship,"-",captain-needs protected title,none,captain,"Needs the captain DETAILS-KEPT"
  captain-question,queued,ship,"-",captain-question protected title,none,captain,"Which option? DETAILS-KEPT (hold-kind: parked)\nsecond question line"
  captain-prose,queued,ship,"-",captain-prose protected title,none,captain,"Needs a decision about (hold: Watch) DETAILS-KEPT"
  blocked-parked,queued,ship,"-",blocked-parked protected title,dependency,parked,"BLOCKED-PARKED-DETAILS-KEPT"
  blocked-watch,queued,ship,"-",blocked-watch protected title,dependency,captain,"Watch BLOCKED-WATCH-DETAILS-KEPT"
  external,queued,ship,"-",external protected title,none,external,"Watch EXTERNAL-DETAILS-KEPT"
  future,queued,ship,"-",future protected title,none,future,"Wait FUTURE-DETAILS-KEPT"
  lowercase,queued,ship,"-",lowercase protected title,none,captain,"watch LOWERCASE-DETAILS-KEPT"
(108 parked, 108 watch queued hold(s) shortened; full details: bin/fm-tasks-axi.sh show <id> --full)

blocked queued:
count: 2
tasks[2]{id,state,kind,repo,title,blocked_by,hold_kind,hold_reason}:
  blocked-parked,queued,ship,"-",blocked-parked protected title,dependency,parked,"BLOCKED-PARKED-DETAILS-KEPT"
  blocked-watch,queued,ship,"-",blocked-watch protected title,dependency,captain,"Watch BLOCKED-WATCH-DETAILS-KEPT"

ready queued (dispatchable now):
count: 5
ready[5]{id,state,kind,repo,title}:
  dependency,queued,ship,"-",Required dependency
ready_public_followups: 0 delivery-ready obligations
(shown 1 of 5 ready queued item(s))
(4 more queued - bin/fm-tasks-axi.sh ready)
Full task bodies remain available on demand: bin/fm-tasks-axi.sh show <id> --full when compatible tasks-axi is available, or data/backlog.md.

Work under way (state/*.meta)
--------------------------------------------------------------------------------
(none)

Orphan status logs (state/*.status without matching .meta)
--------------------------------------------------------------------------------
(none)

AFK
--------------------------------------------------------------------------------
absent

================================================================================
NETWORK CHECKS
================================================================================
completed off the startup path in 1s: GitHub authentication.
(silent - no problems found)

================================================================================
CONTEXT
================================================================================

data/projects.md
--------------------------------------------------------------------------------
ABSENT

data/secondmates.md
--------------------------------------------------------------------------------
ABSENT

data/captain.md
--------------------------------------------------------------------------------
ABSENT

data/captain-shared.md (shared, main-authoritative, read-only in secondmate homes)
--------------------------------------------------------------------------------
ABSENT

data/learnings.md
--------------------------------------------------------------------------------
ABSENT

================================================================================
NEXT STEP
================================================================================
Follow the supervision operating instructions block above for harness 'unknown'.
This script never starts supervision itself.

The digest above is complete for this session start. The READ-ONCE CONTRACT
section near the top of it governs what may still be read from disk.
Evidence: Full watch-job details after compaction

Source: Full watch-job details after compaction

task:
  id: quiet-109
  title: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaééééé
  state: queued
  blocked: no
  blocked_by: none
  held: yes
  hold_reason: "Watch QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED QUIET-REASON-OMITTED "
  hold_kind: captain
  hold_until: "-"
  kind: ship
  repo: "-"
  priority: "-"
  created: 2026-11-09
  closed: "-"
  deps: none
  links: none
  body: BODY-PRIVATE-quiet-109
Evidence: UTF-8 boundary startup output

Source: UTF-8 boundary startup output

RE-EMIT CUE: if this output ends with "Output too large ... Full output saved to <path>",
read that whole file now, before acting. Otherwise read data/captain.md, data/captain-shared.md,
and data/learnings.md under ~/.no-mistakes/worktrees/7f0ec18181b6/01M707X8CATVY2RTZPY1YDP8QC/.fm-lab-utf8-vhxt0nx5/data now if any of them is missing below.

================================================================================
SESSION START (CONTEXT RE-EMIT) - ~/.no-mistakes/worktrees/7f0ec18181b6/01M707X8CATVY2RTZPY1YDP8QC/.fm-lab-utf8-vhxt0nx5
================================================================================
This session already took the helm at its own startup and has only lost its
context. Lock ownership is re-verified and the durable records below are
reprinted, but the sweeps startup already reconciled - project clone refresh,
secondmate convergence and liveness, pending remote handoff
retry, X-mode artifact writes, and stale Herdr child cleanup - are NOT repeated.
Queued wakes ARE still drained: they arrived after startup and are this turn work.

LOCK
--------------------------------------------------------------------------------
lock acquired: harness pid 978871

HOME ROLE
--------------------------------------------------------------------------------
fm-role: user (default)

BOOTSTRAP
--------------------------------------------------------------------------------
BOOTSTRAP_INFO: lavish-axi >=0.1.80 enables confirmed board replies; this older compatible version retains the legacy reply path, but upgrade to prevent handing back a board before its reply is accepted

WAKE QUEUE
--------------------------------------------------------------------------------
(no queued wakes)
================================================================================
SUPERVISION OPERATING INSTRUCTIONS - primary harness: unknown
================================================================================
Current state:
- Lock: held by this session; this session owns normal supervision unless away mode says otherwise.
- Away/quiet mode: inactive.
- X mode: inactive; use the default watcher cadence.
- Ordinary wake: follow the continuation in the harness protocol below; do not use shell &.

Mode: Unknown harness fallback.

This primary harness does not have a verified watcher wake adapter.
Follow the generic supervision contract in `AGENTS.md`.
First cycle: drain queued wakes, then choose a supervision wait that the harness can actually wake from.
Ordinary wake: drain, handle all emitted wakes, reconcile open decisions and unread status lines, and run the exact `--ack-through` command printed as `WAKE_ACK_REQUIRED`, then repeat that verified wait while supervision is still required.
Before that acknowledgement, interruption leaves the work durable for idempotent re-handling.
Use `bin/fm-watch-arm.sh` only when the harness has a tracked background mechanism that survives the tool call and notifies the model on process exit.
Use a bounded foreground wait over `bin/fm-watch.sh` when that wake mechanism is not verified.
Never use shell `&` for watcher supervision.
Failure or missing cycle only: inspect the failure and restore the same verified wait shape.

Record new verification evidence before promoting an unknown harness to a named snippet.


================================================================================
READ-ONCE CONTRACT
================================================================================
Everything below is printed in full for this session start: every state/*.meta,
a compact data/backlog.md listing, a bounded tail of every state/*.status,
data/projects.md, data/secondmates.md, data/captain.md, data/captain-shared.md,
and data/learnings.md.
Do NOT re-read any of them after reading this digest, and do NOT bulk-read
data/backlog.md or state/*.status: re-reading everything defeats the entire
point of this command.

Go to a source directly only when:
  - this digest flagged it ABSENT (then rebuild or create it per AGENTS.md),
  - its contents looked unparseable or corrupt,
  - an individual full status log is needed for older wake-event history, or a
    status line was capped and its tail matters (each task's full log path is
    printed with its tail),
  - a full task body is needed (bin/fm-tasks-axi.sh show <id> --full, or data/backlog.md),
  - the backlog listing disclosed omitted queued items and this turn needs them,
  - the NETWORK CHECKS section reported its checks still IN PROGRESS and this
    turn needs their verdict (bin/fm-startup-network.sh report),
  - or a STARTUP TRUNCATED banner named the stage that would have printed it, in
    which case that stage's sources were never emitted and must be reconciled,
  - or a context re-emit opened with a read cue because the
    harness cut the digest short.

================================================================================
FLEET STATE
================================================================================

data/backlog.md
--------------------------------------------------------------------------------
compact backlog listing (manual backend; done rows omitted; in-flight, blocked and other captain holds kept whole; parked/watch holds shortened; other queued bounded to 20; indented task bodies omitted)
## Queued
- [ ] quiet-1 - aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... (hold-kind: parked; reason omitted)
- [ ] quiet-2 - aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... (hold-kind: parked; reason omitted)
- [ ] quiet-3 - aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... (hold-kind: parked; reason omitted)
- [ ] quiet-4 - aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... (hold-kind: parked; reason omitted)
- [ ] quiet-5 - aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... (hold-kind: parked; reason omitted)
- [ ] quiet-6 - aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... (hold-kind: parked; reason omitted)
(6 parked, 0 watch queued hold(s) shortened; full details: bin/fm-tasks-axi.sh show <id> --full, or data/backlog.md)
(shown 0 in-flight, 6 held or blocked queued, 0 of 0 other queued title line(s); 0 done row(s) omitted)
Full task bodies remain available on demand: bin/fm-tasks-axi.sh show <id> --full when compatible tasks-axi is available, or data/backlog.md.

Work under way (state/*.meta)
--------------------------------------------------------------------------------
(none)

Orphan status logs (state/*.status without matching .meta)
--------------------------------------------------------------------------------
(none)

AFK
--------------------------------------------------------------------------------
absent

================================================================================
NETWORK CHECKS
================================================================================
completed off the startup path in 1s: GitHub authentication.
(silent - no problems found)

================================================================================
CONTEXT
================================================================================

data/projects.md
--------------------------------------------------------------------------------
ABSENT

data/secondmates.md
--------------------------------------------------------------------------------
ABSENT

data/captain.md
--------------------------------------------------------------------------------
ABSENT

data/captain-shared.md (shared, main-authoritative, read-only in secondmate homes)
--------------------------------------------------------------------------------
ABSENT

data/learnings.md
--------------------------------------------------------------------------------
ABSENT

================================================================================
NEXT STEP
================================================================================
Follow the supervision operating instructions block above for harness 'unknown'.
This script never starts supervision itself.

The digest above is complete for this session start. The READ-ONCE CONTRACT
section near the top of it governs what may still be read from disk.
Evidence: UTF-8 regression reproduction

Source: UTF-8 regression reproduction

{
  "baseline_commit": "747c89c1",
  "before_fix": {
    "offset": 6090,
    "error": "'utf-8' codec can't decode byte 0xc3 in position 6090: invalid continuation byte",
    "nearby_hex": "6161616161616161c32e2e2e2028686f"
  },
  "after_fix": "valid UTF-8; all six byte boundaries bounded; exact count; backlog unchanged"
}
Evidence: Live measurements and preservation checks

Source: Live measurements and preservation checks

{
  "seeded_rows": 233,
  "shortenable_parked": 108,
  "shortenable_watch": 108,
  "backlog_bytes": 518446,
  "modes": {
    "tasks-axi": {
      "digest_bytes": 29078,
      "duration_seconds": 5.88,
      "valid_utf8": true,
      "shortened_rows": 216,
      "shortened_summary_lines": 1,
      "protected_rows_preserved": true,
      "backlog_unchanged": true,
      "all_216_identities_survive_queued_limit_1": true,
      "held_listing_after_bytes": 20771
    },
    "manual": {
      "digest_bytes": 33630,
      "duration_seconds": 4.97,
      "valid_utf8": true,
      "shortened_rows": 216,
      "shortened_summary_lines": 1,
      "protected_rows_preserved": true,
      "backlog_unchanged": true,
      "all_216_identities_survive_queued_limit_1": true
    }
  },
  "full_details_recoverable": true,
  "seed_provenance": "Created through installed tasks-axi via bin/fm-tasks-axi.sh; restored from its captured markdown after correcting an unsupported probe --fields argument.",
  "held_listing_before_bytes": 381736
}

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

✅ **Review** - passed

✅ No issues found.

✅ **Test** - passed

✅ No issues found.

  • Live validation: ✅ go - 5 of 5 scenarios driven live against the product
Scenario Result Live Evidence
Rebuild a startup record containing 216 parked/watch jobs: all identities remain, long reasons disappear, and exactly 108 parked plus 108 watch jobs are counted. ✅ pass live Real tasks-axi startup record; Manual-mode startup record
Include blocked, in-flight, ordinary captain and other holds, plus metadata-like reason prose: every protected row stays whole without inflating shortened counts. ✅ pass live Both startup records retain full protected reasons, including overlapping held/blocked rows, with only one shortened-count summary.
Set the queued limit to one: all 216 shortened holds remain visible while four omitted ready jobs are disclosed. ✅ pass live Both startup records; Live measurements and preservation checks
Render manual titles crossing six UTF-8 truncation boundaries: output remains valid and bounded; the pre-fix executable reproduces invalid UTF-8. ✅ pass live UTF-8 boundary startup output; UTF-8 regression reproduction
Retrieve a shortened watch job with show --full: its complete reason and body remain available, and both renderers leave backlog bytes unchanged. ✅ pass live Full watch-job details after compaction; Live measurements and preservation checks
  • bash -c '. tests/lib.sh; FM_TEST_BASE_PATH=$(fm_test_base_path_sans /usr/bin:/bin:/usr/sbin:/sbin tasks-axi quota-axi); export FM_TEST_BASE_PATH; bash tests/fm-session-start.test.sh'
  • Seeded a disposable lab through installed tasks-axi using bin/fm-tasks-axi.sh; ran bin/fm-session-start.sh --reemit in tasks-axi and manual modes.
  • REUSE_SEEDED_BACKLOG=1 python3 ~/.no-mistakes/evidence/01M707X8CATVY2RTZPY1YDP8QC/drive-startup.py
  • python3 ~/.no-mistakes/evidence/01M707X8CATVY2RTZPY1YDP8QC/drive-utf8-regression.py
  • Checked emitted counts, identities, protected reasons, queued remainder, strict UTF-8 decoding, full-detail retrieval and byte-for-byte backlog preservation.
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

@peterOC26 peterOC26 closed this Nov 9, 2026
@peterOC26 peterOC26 reopened this Nov 9, 2026
@peterOC26 peterOC26 changed the title fix: shorten parked and watch jobs in session-start records fix: compact parked and watch jobs in session-start digest Nov 9, 2026
@peterOC26
peterOC26 force-pushed the fm/fm-startup-record-held-compact-b1 branch from 6f23989 to 360041d Compare November 9, 2026 13:38
@peterOC26 peterOC26 changed the title fix: compact parked and watch jobs in session-start digest fix: shorten parked and watch jobs in session-start records Nov 9, 2026
@peterOC26
peterOC26 merged commit 8697998 into main Nov 9, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant