@soleur/opencode 3.354.21 → 3.354.23

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.
@@ -4,7 +4,7 @@ description: "Use this agent when you need recurring competitive landscape monit
4
4
  model: inherit
5
5
  ---
6
6
 
7
- Competitive intelligence agent. Researches competitors via WebSearch and WebFetch, reads positioning context from brand-guide.md and business-validation.md, and writes structured overlap-matrix reports to knowledge-base/product/competitive-intelligence.md.
7
+ Competitive intelligence agent. Researches competitors via WebSearch and WebFetch, reads positioning context from brand-guide.md and business-validation.md, and writes the index report at knowledge-base/product/competitive-intelligence.md plus dated-record shards under knowledge-base/product/competitive-intelligence/.
8
8
 
9
9
  ## Pre-Research Context Loading
10
10
 
@@ -25,21 +25,31 @@ For each competitor in scope:
25
25
 
26
26
  ## Output Contract
27
27
 
28
- Write to knowledge-base/product/competitive-intelligence.md with this structure:
28
+ Write the report as the index at knowledge-base/product/competitive-intelligence.md PLUS dated-record and per-competitor shards under knowledge-base/product/competitive-intelligence/. The index keeps this structure:
29
29
 
30
- - YAML frontmatter: last_reviewed, tiers_scanned
31
- - Executive Summary (2-3 sentences of material changes)
30
+ - YAML frontmatter: last_updated, last_reviewed (scanner-owned -- never bump), tiers_scanned
31
+ - Executive Summary (2-3 sentences of material changes + one-line links to new shards)
32
32
  - Per-tier sections with overlap matrix tables
33
33
  - New Entrants section (best-effort -- competitors found in research that are not in business-validation.md; omit section if business-validation.md is unavailable)
34
34
  - Recommendations (prioritized strategic actions)
35
+ - Detail files map of the shard directory
35
36
 
36
37
  Overlap matrix columns: Competitor | Our Equivalent | Overlap | Differentiation | Convergence Risk
37
38
 
38
- If the file cannot be written (CI environment, read-only permissions), output the full report as a code block instead. The schedule skill template captures this as a GitHub Issue.
39
+ Shard rules (the full convention lives in plugins/soleur/skills/competitive-analysis/references/living-kb-doc-sharding.md):
40
+
41
+ - Shards live under knowledge-base/product/competitive-intelligence/: audits/<owner>-<repo>.md for peer-plugin audits, tier-<N>-<slug>.md for per-competitor detail, audit-log.md for non-audit outcomes. Never create INDEX.md.
42
+ - A competitor gets a tier-* shard iff it has a dated record (intake block, audit, or detail exceeding a slim cell). Slim that row's Differentiation cell to the key differentiator + a `→ detail` link; keep fuller cells where no shard exists.
43
+ - Shard frontmatter is minimal: title, last_updated, publishable: internal|external, plus `competitor` on `tier-*` and `target` on `audits/*`. Never review_cadence/owner/depends_on on a shard -- review machinery stays on the index.
44
+ - Qualifier severance is forbidden: every unverified/marketing flag and source URL moves WITH the claim it qualifies.
45
+ - Orphan policy: index links are the live set; shards are append-only dated records, never deleted by a run.
46
+ - This layout is the mandated output shape for ALL installs: on a repo whose CI doc was never split, the run migrates it (writes the index + creates the needed shards) -- never produce write-only orphan shards.
47
+
48
+ If the index cannot be written (CI environment, read-only permissions), output the full report as a code block instead. The schedule skill template captures this as a GitHub Issue.
39
49
 
40
50
  ## Phase 2: Cascade Updates
41
51
 
42
- Before entering this phase, confirm: did Phase 1 write to knowledge-base/product/competitive-intelligence.md, or did it fall back to code block output? If the file was not written to disk, skip this phase entirely and note: "Cascade skipped: CI report not written to disk."
52
+ Before entering this phase, confirm: did Phase 1 write the CI report (the index at knowledge-base/product/competitive-intelligence.md and any shards under knowledge-base/product/competitive-intelligence/), or did it fall back to code block output? If no files were written to disk, skip this phase entirely and note: "Cascade skipped: CI report not written to disk."
43
53
 
