@soleur/opencode 3.358.1 → 3.358.2
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
|
@@ -81,3 +81,5 @@ For most features: tests + linting + following patterns is sufficient.
|
|
|
81
81
|
- **On a contended box, push and let CI run the heavy verification once the local evidence is in hand.** the runner's `--capacity` probe (or a load average above the core count) says whether a multi-minute battery, a real-docker chain or a mutation matrix of dozens of rows will measure the box rather than the change; CI runs the same suites in a clean environment and a CI monitor reads the result back. Run locally only what is cheap and decisive (the guard suite, a trimmed matrix of the rows the change touches). **Why:** #9395 -- 64-row batteries and real-docker chains ran at load 55-80 and the operator twice interrupted to ask for CI. See `knowledge-base/project/learnings/2026-10-09-a-text-regex-guard-loses-to-spellings-derive-its-grammar-and-samples-from-arrays.md`.
|
|
82
82
|
|
|
83
83
|
- **Re-check the premise when the plan is older than this session.** When the plan or its issue is more than a few hours old, run `git log origin/main --since=<plan mtime> --oneline -- <the plan's Files to Edit>` and `gh pr list --state merged -L 200 --search "<issue number>"`; a hit means the premise may have moved, so re-read the merged diff before editing. **Why:** #10043 — #10039 merged mid-session and fixed the same issue a different way; the flag implementation was built, measured and re-scoped. See `knowledge-base/project/learnings/2026-10-11-my-tests-pinned-the-helper-and-the-regex-ran-on-the-event-loop-i-never-timed.md`.
|
|
84
|
+
|
|
85
|
+
- **A scripted replacement of a markdown section is anchored on the LINE and checked against the heading set.** Locate it with `re.search(r'^## Name$', t, re.M)`, never `t.index('## Name')` (the text also occurs mid-line in a table or a backticked reference, and `index` returns that first match and deletes everything after it), and compare the list of level-two headings before and after the write; a lost heading means stop. **Why:** #11179 repeated #9772's failure exactly (the plan went from 419 to 246 lines in a committed commit; only a CI plan-corpus baseline noticed). See `knowledge-base/project/learnings/2026-10-26-the-same-wrong-index-cut-recurred-and-my-destroy-pinned-ids-its-own-documented-step-re-mints.md`.
|