@soleur/opencode 3.405.10 → 3.405.11

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.405.10",
3
+ "version": "3.405.11",
4
4
  "description": "Soleur AI organization plugin for OpenCode",
5
5
  "type": "module",
6
6
  "bin": {
@@ -369,3 +369,4 @@ NEVER CODE! Just research and write the plan.
369
369
  - **A plan that proposes a flag or argv as an implementation lever on a repo script must read the script's actual argv first — "the flag that should exist" is a capability claim verified against the parser, not inferred from the suite's shape.** Grep the script's argument handling (`--only`, `getopts`, the `usage`/help text) or run `--help`; it settles in seconds what a wrong claim costs a ruling cycle to catch. **Why:** #12626 — the plan prescribed a `--rows` row-splitting lever on `approval-guard1-mutation`; the battery's argv is `[--only|--list|--check-anchors]`, and only the batched CTO ruling caught it. See `knowledge-base/project/learnings/2026-11-11-a-completed-but-failing-leg-filed-as-did-not-complete.md` SE#4.
370
370
  - **A plan that pins a Terraform forget (`removed { destroy = false }`) must state the property in the provider's DELETE key (an email, a name) and pin a CLOSED SET over every file Terraform would load — every tracked `.tf`/`.tf.json` in the repo, minus dotfiles Terraform ignores, with heredocs found by a raw scan — never a search for the bad label or literal.** When the property is "no managed resource of type T", the set is the allowed occurrences of the type token (only the forget's `from` line); when other instances of T stay managed, enumerate the allowed addresses instead. Reuse the `FIX B handed` describe in `plugins/soleur/test/terraform-target-parity.test.ts` and its mirror, Guard G4a in `tests/scripts/test-infra-privileged-tier-census.sh`, rather than rebuilding the scan from prose. Labels miss `import`, `local.`/`var.` values, case, unquoted labels, modules and other roots; and a second guard that shares the first one's file reader and string stripper shares its blind spots. **Why:** #12813 — a dotfile `.tf` and a quote-confused heredoc each kept the test and that census guard green while Terraform planned a DELETE of the sole Better Stack Admin. See `knowledge-base/project/learnings/2026-11-16-my-forget-pin-checked-labels-while-the-provider-deletes-by-email.md`.
371
371
  - **A plan that adds a rule to a gate which reads text another interpreter will expand (a Bash PreToolUse hook, a CI shell lint) must list that interpreter's whole expansion and quoting set first, and close each class in one place rather than deny-listing spellings.** For bash: brace, tilde, parameter/`$[…]`, command, process substitution, pathname/extglob, backslash and `$'…'` quoting, and the target tool's own argv parsing (git long-option prefixes, commit pathspecs). Brief the first fix-round security seat to sweep that whole list, not to find one more instance. **Why:** #12806 — seven fix rounds each found the next form the cron hook read differently from bash; see `knowledge-base/project/learnings/2026-11-16-seven-fix-rounds-each-found-the-next-bash-expansion-the-hook-read-differently.md`.
372
+ - **An acceptance criterion that says "additions only" / "no `-` line" must be checked against every edit the plan itself prescribes in that file: an in-cell table append or an in-field frontmatter change is a one-line rewrite, so `git diff` shows a `-` line and the AC is unsatisfiable as written.** Write the carve-out into the AC by naming each rewritten line's content anchor (the table row's first cells, the frontmatter key), with the exact grep that drops only those lines, e.g. `git diff -U0 origin/main...HEAD -- <file> | grep -E '^-' | grep -vE '^--- (a/|/dev/null)' | grep -vF '<row anchor>'` printing nothing. Do not state it as "the `-` line is a prefix of its `+` line": a table row's closing pipe (space then `|`) and a replaced frontmatter value both break that. Do not match `^-[^-]` either: it misses a deleted `- item` line, which the diff shows as `-- item`. **Why:** #12742/PR #12884 — AC7 forbade any `-` line while Phase 4 step 2 prescribed an in-cell append to the runbook's #10538 row; the task was ticked anyway and review flagged it. See `knowledge-base/project/learnings/2026-11-18-an-ac-that-contradicts-the-prescribed-edit.md`.