44
54
  After writing the base CI report, spawn downstream specialist agents to refresh their artifacts with the latest competitive data.
45
55
 
@@ -61,11 +71,11 @@ Spawn all 4 in parallel using a single message with multiple Task tool calls.
61
71
 
62
72
  Each Task prompt must include:
63
73
 
64
- - Path to the CI report: knowledge-base/product/competitive-intelligence.md
74
+ - Path to the CI report: knowledge-base/product/competitive-intelligence.md (read it first, then follow its `→ detail` links into knowledge-base/product/competitive-intelligence/ shards for per-competitor depth)
65
75
  - Scoped task description and write target from the delegation table above
66
76
  - Instruction to extract the full competitor list from the overlap matrix tables before beginning analysis
67
77
  - Instruction to run autonomously (no AskUserQuestion)
68
- - Instruction not to commit and not to write to knowledge-base/product/competitive-intelligence.md (that file is managed exclusively by this agent)
78
+ - Instruction not to commit and not to write to knowledge-base/product/competitive-intelligence.md or anything under knowledge-base/product/competitive-intelligence/ (the index and its shards are managed exclusively by this agent)
69
79
  - Tool restriction: only use Read, Write, Edit, Glob, Grep tools
70
80
  - Return contract: respond using `## Session Summary` with `Files modified:` (comma-separated paths, or "None") and `Summary:` (one sentence) lines, followed by `### Errors` (details, or "None")
71
81
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soleur/opencode",
3
- "version": "3.354.21",
3
+ "version": "3.354.23",
4
4
  "description": "Soleur AI organization plugin for OpenCode",
5
5
  "type": "module",
