Vendor the scheduler-silence canary into idss — FACTORY_REF bump to dev-factory 8ea613a (closes #269) #891

Closed
opened 2026-08-27 06:25:19 +00:00 by matou-build-agent · 1 comment

Machinery change needed (protected path — .sandcastle/)

Found while working: #269 (scheduler-silence canary). Per Ben's ruling on
#269, the canary's canonical home is dev-factory (ADR 0180 / #571), beside the
schedule-backstop.sh it mirrors, and #269 closes when the FACTORY_REF bump
vendors the canary into idss.
That bump is a .sandcastle/ protected-path
change (#445 / GOTCHAS 4), so a Sandcastle agent cannot make it — routing here
as ready-for-session per ADR 0174 / Rule 9.

Symptom

idss's vendored factory core is pinned at
.sandcastle/FACTORY_REF = e61aa000f77b7fa552ef32a03152045e587262a5, which
predates the canary. scheduler-canary.sh does not exist at that ref, so
idss has no detection for the two live scheduler-silence incidents on record
(2026-07-28 creation-drop; 2026-08-26 #878 claim-stall; GOTCHAS #95).

Fix (re-vendor / pin bump)

The execution ticket dev-factory #105 is CLOSED — commit
8ea613a83809f15a59f191021a2a3061be16e4b4 (current dev-factory main HEAD) adds
scheduler-canary.sh, tests/scheduler-canary-test.sh, the
backstop-tick.sh/host-state-lib.sh per-repo wiring, and GOTCHAS 34.

Re-vendor idss from dev-factory (onboard.sh vendor, the sanctioned path — do
not hand-edit .sandcastle/):

  1. Bump .sandcastle/FACTORY_REF: e61aa00… → 8ea613a….
  2. Add the canary to idss's vendored set (updating .sandcastle/FACTORY_MANIFEST):
    at minimum scheduler-canary.sh and tests/scheduler-canary-test.sh — so the
    host crontab's per-repo backstop-tick drives idss's own vendored copy
    (dev-factory #105 AC3: "one canary per repo driving each repo's own vendored
    copy"). Re-vendor any other files #105 touched that idss already vendors
    (e.g. schedule-backstop.sh if it changed).
  3. Confirm bash .sandcastle/check-harness-drift.sh is byte-clean against the
    new pin, and bash .sandcastle/tests/scheduler-canary-test.sh (cases (a)–(e))
    is green.

On landing

The vendor lands the canary in idss → close #269 (its stated closing
condition). #269 is parked agent-blocked pending this.

Refs: idss #269, dev-factory #105 (commit 8ea613a), ADR 0180, #445, GOTCHAS #95.

## Machinery change needed (protected path — `.sandcastle/`) **Found while working:** #269 (scheduler-silence canary). Per Ben's ruling on #269, the canary's canonical home is dev-factory (ADR 0180 / #571), beside the `schedule-backstop.sh` it mirrors, and **#269 closes when the FACTORY_REF bump vendors the canary into idss.** That bump is a `.sandcastle/` protected-path change (#445 / GOTCHAS 4), so a Sandcastle agent cannot make it — routing here as `ready-for-session` per ADR 0174 / Rule 9. ### Symptom idss's vendored factory core is pinned at `.sandcastle/FACTORY_REF = e61aa000f77b7fa552ef32a03152045e587262a5`, which predates the canary. `scheduler-canary.sh` does **not** exist at that ref, so idss has no detection for the two live scheduler-silence incidents on record (2026-07-28 creation-drop; 2026-08-26 #878 claim-stall; GOTCHAS #95). ### Fix (re-vendor / pin bump) The execution ticket **dev-factory #105 is CLOSED** — commit `8ea613a83809f15a59f191021a2a3061be16e4b4` (current dev-factory `main` HEAD) adds `scheduler-canary.sh`, `tests/scheduler-canary-test.sh`, the `backstop-tick.sh`/`host-state-lib.sh` per-repo wiring, and GOTCHAS 34. Re-vendor idss from dev-factory (`onboard.sh vendor`, the sanctioned path — do **not** hand-edit `.sandcastle/`): 1. Bump `.sandcastle/FACTORY_REF`: `e61aa00…` → `8ea613a…`. 2. Add the canary to idss's vendored set (updating `.sandcastle/FACTORY_MANIFEST`): at minimum `scheduler-canary.sh` and `tests/scheduler-canary-test.sh` — so the host crontab's per-repo `backstop-tick` drives idss's **own** vendored copy (dev-factory #105 AC3: "one canary per repo driving each repo's own vendored copy"). Re-vendor any other files #105 touched that idss already vendors (e.g. `schedule-backstop.sh` if it changed). 3. Confirm `bash .sandcastle/check-harness-drift.sh` is byte-clean against the new pin, and `bash .sandcastle/tests/scheduler-canary-test.sh` (cases (a)–(e)) is green. ### On landing The vendor lands the canary in idss → **close #269** (its stated closing condition). #269 is parked `agent-blocked` pending this. Refs: idss #269, dev-factory #105 (commit `8ea613a`), ADR 0180, #445, GOTCHAS #95.
Author
Member

Close-report — landed & proven (ADR 0174 / Rule 3).

Vendored the scheduler-silence canary into idss by bumping the factory pin, via the sanctioned onboard.sh vendor (no hand-edit of the protected .sandcastle/ path — #445 / GOTCHAS 4).

What landed (commit 52e92e7f):

  • .sandcastle/FACTORY_REF: e61aa000f77b7fa552ef32a03152045e587262a5 → 8ea613a83809f15a59f191021a2a3061be16e4b4 (dev-factory main HEAD, dev-factory #105).
  • Command: onboard.sh vendor .sandcastle 8ea613a — read dev-factory's vendor-manifest at the new ref, which now carries scheduler-canary.sh and park-wiring-lib.sh.
  • Added (5): scheduler-canary.sh, tests/scheduler-canary-test.sh, park-wiring-lib.sh, tests/park-wiring-lib-test.sh, tests/run-swarm-limit-park-gate-test.sh.
  • Updated (13): check-harness-drift.sh, heal.sh, host-capacity-lib.sh, preflight-swarm.sh, run-swarm.sh, run-triage.sh + 7 tests. FACTORY_MANIFEST regenerated by the vendor.
  • STATUS.md: new header lead + milestone-log entry (state-change in the same commit).

So the host crontab's per-repo backstop-tick now drives idss's own vendored scheduler-canary.sh (dev-factory #105 AC3: one canary per repo driving each repo's own vendored copy), giving idss detection for the two live scheduler-silence incidents on record (2026-07-28 creation-drop; 2026-08-26 #878 claim-stall; GOTCHAS #95).

Proof:

  • bash .sandcastle/check-harness-drift.sh → OK — every vendored factory file matches …@8ea613a… (byte-clean against the new pin).
  • bash .sandcastle/tests/scheduler-canary-test.sh → 10 scenarios passed (cases (a) fresh-queue-silent, (b) saturated-once→de-bounced→recovered, (c) stale-head-ungated, (d) stale-head-claimed-silent, (e) API-down→exit 2).
  • Sanity-ran the other newly-vendored/updated tests offline: park-wiring-lib-test.sh (25 passed), check-harness-drift-test.sh (11 passed), host-capacity-lib-test.sh (21 groups passed).

Ruled by agent under ADR 0174 — a revertible pin bump, provable by the drift check + canary test; veto anytime. Closing #891; closing #269 next (its stated vendor-in condition is met).

**Close-report — landed & proven (ADR 0174 / Rule 3).** Vendored the scheduler-silence canary into idss by bumping the factory pin, via the sanctioned `onboard.sh vendor` (no hand-edit of the protected `.sandcastle/` path — #445 / GOTCHAS 4). **What landed** (commit `52e92e7f`): - `.sandcastle/FACTORY_REF`: `e61aa000f77b7fa552ef32a03152045e587262a5` → `8ea613a83809f15a59f191021a2a3061be16e4b4` (dev-factory `main` HEAD, dev-factory #105). - Command: `onboard.sh vendor .sandcastle 8ea613a` — read dev-factory's `vendor-manifest` at the new ref, which now carries `scheduler-canary.sh` and `park-wiring-lib.sh`. - **Added (5):** `scheduler-canary.sh`, `tests/scheduler-canary-test.sh`, `park-wiring-lib.sh`, `tests/park-wiring-lib-test.sh`, `tests/run-swarm-limit-park-gate-test.sh`. - **Updated (13):** `check-harness-drift.sh`, `heal.sh`, `host-capacity-lib.sh`, `preflight-swarm.sh`, `run-swarm.sh`, `run-triage.sh` + 7 tests. `FACTORY_MANIFEST` regenerated by the vendor. - `STATUS.md`: new header lead + milestone-log entry (state-change in the same commit). So the host crontab's per-repo `backstop-tick` now drives idss's **own** vendored `scheduler-canary.sh` (dev-factory #105 AC3: one canary per repo driving each repo's own vendored copy), giving idss detection for the two live scheduler-silence incidents on record (2026-07-28 creation-drop; 2026-08-26 #878 claim-stall; GOTCHAS #95). **Proof:** - `bash .sandcastle/check-harness-drift.sh` → `OK — every vendored factory file matches …@8ea613a…` (byte-clean against the new pin). - `bash .sandcastle/tests/scheduler-canary-test.sh` → `10 scenarios passed` (cases (a) fresh-queue-silent, (b) saturated-once→de-bounced→recovered, (c) stale-head-ungated, (d) stale-head-claimed-silent, (e) API-down→exit 2). - Sanity-ran the other newly-vendored/updated tests offline: `park-wiring-lib-test.sh` (25 passed), `check-harness-drift-test.sh` (11 passed), `host-capacity-lib-test.sh` (21 groups passed). Ruled by agent under ADR 0174 — a revertible pin bump, provable by the drift check + canary test; veto anytime. Closing #891; closing #269 next (its stated vendor-in condition is met).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#891
No description provided.