@soleur/opencode 3.387.8 → 3.387.9
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
|
@@ -86,3 +86,5 @@ already carries — see
|
|
|
86
86
|
- **Curl mock URL logs must record transfer targets, not URL-shaped option values.** Parse positional, `--url`/`--url=` operands across schemes; consume curl proxy selectors (`--proxy`, `--proxy1.0`, `--preproxy`, SOCKS4/4a/5/5-hostname, `-x`, and clustered `-sSx`), capture original argv before shifting, and test each selector/form alone and beside a real target. Pin exactly one `--noproxy '*'` per request, exact target counts, and the proxy-option deny check so proxy destinations cannot masquerade as requests or re-enable proxy routing.
|
|
87
87
|
|
|
88
88
|
- **A suite deferred to a later phase is the suite the current edit needs.** When a task list schedules "run the named suites directly" but delegates one file's own suite to a later pipeline phase (affected-run delegation), re-check the deferred set against the files actually edited before moving on — `bash -n` plus green sibling suites cannot see a semantic break (a `#` line interposed inside a `\`-continuation splits the command; the file's argv-shape rows are what catch it). Run the edited file's suite WITH the edit, or record the gap in the deviation note so the next phase knows it is uncovered. **Why:** PR #11735 (#11553) — the exemption comment inside a curl continuation silently killed the Sentry cross-check while `anthropic-admin-key-6297.test.sh` sat deferred; shellcheck SC2215 caught it in review. See `knowledge-base/project/learnings/2026-10-31-a-comment-inside-a-backslash-continuation-splits-the-command-the-fold-thought-was-one.md`.
|
|
89
|
+
|
|
90
|
+
- **A bash regex RANGE follows the locale, and a probe that tests a LINE must prove the token is absent from that line's prose.** `[[ x =~ ^[0-9a-f]{40}$ ]]` accepted 39 hex digits plus an accented letter under `LC_ALL=en_US.utf8` (bash 5.3) and rejected it under `C`/`C.UTF-8`: pin `LC_ALL=C` function-locally for any security-relevant validation and fixture a non-ASCII letter under a collating locale (a mutant that deletes the pin is killable only where that locale exists, so fail rather than skip on CI). A follow-through probe grepping a command line for `headSha` returned PASS on the unfixed tree because the same line carries the prose "by headSha/createdAt": parse the `--json` field list, require exactly one matching line, and run the probe once against the real file expecting the UNFIXED verdict plus a lookalike and a decoy-comment fixture. **Why:** #12320/PR #12350 — see `knowledge-base/project/learnings/2026-11-08-a-locale-ordered-regex-range-and-a-probe-that-matched-the-prose-on-its-own-line.md`.
|