6
6
  "bin": {
@@ -85,10 +85,10 @@ selftest_instrument() {
85
85
  }
86
86
  selftest_instrument || { printf '[FATAL] instrument self-test: pass, fail and check did not each move their counters as expected\n' >&2; exit 1; }
87
87
 
88
- # --- preconditions: a missing scanner is RED, a missing python3 is a visible SKIP ---
88
+ # --- preconditions: a missing scanner is RED, a missing python3 is UNRESOLVED ---
89
89
  if ! command -v python3 >/dev/null 2>&1; then
90
- printf 'SKIP scan suite: python3 not found (the scan needs python3; nothing was asserted)\n'
91
- exit 0
90
+ printf 'UNRESOLVED: python3 missing — this suite asserted nothing; install python3\n'
91
+ exit 3
92
92
  fi
93
93
  if [[ ! -f "$SCAN" ]]; then
94
94
  printf '[FATAL] scanner missing at %s\n' "$SCAN" >&2
@@ -218,7 +218,7 @@ If the feature description references named external systems, prior issues, prio
218
218
 
219
219
  **When a governing ADR already contains the design, re-verify each *deferral trigger* against LIVE state — the "deferred/blocked" label is the most perishable part of an ADR.** A same-day ADR may record the full design AND label items deferred/blocked; trusting the label re-derives decided work or re-confirms a status that has since cleared. Read the deferral *rationale* and re-run the exact check it implies: `gh run list --workflow=<apply>.yml` if the reason is "pipeline RED"; `gh pr list --state all -L 200 --search "<N> in:body,title"` for a sibling that shipped an item ("Ref #N" merges leave the issue OPEN with the box unchecked); `gh issue view <blocker> --json state,title` to confirm the cited blocker is real and open; grep the IaC/source for the true cross-ref (a mis-cited blocker in prose is corrected by the code). Then the brainstorm's job is certify-and-scope, not explore-and-derive. **Why:** 2026-07-03 #5933 — ADR-082 (same-day) deferred Item 1 "blocked on #5887 (pipeline RED)", but #5887 was fixed, the apply was green, and Item 3 had already shipped via PR #5945; the blocker was mis-cited (#5887 is a closed CI fix; the real cutover is #5274). See `knowledge-base/project/learnings/2026-07-03-brainstorm-re-verify-adr-deferral-triggers-against-live-state.md`. **And re-derive the deferred option's stated BENEFIT, not only its blockers — a deferral record has two halves and only one gets re-checked.** A blocker is written as a risk and reads as something to verify; the benefit is written as fact and is inherited as the whole reason to ship. Name the command that would falsify the benefit and run it. **Why:** 2026-08-12 #7493 — ADR-182 justified `github_repository_file` with "drift would be auto-reconciled by the next apply"; both its blockers cleared against the live API, but `apply-github-infra.yml` has no `schedule:` (it fires only on `push: main` touching `infra/github/*.tf`), so the option would have shipped ownership without timeliness while the ADR and issue both asserted timeliness. See `knowledge-base/project/learnings/2026-08-12-certifying-a-deferral-means-re-deriving-its-benefit-not-just-its-blockers.md`.
220
220
 
221
- **Grading a competitor/vendor claim VERIFIED vs UNSUBSTANTIATED means reading every source the artifact already cites — a landing page is one source, not the source of truth.** When a leader/CMO reports "X is not stated on vendor.com," check whether the artifact you're annotating already links subpages (a `/pricing`, a docs/blog post) for that exact claim, and read those before grading. Asserting "unsubstantiated" from an incomplete source check is the same defect class as asserting an unverified figure as fact — just reversed. **Why:** #6827 — Cofounder pricing/memory/ownership were graded "not stated on cofounder.co" from a landing-page-only fetch; the existing `agents/product/competitive-intelligence.md` table row already linked `cofounder.co/pricing` + a memory post that stated them verbatim. See `knowledge-base/project/learnings/2026-07-22-verify-every-cited-source-and-corrections-must-not-half-sweep.md`.
221
+ **Grading a competitor/vendor claim VERIFIED vs UNSUBSTANTIATED means reading every source the artifact already cites — a landing page is one source, not the source of truth.** When a leader/CMO reports "X is not stated on vendor.com," check whether the artifact you're annotating already links subpages (a `/pricing`, a docs/blog post) for that exact claim, and read those before grading. Asserting "unsubstantiated" from an incomplete source check is the same defect class as asserting an unverified figure as fact — just reversed. **Why:** #6827 — Cofounder pricing/memory/ownership were graded "not stated on cofounder.co" from a landing-page-only fetch; the existing `knowledge-base/product/competitive-intelligence.md` table row already linked `cofounder.co/pricing` + a memory post that stated them verbatim. See `knowledge-base/project/learnings/2026-07-22-verify-every-cited-source-and-corrections-must-not-half-sweep.md`.
222
222
 
223
223
  **Credential/auth/ToS features — probe the customer-facing-vs-operator-self-use framing split before accepting a blanket "prohibited."** A domain-leader (esp. CLO) PROHIBITED verdict is a verdict on ONE framing under ONE snapshot of vendor terms. Two cheap probes can invert it: (1) is there a narrower *actor/scope* (operator self-use, single-tenant, BYO-own-credential) that dissolves the fatal clause (credential *sharing*/*pooling*/*reselling* apply to customer-facing, not operator-self-use)? (2) are the cited terms *current*? Verify external-vendor commercial/ToS terms via live WebFetch of the official source dated to the present — terms drift and can flip within days. **Why:** 2026-06-02 #4825 — a triad PROHIBITED for customer-facing Claude-subscription login flipped to permitted-with-guardrails for operator self-use once the actor narrowed AND Anthropic's June-15-2026 Agent-SDK-credit policy was read live. See `knowledge-base/project/learnings/2026-06-02-brainstorm-framing-split-flips-tos-verdict-and-verify-vendor-terms-live.md`.
224
224
 
@@ -119,14 +119,9 @@ fi
119
119
  # python3: ONLY the test uses it (the independent RFC 5849 percent-encoder of the OAuth oracle); the
120
120
  # scripts under test never do, and the hosted runner image has none.
121
121
  for dep in jq openssl python3; do
122
- if ! command -v "$dep" >/dev/null 2>&1; then
123
- if [[ -n "${CI:-}" ]]; then
124
- echo "FAIL: $dep is required in CI but not found" >&2
125
- exit 1
126
- fi
127
- echo "SKIP: $dep not installed"
128
- exit 0
129
- fi
122
+ # #8773: a missing tool is UNRESOLVED (exit 3) in every environment — honest
123
+ # both locally and under CI, so the old local-SKIP/CI-FAIL split is gone.
124
+ command -v "$dep" >/dev/null 2>&1 || { echo "UNRESOLVED: $dep missing — this suite asserted nothing; install $dep"; exit 3; }
130
125
  done
131
126
 
132
127
  SANDBOX="$(mktemp -d -t community-argv.XXXXXXXX)" || { echo "FAIL: mktemp" >&2; exit 1; }
@@ -13,7 +13,7 @@ description: "This skill should be used when running competitive intelligence sc
13
13
 
14
14
  # Competitive Analysis
15
15
 
16
- Run a competitive intelligence scan (monthly tiered report) or a targeted peer-plugin audit. Both modes produce structured output in `knowledge-base/product/competitive-intelligence.md`.
16
+ Run a competitive intelligence scan (monthly tiered report) or a targeted peer-plugin audit. Both modes produce structured output in the `knowledge-base/product/competitive-intelligence.md` index plus dated-record shards under `knowledge-base/product/competitive-intelligence/` (see references/living-kb-doc-sharding.md).
17
17
 
18
18
  ## Sub-Modes
19
19
 
@@ -55,7 +55,7 @@ Use AskUserQuestion to select tiers:
55
55
 
56
56
  Spawn the soleur:product:competitive-intelligence agent via Task tool:
57
57
 
58
- Task soleur:product:competitive-intelligence: "Run a competitive intelligence scan for tiers <TIERS>. Research each competitor in the specified tiers, read brand-guide.md and business-validation.md for positioning context, and write the report to knowledge-base/product/competitive-intelligence.md."
58
+ Task soleur:product:competitive-intelligence: "Run a competitive intelligence scan for tiers <TIERS>. Research each competitor in the specified tiers, read brand-guide.md and business-validation.md for positioning context, and write the report as the index at knowledge-base/product/competitive-intelligence.md with dated/detail shards under knowledge-base/product/competitive-intelligence/."
59
59
 
60
60
  ### 4. Report Results
61
61
 
@@ -66,4 +66,4 @@ After the agent completes:
66
66
 
67
67
  ## Scheduled Execution
68
68
 
69
- The `scheduled-competitive-analysis.yml` workflow runs this skill monthly via `claude-code-action`. The agent's prompt includes instructions to commit and push the report to main after creating the audit trail issue. The push must happen inside the agent (not a separate workflow step) because: (1) `claude-code-action` revokes the App installation token in its post-step cleanup, and (2) the Claude App is a bypass actor on the CLA Required ruleset, so only pushes under its identity succeed. The GitHub Issue is still created as an audit trail.
69
+ This skill runs monthly via the Inngest cron `cron-competitive-analysis` (apps/web-platform/server/inngest/functions/cron-competitive-analysis.ts; `0 9 1 * *`). The agent does NOT commit or push: the platform persists allowlisted changes and opens a PR handler-side via `safeCommitAndPr` after the run, gated on the audit-trail issue ("[Scheduled] Competitive Analysis - <date>") being created first.
@@ -0,0 +1,70 @@
1
+ # Living KB doc sharding convention
2
+
3
+ Operational convention for splitting a growing curated knowledge-base doc into
4
+ a stable-path index + a sibling shard directory. Decision record: ADR-297
5
+ (`knowledge-base/engineering/architecture/decisions/ADR-297-living-kb-doc-sharding.md`).
6
+ Canonical instance: `knowledge-base/product/competitive-intelligence.md` +
7
+ `knowledge-base/product/competitive-intelligence/`.
8
+
9
+ ## When to apply
10
+
11
+ Trigger: the doc reaches ~500 lines OR embeds ≥2 point-in-time records (audits,
12
+ intake blocks, incident annexes) OR accumulates an append-log inside a
13
+ synthesis section.
14
+
15
+ Do NOT apply to append-only registers whose correction discipline is
16
+ single-file `> **Superseded …**` cells (legal/compliance registers — ADR-297).
17
+
18
+ ## Layout
19
+
20
+ - **Index** — the doc's *unchanged* path (`foo.md`). Living synthesis only:
21
+ frontmatter, narrative summary, comparison matrices, takeaways,
22
+ recommendations, and a `## Detail files` map.
23
+ - **Shard dir** — sibling `foo/` directory:
24
+ - `audits/<owner>-<repo>.md` — dated audit records
25
+ - `<axis>-<slug>.md` — per-subject detail (e.g. `tier-3-cofounder.md`)
26
+ - `audit-log.md` — append-only log for outcomes that produced no shard
27
+ - **Never `INDEX.md`** — `generate-kb-index.sh` excludes that name; every
28
+ other shard auto-appears in generated indexes.
29
+
30
+ ## Shard frontmatter schema
31
+
32
+ Minimal: `title`, `last_updated`, `publishable: internal|external`, plus a
33
+ subject key (`competitor` on `tier-*`, `target` (`owner/repo`) on `audits/*`).
34
+
35
+ **Never** `review_cadence`, `owner`, or `depends_on` on a shard —
36
+ `review-reminder.yml` scans all depths and would mint a monthly issue per
37
+ shard; review machinery stays on the index only.
38
+
39
+ `publishable:` semantics: `internal` = do-not-republish/do-not-cite in public
40
+ or marketing content (it is a guidance flag, not access control — the repo is
41
+ public; shards are published artifacts).
42
+
43
+ ## Write-boundary rule
44
+
45
+ Producers writing under the shard dir must have BOTH allowlist entries when
46
+ matching is bare `startsWith`: `foo.md` AND `foo/` (trailing slash — a bare
47
+ `foo` stem would also match `foo-evil/`). Update the producer (allowlist,
48
+ prompt path list, output contract) in the SAME commit as the restructure —
49
+ otherwise shard writes are silently discarded while runs report green.
50
+
51
+ ## Content rules
52
+
53
+ - **Slim cells:** index matrix/detail cells slim to the key differentiator +
54
+ a `→ detail` link where a shard exists; keep fuller cells where none does.
55
+ - **Qualifier severance forbidden:** every `unverified`/`marketing`/
56
+ `contradiction` flag and source URL moves WITH the claim it qualifies.
57
+ - **Depth-corrected links:** index→shard is `foo/<file>.md`; depth-1 shards
58
+ back-link `../foo.md`; depth-2 shards (`audits/*`) back-link `../../foo.md`.
59
+ Relocated `](../project/`-style links gain one `../` per level moved.
60
+ - **Orphan policy:** index links are the live set; shards are append-only
61
+ dated records, never deleted by a run. A subject dropped from the index
62
+ keeps its shard (dated record) and loses its index row.
63
+ - **Re-tier / rename:** if a subject's axis value changes (e.g. a competitor
64
+ moves tier), `git mv` the shard to the new name and update the index link;
65
+ do not leave a redirect stub.
66
+ - **Dual-shard interlinking:** when two shards cover the same subject (a
67
+ `tier-*` detail file and an `audits/*` audit), link them to each other.
68
+ - **Migration rule:** the sharded layout is the mandated shape for ALL
69
+ installs — on a repo whose doc was never split, the run writes the index
70
+ and creates the needed shards; never produce write-only orphan shards.
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Peer Plugin Audit — Sub-Mode Procedure
4
4
 
