@soleur/opencode 3.359.10 → 3.359.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soleur/opencode",
3
- "version": "3.359.10",
3
+ "version": "3.359.12",
4
4
  "description": "Soleur AI organization plugin for OpenCode",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bun
2
- // Discoverability probe for #11068: do all FIVE Inngest-serving Better Stack alert resources
2
+ // Discoverability probe for #11068: do all SIX Inngest-serving Better Stack alert resources
3
3
  // declare `push = true` in SOURCE? The flip is the measured-acceptance convention (#9168,
4
4
  // #11001): email stays on, push is additive, and a vendor refusal at apply reverts the
5
5
  // attribute — a silent source-level revert is exactly what this probe exists to catch.
@@ -15,7 +15,7 @@
15
15
  // plan's discoverability command inside a sandbox behind a shell-active-token reject —
16
16
  // the inngest-luks-alert-armed-probe.ts precedent.
17
17
  //
18
- // Exit 0 + "PUSH_ARMED" when all five declare `push = true`; exit 1 +
18
+ // Exit 0 + "PUSH_ARMED" when all six declare `push = true`; exit 1 +
19
19
  // "PUSH_MISSING <resource>" naming the first one that does not (or is absent).
20
20
  import { closeSync, constants, fstatSync, openSync, readFileSync } from "node:fs";
21
21
  import { join } from "node:path";
@@ -31,6 +31,7 @@ const TARGETS: readonly (readonly [string, string])[] = [
31
31
  ["betteruptime_heartbeat", "inngest_server_probe"],
32
32
  ["betteruptime_heartbeat", "inngest_prd"],
33
33
  ["betteruptime_heartbeat", "inngest_consumer"],
34
+ ["logtail_exploration_alert", "inngest_luks_key_probe_fail"],
34
35
  ];
35
36
 
36
37
  const seen = new Set<string>();
@@ -99,3 +99,5 @@ The canonical defect key is `defect-class + rolled-up root cause`, **not** file-
99
99
  **Persist the ledger.** Append it to the branch's `knowledge-base/project/specs/<feature>/session-state.md` at synthesis (create the section if absent). A resumed-session fix round has no access to the prior session's conversation — `--finding-seats` reads only what survives on disk, so an unpersisted ledger silently reduces every later round to path-mapped seats.
100
100
 
101
101
  - **A fix-round implementer's "suite green" is a tail line, not a verdict: the lead re-runs every touched suite on the COMBINED tree and reads exit codes and `[FAIL]` lines before committing.** Parallel implementers on disjoint file sets still interact through parity guards (a string one adds to `server.tf` can trip a sweep another owns), and a suite can print a passing last line after an earlier guard failed and exit non-zero. Brief the implementers to quote each suite's exit code; verify, don't relay. **Why:** #10455/PR #10697 — group B reported `web-host-provisioner-parity` green while Guard 1 was red (a `FATAL: ... /etc/default/<unit>.` message read as a write destination); only the lead's re-run caught it. See `knowledge-base/project/learnings/2026-10-22-a-claim-outran-its-check-five-times-in-one-runtime-synthetic-pr.md`.
102
+
103
+ - **A fail-closed branch a fix adds to a suite (skip becomes FAIL under `CI`) reds every runner that runs the suite, not just the one you edited — and a fix batch left uncommitted dies with its worktree.** Before pushing such a fix, `grep -rn 'run-registered-suites.sh\|TEST_GROUP' .github/workflows` and provision the tool (install plus a `command -v` assert) in EVERY workflow that reaches the suite; commit each fix batch locally as it lands, because a worktree can be removed mid-round while the branch survives. **Why:** #11260 — the probe suite's cryptsetup fail-closed was provisioned in `infra-validation.yml` only, and two fix-round seats found `main-health-monitor.yml`'s `test-infra` leg would have gone red on the first scheduled run; separately the PR worktree vanished mid-review and took every uncommitted fix with it (#11099). See `knowledge-base/project/learnings/2026-10-27-a-fail-closed-ci-branch-reds-the-runner-i-did-not-provision-and-the-worktree-i-did-not-commit-from-vanished.md`.
@@ -73,3 +73,5 @@ already carries — see
73
73
  **A mutation row is vacuous until a fixture distinguishes the mutant — fabricate the discriminating state when the live corpus can't produce it.** Before writing a sed-and-diff mutation row, name the input on which the mutant's verdict differs; if the live tree can't supply it, inject synthetic module state (`o._TRACKED = (real | {synthetic}, …)` in an importlib-probed module) or build a scratch `git init`+`git add` index under TESTROOT (`rm -rf` after staging yields the index-dir-absent-on-disk shape). A mutant that lands and emits the same vector is the quietest green. Twin trap: a stale-expectation guard must assert the vector the OLD rule actually emits — a hand-extended "stale" string that no rule produces can never match, and `!=` on it passes vacuously on empty output; shape-pin instead (`=~ ^([01] ){N}[01]$`). **Why:** #10117's review found three mutation rows whose distinguishing fixtures could not exist in the live index. See `knowledge-base/project/learnings/test-failures/2026-10-14-a-mutation-row-is-vacuous-until-a-fixture-distinguishes-the-mutant.md`.
74
74
 
75
75
  - **An empty `$(…)` file list handed to a test runner that defaults to "run everything" runs EVERYTHING.** `vitest run $(git grep -ln … -- test)` with no match is `vitest run`: the whole suite, which loads the machine and can void a concurrent mutation battery (its unmutated control reads red). Capture the list first, `[ -n "$files" ] || { echo none; exit 1; }`, then run. **Why:** #10194 — a stray full run turned a 7-row battery's control red and cost a re-run. See `knowledge-base/project/learnings/2026-10-25-a-framing-guard-for-a-channel-nobody-feeds-ships-green-and-inert.md`.
76
+
77
+ - **A section-only fast runner is an iteration tool, never a verdict, and a shared helper's cleanup glob must match only what its own section creates.** A harness helper that `rm -f`s a broad pattern (`ERR4*RL_*`) deletes fixtures an EARLIER section creates for a LATER one; the later row then stays green on a stub miss (which also retries) and its mutant survives, visible only in the full-file run (469 of 470) and never in the section-only runner. Before committing a change to a shared helper's cleanup or fixture set, run the whole file once; scope the glob to the section's own marker paths. **Why:** #10865 probe fix, 2026-10-27 — see `knowledge-base/project/learnings/2026-10-27-a-section-only-runner-cannot-see-a-cleanup-glob-deleting-another-sections-fixture.md`.