Commit Graph
4995 Commits
Author SHA1 Message Date
haelyra 6aae31a5ce Merge commit 'refs/review/3987'; commit 'refs/review/4031'; commit 'refs/review/4037'; commit 'refs/review/4038' into review/adapters-20261119 2026-11-19 15:14:26 -05:00
Labish Bardiya 82ac0f7ba6 test(opencode): cover subagent permission translation 2026-11-19 10:48:49 +05:30
Labish Bardiya c24f285190 test(opencode): avoid mutating missing-agent list 2026-11-19 10:23:52 +05:30
wellkilo f25b8398db fix(skill-stocktake): count observations by exact JSON path
Keep paths as JSON keys throughout aggregation so literal backslashes and newlines cannot change which skill receives a read. Count both usage windows together and preserve the distinction between unknown usage and zero reads.
2026-11-18 19:34:32 -08:00
wellkilo 87ad04ff0c refactor(opencode): build projected config without mutation 2026-11-18 19:24:55 -08:00
wellkilo 48b63aa711 fix(opencode): resolve home instructions from the install plan
Filter the shipped instruction list to files selected by the install profile and make the retained paths independent of the launch directory. Record the resolved paths for repair, and anchor the bundled skill lookup to the same config root.

Refs #4029
2026-11-18 19:19:39 -08:00
Labish Bardiya 0f5f6873ee fix(opencode): ship missing command subagents 2026-11-19 01:45:32 +05:30
Manuel Albanese bced5a720f test(copilot): verify upgrade content and uninstall cleanup 2026-11-17 12:47:26 +01:00
Manuel Albanese b986681b74 test(copilot): verify packed project installer across platforms 2026-11-17 12:23:20 +01:00
haelyra 3f14a103a8 Merge pull request #3969 from shoyann/fix/validate-duplicate-hook-events
fix(ci): catch duplicate hook events before JSON parsing
2026-11-17 01:41:46 -05:00
haelyra 58f5f5c603 Merge pull request #3978 from affaan-m/stewardship/pr-3106-20261117
Land #3106: opt-in context-gate hook
2026-11-17 01:18:22 -05:00
Yann Roberto 8fba4889ae Merge main and sync hook validator dependency locks 2026-11-17 13:47:44 +08:00
haelyra ce5b17fb45 test(hooks): keep context-gate cwd fixtures inside private sandboxes
Replace the literal /tmp/... cwd values in the context-gate suites with
paths under each test's realpath'd mkdtemp sandbox. CodeQL treats /tmp
string literals as shared temp sources and traced them through the hook
input into readFileTail. The hook only hashes cwd, so assertions are
unchanged.
2026-11-17 00:46:54 -05:00
Yann Roberto aa4b0c1700 fix(ci): check matcher IDs in unwrapped hook maps 2026-11-17 13:45:52 +08:00
haelyra 8a5cbb7e14 test(hooks): resolve context-gate fixture roots with realpath
Wrap #3106's mkdtemp fixture roots in realpathSync, matching the existing
atomic-write tests, so CodeQL no longer traces shared-temp paths from
these fixtures into read handles. Assertions are unchanged.
2026-11-17 00:45:14 -05:00
haelyra 562b541581 Merge reviewed PR #3106: opt-in context-gate hook 2026-11-17 00:45:08 -05:00
haelyra 3def2b612f Merge pull request #3959 from affaan-m/stewardship/integration-20261116-b
chore: integrate reviewed contributor PRs (2026-11-16 batch B)
2026-11-17 00:43:07 -05:00
Yann Roberto 0268e2ef40 fix(ci): reject duplicate root keys in hook documents 2026-11-17 13:29:40 +08:00
haelyra 9463858287 test(session): locate the mode fixture inside its private directory
Find the published recording by walking the test's mkdtemp directory
instead of reusing the library path helper, whose shared-temp default
CodeQL traces into the read handle. The basename is still asserted
against getFallbackSessionRecordingPath.