5
- Sub-mode of `soleur:competitive-analysis`. Given a GitHub repository URL, produce a 4-section markdown audit (inventory / high-value gaps / overlap / architectural patterns + recommendations) and seed it into the "Skill Library Tier" section of `knowledge-base/product/competitive-intelligence.md`.
5
+ Sub-mode of `soleur:competitive-analysis`. Given a GitHub repository URL, produce a 4-section markdown audit (inventory / high-value gaps / overlap / architectural patterns + recommendations) and upsert it into `audits/<owner>-<repo>.md` under `knowledge-base/product/competitive-intelligence/` and add/update the matching Overlap Matrix row (with a `→ audit` link) in the `knowledge-base/product/competitive-intelligence.md` index.
6
6
 
7
7
  **Invocation:** `skill: soleur:competitive-analysis peer-plugin-audit <repo-url>` (routed from `SKILL.md` Step 1).
8
8
 
@@ -124,12 +124,16 @@ of report body. Wrap every #NNNN GitHub reference in backticks so CommonMark
124
124
  does not parse it as a heading.
125
125
 
126
126
  # Output destination
127
- Write the report as a new or updated Overlap Matrix entry in the appropriate
128
- existing tier of knowledge-base/product/competitive-intelligence.md — usually
127
+ Write the audit body to knowledge-base/product/competitive-intelligence/audits/<owner>-<repo>.md
128
+ (minimal shard frontmatter: title, target, last_updated, publishable) AND upsert
129
+ a new or updated Overlap Matrix row in the appropriate existing tier of the
130
+ index knowledge-base/product/competitive-intelligence.md with a
131
+ `→ audit` link to the shard — usually
129
132
  Tier 3 (CaaS / Agent-Plugin Competitors) for plugin-layer or skill-library
