@soleur/opencode 3.373.1 → 3.374.1
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.
|
@@ -29,6 +29,7 @@ You are a SAST specialist that uses semgrep to find known vulnerability patterns
|
|
|
29
29
|
|
|
30
30
|
- If semgrep-core crashes with `io_uring_queue_init: Cannot allocate memory` (exit 2, 0 files scanned), the result is VOID, not clean: re-run with `EIO_BACKEND=posix semgrep -j 1 …`. **Why:** #9096.
|
|
31
31
|
- `Ran N rules on 0 files` is VOID too: semgrep skips `test/` paths by default (`.semgrepignore`) and honours git-tracking. For test files extract them into a directory holding ONLY those files and pass `--no-git-ignore` with an empty `.semgrepignore`; confirm M equals the file count. **Why:** #9496.
|
|
32
|
+
- A zero-finding result needs a control on the SAME `--config` set: scan a tiny known-bad sample (`eval(x); cp.exec("ls " + x)`) with the exact packs used. If it also reads 0, the packs cannot see that class and the zero says nothing about the code, so add a pack that fires on it (`p/security-audit` did; `p/javascript`, `p/nodejs` and `p/owasp-top-ten` did not). **Why:** PR #11713 fix round, `knowledge-base/project/learnings/2026-10-31-an-atomic-flag-turned-one-stale-ref-into-a-permanent-stall-and-my-clean-scan-had-no-control.md`.
|
|
32
33
|
|
|
33
34
|
- **Inline-only output.** Never write findings to files or commit semgrep output. Aggregated security findings in open-source repos create an attack surface.
|
|
34
35
|
- **Changed files only.** Scan only files in the PR diff, not the entire repository. Full-repo scans produce pre-existing noise that buries PR-introduced findings.
|
|
@@ -376,9 +376,11 @@ export const MANIFEST: ManifestEntry[] = [
|
|
|
376
376
|
// (a once-a-day absence alarm that read `Current value: 0` through 33 healthy nights). The feeder
|
|
377
377
|
// reads the Logs archive itself (remote() UNION s3Cluster) over the old 97200 s window and beats only
|
|
378
378
|
// when web-1's luks-monitor.service recorded a passing row; with none it withholds and the heartbeat
|
|
379
|
-
// times out (period 3600 + grace 7200).
|
|
379
|
+
// times out (period 3600 + grace 7200). Fed by the repo-side feeder, born paused, armed by the owner after two
|
|
380
380
|
// consecutive `qualifying_row_heartbeat_paused` runs (runbook workspaces-luks-cutover-6604.md, section
|
|
381
|
-
// "Arming the dead-man heartbeats (#11631)")
|
|
381
|
+
// "Arming the dead-man heartbeats (#11631)"). ARMED 2026-10-31 (live `paused:false status:up`, two
|
|
382
|
+
// consecutive `verdict=beat` runs read back), so `arming_pending` is gone and a later pause is a real
|
|
383
|
+
// `fed-but-paused` finding. `paused: true` above is SOURCE state only.
|
|
382
384
|
arming: "external-probe",
|
|
383
385
|
paused: true,
|
|
384
386
|
feeder: {
|
|
@@ -388,7 +390,6 @@ export const MANIFEST: ManifestEntry[] = [
|
|
|
388
390
|
pattern: "bash scripts/deadman-heartbeat-feeder.sh",
|
|
389
391
|
},
|
|
390
392
|
},
|
|
391
|
-
arming_pending: { tracking_issue: 11631, expires: "2026-11-13" },
|
|
392
393
|
exempt_reason:
|
|
393
394
|
"archive-reading repo-side feeder (scheduled-deadman-heartbeat-feeder.yml, hourly, dispatched by the web-server watchdog clock): it queries the Better Stack Logs archive for web-1's passing luks-monitor row and beats only when one exists, so no host change and no host replace applies (a host-side ping would need a user_data change = a web-1 replace, which web-1 cannot take). Not dedicated-host-boot, so ADR-103's replace_target requirement correctly does not fire.",
|
|
394
395
|
},
|
|
@@ -396,9 +397,10 @@ export const MANIFEST: ManifestEntry[] = [
|
|
|
396
397
|
name: "claude_cost_capture",
|
|
397
398
|
// #11631 — the archive-fed dead-man that replaced logtail_exploration_alert.claude_cost_capture_dark.
|
|
398
399
|
// Same feeder and workflow as luks_monitor_host_timer above, over the 86400 s window and the cost-marker
|
|
399
|
-
// predicate (a cron cost marker with a non-null cost_usd, or a credit-probe RED row).
|
|
400
|
+
// predicate (a cron cost marker with a non-null cost_usd, or a credit-probe RED row). Fed by the repo-side feeder, born paused,
|
|
400
401
|
// armed by the owner after two consecutive `qualifying_row_heartbeat_paused` runs (runbook
|
|
401
|
-
// workspaces-luks-cutover-6604.md, section "Arming the dead-man heartbeats (#11631)").
|
|
402
|
+
// workspaces-luks-cutover-6604.md, section "Arming the dead-man heartbeats (#11631)"). ARMED 2026-10-31
|
|
403
|
+
// (live `paused:false status:up`, two consecutive `verdict=beat` runs read back); `arming_pending` dropped. `paused: true` is SOURCE state only.
|
|
402
404
|
arming: "external-probe",
|
|
403
405
|
paused: true,
|
|
404
406
|
feeder: {
|
|
@@ -408,7 +410,6 @@ export const MANIFEST: ManifestEntry[] = [
|
|
|
408
410
|
pattern: "bash scripts/deadman-heartbeat-feeder.sh",
|
|
409
411
|
},
|
|
410
412
|
},
|
|
411
|
-
arming_pending: { tracking_issue: 11631, expires: "2026-11-13" },
|
|
412
413
|
exempt_reason:
|
|
413
414
|
"archive-reading repo-side feeder (scheduled-deadman-heartbeat-feeder.yml, hourly): it queries the Better Stack Logs archive for Inngest cron cost markers and beats only when one exists in the last 24 h, so the signal is independent of any single host and no host replace applies. Not dedicated-host-boot, so ADR-103's replace_target requirement correctly does not fire.",
|
|
414
415
|
},
|