(cherry picked from commit 856f9e81ffb89aea02bd276d8ec819fad7f9f827)
2026-11-16 23:29:02 -05:00
Yann Roberto 244210bbd1 fix(ci): detect duplicate events in unwrapped hook maps 2026-11-17 11:53:01 +08:00
haelyra 6ad1587064 test(session): inspect saved recordings through one handle
Resolve each recording fixture root with realpath after mkdtemp, and
check or change the published file's mode through a single opened
descriptor instead of a stat/chmod followed by a later open. This removes
the remaining CodeQL temp-file and check-then-use findings from #3952's
regression test without changing its assertions.
2026-11-16 22:35:15 -05:00
Yann Roberto 9de259d581 fix(ci): reject duplicate hook events and report duplicate ID lines 2026-11-17 11:26:43 +08:00
haelyra e413166c50 test(hooks): make context-gate tests portable to Windows (#3106)
The hook proposes a correct absolute checkpoint path on Windows, but the
tests located that line with /^\s+[/\\].*\.md$/, which only matches paths
starting with a slash. Windows paths start with a drive letter (C:\...),
so every case that read the proposed path saw undefined and failed.

- Extract the proposed checkpoint as the indented line that ends in .md
  and satisfies path.isAbsolute, so POSIX and Windows paths both match.
- Include the hook output in the "both fires should propose" assertion
  so a genuine decline is diagnosable from CI logs.
- Write transcript fixtures into private fs.mkdtempSync directories
  instead of predictable names directly under os.tmpdir() (CodeQL
  js/insecure-temporary-file) in context-gate, context-gate-state and
  ecc-context-monitor tests.
2026-11-16 22:07:01 -05:00
haelyra 4b28aa9fe4 test: keep integrated fixtures out of the shared temp directory
Repair the CodeQL findings introduced by this integration without
dismissing any alert:

- OpenSpec validators: express the empty-symbol check as an explicit
  slice instead of an index-versus-length comparison (#2679).
- OpenSpec tests: create file and outside-target fixtures inside private
  mkdtemp directories (#2679).
- Antigravity policy test: give the bridge a private TMPDIR/TEMP/TMP so
  its edit accumulator never lands in the shared temp directory (#3221).
- Session recording test: write partial bytes through the staging
  descriptor and read the saved file through one opened handle (#3952).

Behavior and assertions are unchanged; each focused suite passes.
2026-11-16 22:03:55 -05:00
haelyra c64b9ad6e0 Merge reviewed PR #2679: standalone OpenSpec validators 2026-11-16 22:01:04 -05:00
haelyra 21d0c33c69 Merge reviewed PR #2857: Django Celery on-commit delivery guidance
# Conflicts:
#	manifests/context-packs/skill-triggers@1.json
2026-11-16 22:01:04 -05:00
haelyra d64bf7d2b6 Merge reviewed PR #3584: preserve exact lifecycle worktree paths 2026-11-16 22:01:04 -05:00
haelyra e7b578939e Merge reviewed PR #3100: Mistral Vibe native skill target
# Conflicts:
#	README.md
#	manifests/context-packs/skill-triggers@1.json
#	schemas/context-carrier.schema.json
#	scripts/lib/install-manifests.js
#	tests/lib/harness-capabilities.test.js
2026-11-16 22:01:03 -05:00
haelyra aed665c89a Merge reviewed PR #2729: stable skill-stocktake ordering (carried from #2729)
# Conflicts:
#	manifests/context-packs/skill-triggers@1.json
2026-11-16 22:00:43 -05:00
haelyra 7bf20d9406 Merge reviewed PR #2492: fix browser-qa tool prefix (carried from #2492)
# Conflicts:
#	manifests/context-packs/skill-triggers@1.json
2026-11-16 22:00:42 -05:00
haelyra 7bb8c65afc Merge reviewed PR #3221: experimental native Antigravity plugin and hooks 2026-11-16 22:00:42 -05:00
haelyra fcc6fafc10 Merge reviewed PR #2761: orchestration efficiency evidence scenario 2026-11-16 21:31:28 -05:00
haelyra f30cfd0e8c Merge reviewed PR #2846: per-manager dev-server option arity 2026-11-16 21:31:28 -05:00
haelyra fbd8835ddc Merge reviewed PR #2837: no-verify option arity 2026-11-16 21:31:28 -05:00
haelyra 374d5ef751 Merge reviewed PR #2832: classify wrappers inside find -exec 2026-11-16 21:31:28 -05:00
haelyra 053a91f996 Merge reviewed PR #3224: normalize OpenCode 2 shell and edit events (carried from #3224) 2026-11-16 21:31:28 -05:00
haelyra 36068d820b Merge reviewed PR #2998: detect bun.lock and npm-shrinkwrap in ecc2 (carried from #2998) 2026-11-16 21:31:27 -05:00
haelyra 084f7e06db Merge reviewed PR #3946: npm minor and patch group with lockfile parity 2026-11-16 21:31:27 -05:00
haelyra 90be54aabe Merge reviewed PR #3948: pin mnemosyne-os MCP to 2.4.0 with tool disclosure 2026-11-16 21:31:27 -05:00
haelyra 05254f7729 Merge reviewed PR #3950: update ecc2 Rust security dependencies 2026-11-16 21:31:27 -05:00
haelyra 679f0ba8df Merge reviewed PR #3849: redact bare keys, JWTs and PEM blocks in bash logs 2026-11-16 21:31:27 -05:00
haelyra 479edd71d4 Merge reviewed PR #3829: flush the opt-in Stop nudge before exit 2026-11-16 21:31:27 -05:00
haelyra 9080e4668a Merge reviewed PR #3870: skip safety-classifier notices in session summaries 2026-11-16 21:31:27 -05:00
haelyra 57df779cd6 Merge reviewed PR #3953: preserve aliases with inherited object names 2026-11-16 21:31:27 -05:00
haelyra dbd56688aa Merge reviewed PR #3952: preserve recordings when fallback writes fail 2026-11-16 21:31:27 -05:00
haelyra 89de1ecf70 Merge reviewed PR #3951: report the latest Codex rollout model 2026-11-16 21:31:27 -05:00
haelyra fa47c22778 fix(deps): dedupe yarn.lock to match npm lock resolutions
Yarn kept older transitive resolutions that npm had already moved past:
ansi-regex 6.3.0, get-east-asian-width 1.6.0, micromark-core-commonmark
2.0.3, micromark-factory-space 2.0.1 and micromark-util-types 2.0.2.
Run yarn dedupe and refresh ansi-regex and get-east-asian-width so both
lockfiles resolve the same 294 package versions, as on main.
2026-11-16 21:28:22 -05:00
haelyra e70034a4d5 chore: bind skill trigger digest to updated django-celery guidance 2026-11-16 21:27:49 -05:00
haelyra 35335c95f4 docs(antigravity): label the native plugin adapter experimental
Native validation proves plugin import with CLI 1.3.5, but authenticated
tool and Stop execution through the native host is not yet verified.
Keep the README install table and support matrix at experimental until a
pinned native loader receipt covers lifecycle execution.
2026-11-16 21:22:26 -05:00
haelyraandSwapnil Sharma 0269ac0605 fix(opencode): run V2 shell reminders and post-edit hooks
OpenCode 2 renamed the V1 `bash` tool to `shell`, passes `{ path }` to
`write`/`edit`, and publishes no `file.edited` event. The V2 adapter from
#3854 forwarded those names unchanged, so on OpenCode 2 the git-push and
long-running-command reminders, the PR-created log, the strict typecheck,
the strict formatter, and the console.log warning never ran.

Map `shell` to `bash` and `path` to `filePath` in the V2 tool input
normalizer, and run the shared `file.edited` hook after a completed
write/edit tool call. Failed tool calls do not trigger it.

Carried forward from #3224, which found both gaps by live testing
OpenCode 2.0.12; #3635 proposed the same edit derivation.

Co-authored-by: Swapnil Sharma <swap.sha96@gmail.com>
2026-11-16 21:19:25 -05:00