130
133
  peers. If the audited repo does not fit any current tier, flag this in the
131
134
  report and request taxonomy guidance from the CI team — do not invent a new
132
- tier in this sub-mode. Do not create parallel files under research/.
135
+ tier in this sub-mode. Exactly ONE audit file per repo: audits/<owner>-<repo>.md;
136
+ never write research/ or a second shard copy.
133
137
  ```
134
138
 
135
139
  ### Output-size guard
@@ -200,16 +204,16 @@ When porting concrete SKILL.md text, the Soleur target file MUST include:
200
204
 
201
205
  ## Output routing
202
206
 
203
- - Write the report **as a new or updated Overlap Matrix entry** in the appropriate existing tier of `knowledge-base/product/competitive-intelligence.md`. Usually **Tier 3** (CaaS / Agent-Plugin Competitors) for plugin-layer or skill-library peers. Use Tier 0 only for platform-native peers (model/IDE-level).
207
+ - Write the audit body to `knowledge-base/product/competitive-intelligence/audits/<owner>-<repo>.md` (minimal shard frontmatter: `title`, `target`, `last_updated`, `publishable`), AND upsert **a new or updated Overlap Matrix entry** in the appropriate existing tier of the index `knowledge-base/product/competitive-intelligence.md` with a `→ audit` link to the shard. Usually **Tier 3** (CaaS / Agent-Plugin Competitors) for plugin-layer or skill-library peers. Use Tier 0 only for platform-native peers (model/IDE-level).
204
208
  - If an entry for the same repo already exists in any tier, **update it in place** — do not duplicate.
205
209
  - If the audited repo does not fit any existing tier, **flag this in the report** and request taxonomy guidance from the CI team. Do not invent new tiers in this sub-mode — tier taxonomy is a CI-team decision, not a per-audit one.
206
- - Update the file's frontmatter: `last_updated: <today>`, `last_reviewed: <today>`.
207
- - Do NOT write a parallel file under `knowledge-base/product/research/peer-plugin-audits/`. Single destination prevents stale copies.
210
+ - Update only the index's `last_updated: <today>` — its `last_reviewed` is scanner-owned and must NOT be bumped by an audit write (ADR-094); the shard carries its own `last_updated`.
211
+ - **Superseded 2026-10-24 (#11032):** the old "Do NOT write a parallel file under `knowledge-base/product/research/peer-plugin-audits/`" rule is replaced by the sharded layout — the audit body now lives in exactly ONE file, `audits/<owner>-<repo>.md`; the index keeps only the matrix row + link. Never write `research/peer-plugin-audits/` or a second shard copy.
208
212
  - When a later founder decision disposes of an audit item (declined, bundled, superseded), write the disposition against the audit's OWN statement of the item, not the decision's shorthand: re-read the audit row the item came from before claiming it "already shipped". Record declines in the audit record, not in `knowledge-base/project/rejected/` (ADR-234 holds refused product concepts). **Why:** #8648 — a decline said the writing trio's one idea (leading words) had shipped, while the audit's §2 names leading words AND grounding; only the first shipped.
209
213
 
210
214
  ## Non-audit outcome
211
215
 
212
- If Step 2 returns **zero SKILL.md files**, the repo is not a skill library. Write a short advisory entry (or log-only note) to the tier explaining "category mismatch; no audit produced", and do not add an Overlap Matrix row. This prevents the tier from collecting non-skill-library repos.
216
+ If Step 2 returns **zero SKILL.md files**, the repo is not a skill library. Append a dated advisory entry to `knowledge-base/product/competitive-intelligence/audit-log.md` recording "category mismatch; no audit produced", and do not add an Overlap Matrix row. This prevents the tier from collecting non-skill-library repos.
213
217
 
214
218
  ## Error branches (reference)
215
219
 
@@ -37,7 +37,7 @@ FAIL=0
37
37
  pass() { echo " PASS: $1"; PASS=$((PASS + 1)); }
38
38
  fail() { echo " FAIL: $1"; FAIL=$((FAIL + 1)); }
39
39
 
40
- command -v jq >/dev/null 2>&1 || { echo "SKIP: jq missing"; exit 0; }
40
+ command -v jq >/dev/null 2>&1 || { echo "UNRESOLVED: jq missing — this suite asserted nothing; install jq"; exit 3; }
41
41
  [[ -f "$TARGET" ]] || { echo "ERROR: target not found: $TARGET" >&2; exit 1; }
42
42
 
43
43
  WORK="$(mktemp -d)"
@@ -38,12 +38,11 @@ TMP=$(mktemp -d)
38
38
  trap 'rm -rf "$TMP"' EXIT
39
39
 
40
40
  # GNU coreutils preflight — the sweep + this test use GNU `stat -c%Y` and
41
- # `touch -d '<rel>'` (Linux/CI ubuntu target). Skip cleanly on a non-GNU host
42
- # (e.g. BSD/macOS dev box) instead of hard-erroring at plant() with a confusing
43
- # "invalid date format".
41
+ # `touch -d '<rel>'` (Linux/CI ubuntu target). A host that cannot measure is
42
+ # UNRESOLVED (exit 3), never a green SKIP — the suite asserted nothing (#8773).
44
43
  if ! stat -c%Y "$TMP" >/dev/null 2>&1 || ! touch -d '1 second ago' "$TMP/.probe" 2>/dev/null; then
45
- echo "SKIP: GNU coreutils (stat -c / touch -d relative) required — non-GNU host"
46
- exit 0
44
+ echo "UNRESOLVED: GNU coreutils missing (stat -c%Y / touch -d relative unsupported) — non-GNU host; this suite asserted nothing"
45
+ exit 3
47
46
  fi
48
47
  rm -f "$TMP/.probe"
49
48
 
@@ -42,7 +42,7 @@ FAIL=0
42
42
  pass() { echo " PASS: $1"; PASS=$((PASS + 1)); }
43
43
  fail() { echo " FAIL: $1"; FAIL=$((FAIL + 1)); }
44
44
 
45
- command -v jq >/dev/null 2>&1 || { echo "SKIP: jq missing"; exit 0; }
45
+ command -v jq >/dev/null 2>&1 || { echo "UNRESOLVED: jq missing — this suite asserted nothing; install jq"; exit 3; }
46
46
  [[ -f "$CHECK_FS" ]] || { echo "ERROR: not found: $CHECK_FS" >&2; exit 1; }
47
47
 
48
48
  WORK="$(mktemp -d)"