Commit Graph
4967 Commits
Author SHA1 Message Date
Afloat a55b14fe36 fix(proximity): resolve emitted module paths to TypeScript sources 2026-11-17 13:49:39 +08: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
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
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
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
haelyra 6c168ce903 docs(vibe): record native skill discovery on Vibe 3.1.2
A packed ecc-universal install with --target mistral-vibe --skills
tdd-workflow,security-review was discovered as two project-scope skills
by the SkillManager of both mistral-vibe 2.25.3 and 3.1.2 once the
project was trusted, and by neither before trust.
2026-11-16 21:18:48 -05:00
haelyra 4674f91097 test(dev-command): cover manager-specific option arity across both dev hooks
Add cross-manager fixtures for the same short flag with different meanings
(npm/pnpm -d, pnpm -w, bun -d, bun -c optional value), options before and
after run, -- boundaries, quoted script names and missing values, through
the real pre-bash-dev-server-block entry point and auto-tmux-dev. The new
tests/lib/dev-command.test.js rows for npm and Yarn match real npm 11.6.0
and Yarn 4.9.2 runs of a scratch project whose dev script writes a marker.
2026-11-16 21:15:56 -05:00
haelyra b553918a84 Merge remote-tracking branch 'origin/main' into fix/dev-server-block-quoted-scripts
Main kept evolving pre-bash-dev-server-block.js while this branch waited:
tmux pane-launch detection past tmux options and command sequences, bash
double-quote backslash rules, here-document segment scanning and an indexed
segment queue. Resolve by keeping this branch's thin hook and moving main's
current helpers into scripts/lib/dev-command.js, so both dev hooks still
share one classifier without losing main's tmux behavior.

The same resolution makes package-manager option arity manager-specific,
as requested in review: npm -d / pnpm -d are loglevel flags, pnpm -w is
--workspace-root, bun -d is --define <K:V>. A shared value table swallowed
the script after the boolean spellings, so `npm -d run dev` escaped tmux.
2026-11-16 21:15:47 -05:00
haelyraanderic0891230 04fa58ae57 docs(browser-qa): fix the claude-in-chrome MCP tool prefix
The Integration section named the Chrome tools `mChild__claude-in-chrome__*`,
which matches no real tool, so readers following it would look for tools that
do not exist. Use the real `mcp__claude-in-chrome__*` prefix in the English
skill and the zh-CN mirror, and rebind the skill-triggers registry digest for
the changed skill source.

Carried forward from the browser-qa correction in #2492.

Co-authored-by: eric0891230 <eric0891230@gmail.com>
2026-11-16 21:11:01 -05:00
haelyraandNguyen Thanh Dat 7a57c828ac fix(gateguard): resolve wrappers and nested shells in find -exec actions
Main now resolves sudo/doas/env and the timeout/setsid/nice/stdbuf/ionice/
taskset/nohup/time launchers for top-level commands, but find -exec still
read its action argv literally. `find . -exec sudo rm {} \;`,
`find . -exec timeout 5 rm -rf {} +`, `find . -exec sh -c 'rm -rf {}' \;`
and `sudo find . -exec rm {} \;` were allowed although each runs rm.

Resolve the exec argv through unwrapLeadWrappers (external argv, so no shell
builtins), classify find behind a wrapper, and send the -c text of a shell
that find starts through the same bounded quote-aware recursion as a
top-level `sh -c`. Non-executing modes such as `sudo -l` and quoted data
such as `sh -c 'echo rm -rf {}'` stay allowed.

Co-authored-by: Nguyen Thanh Dat <ntdat812.dev@gmail.com>
2026-11-16 21:09:10 -05:00
haelyra fd9d1552dc fix(ci): restamp skill-triggers registry digest for mistral-vibe target
The context registry digest covers the target list, so adding the
mistral-vibe target on current main changes it. The trigger phrases are
unchanged; only registryDigest is updated so validate-context-profiles
accepts the manifest.
2026-11-16 21:08:35 -05:00
haelyra 8de9734145 docs(mcp): disclose mnemosyne-os 2.4.0 Telegram and app update tools
The 2.4.0 pin adds mnemosyne_telegram_send, which uploads a local file
to the Telegram chat configured in the app, and on macOS
mnemosyne_mac_update_install, which downloads the latest GitHub release
and replaces the installed app. Name both in the catalog description so
users can require client approval for them or deny them before enabling.
2026-11-16 21:08:26 -05:00
haelyraandNguyen Thanh Dat de1ef95cbe fix(block-no-verify): port value-taking option arity onto the current scanner
Carry forward the still-missing part of this PR onto main's scanner:
git commit --trailer and the git push value options (-o, --push-option,
--receive-pack, --exec, --repo) now consume the following token, and an
abbreviation that names exactly one value-taking long option consumes it
too. A flag-looking value such as `git push -o --no-verify` is data that
Git sends verbatim while still running pre-push, so refusing it was a
false positive.

--force-with-lease stays out (optional inline-only value), inline =value
forms consume nothing, and prefixes ambiguous among the value options
resolve to none of them. A real-Git sweep over every prefix of every
commit/push long option followed by --no-verify (866 commands, Git
2.50.1) found no command the hook allows while Git skips a refusing hook.

Co-authored-by: Nguyen Thanh Dat <ntdat812.dev@gmail.com>
2026-11-16 21:08:04 -05:00
haelyra 8e3c93e4a1 fix(pi): allowlist Celery docs host and regenerate django-celery pi/core skill
The django-celery references link to docs.celeryq.dev, which the pi/core
safety scan rejects as a non-allowlisted host. Allow the documentation
host and regenerate pi/core so the shipped skill matches its source.
2026-11-16 21:07:41 -05:00
haelyra 0fd07ea7e2 Merge origin/main into feat/mistral-vibe-support
Refresh the Mistral Vibe skill target on current main. Keep main's
Copilot and Grok targets, agent/skill/locale selectors and install-config
cases alongside the mistral-vibe target, and take main's skill-triggers
manifest so the digest matches the current catalog.
2026-11-16 21:07:39 -05:00
haelyra 042a139c1b Merge remote-tracking branch 'origin/main' into fix/no-verify-abbreviated-long-flag
Resolve both conflicts to main. Main landed the abbreviated --no-verify
long-flag fix through #3073 and replaced the surrounding shell parser, so the
duplicate isNoVerifyLongFlag and the old scanner hunks are dropped. The
option-arity behavior this branch added is carried forward in the next commit.
2026-11-16 21:05:24 -05:00
haelyraandNathan Oliver 6875b2aa0c fix(skill-stocktake): keep sorted inventory order past nine skills
scan.sh and quick-diff.sh name each per-skill record "$i.json" and merge
them with a "$tmpdir"/*.json glob. The glob sorts names as text, so once a
scan finds ten or more skills 10.json lands before 2.json and the output
no longer follows the NUL-sorted discovery order. Zero-pad the record
names so glob order matches insertion order, and pin both scripts with a
twelve-skill regression test. Rebind the skill-triggers registry digest
for the changed skill sources.

Carried forward from the ordering fix in #2729.

Co-authored-by: Nathan Oliver <nathan.oliver@emecogroup.com>
2026-11-16 21:04:35 -05:00
haelyraandphelan 83c4fa1e94 feat: require consistent pair deltas for orchestration claims
Carries forward the 2026-09-29 review request on #2761 with the
contributor's scenario and attribution preserved.

- scenario.json declares a machine-readable pair_consistency_rule:
  per-pair quality, time, and cost deltas (orchestrated minus single
  agent) from retained attempts, no averaging, and an inconclusive
  result when any metric is mixed-sign or unavailable, fewer than three
  pairs ran, or run order never alternated.
- Aggregate cost now covers controller, workers, verifier, and retries,
  matching the master plan's orchestration evidence template.
- Adds synthetic, illustrative sign-consistent and mixed-sign pair
  fixtures; the mixed-sign fixture promotes no candidate.
- The evaluator RAG test recomputes deltas from raw attempts, checks
  cost totals, and exercises unavailable, two-pair, fixed-order, and
  reversed-pair rejections.

Co-authored-by: phelan <2509508+Phelan164@users.noreply.github.com>
2026-11-16 21:03:22 -05:00
haelyra f98320f140 fix(antigravity): keep doctor reporting when one target root is unsafe
An Antigravity home whose workflows directory resolves outside the
trusted config root made resolveTrustedRoots throw out of the doctor
loop, hiding results for every other installed target. Report it as an
unsafe-trusted-root error for that target instead, with a regression.

Also align the README support row with the pinned CLI 1.3.5 validation
and leave the shipped 2.2.0 release notes unchanged.
2026-11-16 21:02:31 -05:00
haelyraandmawquf28 677afc1fc2 fix(ecc2): detect bun.lock and npm-shrinkwrap.json lockfiles
The ECC 2 session launcher picked the package manager from lockfiles but
only knew bun.lockb and package-lock.json. Bun 1.2+ writes the text
bun.lock by default, so those projects fell through to npm. Match the
Node detector in scripts/lib/package-manager.js, which already accepts
bun.lock, bun.lockb, package-lock.json, and npm-shrinkwrap.json, while
keeping the pnpm > bun > yarn > npm priority.

Carries forward the lockfile-alias parity from #2998.

Co-authored-by: mawquf28 <325559970+mawquf28@users.noreply.github.com>
2026-11-16 21:01:55 -05:00
haelyra a8246a38b5 Merge branch 'main' into fix/openspec-validators 2026-11-16 21:00:53 -05:00
haelyra a6c394ca92 test(ci): unlink symlinked project root in spec freshness cleanup
fs.rmSync on the symlink fixture throws ERR_FS_EISDIR on macOS with
Node 24, which stopped the suite after its assertion passed. Remove
the link itself with fs.unlinkSync.
2026-11-16 21:00:53 -05:00
haelyra 989bae89d2 Merge remote-tracking branch 'origin/main' into fix/wrapper-prefixed-destructive-commands
Resolve both conflicts to main. Main now resolves sudo, doas, env, command,
exec and the timeout/setsid/nice/stdbuf/ionice/taskset/nohup/time launchers
through unwrapLeadWrappers (#3777 and the launcher grammar), which supersedes
this branch's wrapper table. The find -exec cases this branch found are
carried forward in the next commit.
2026-11-16 21:00:35 -05:00
haelyra 2915882707 fix(hooks): fail closed when JWT header decode budget is spent
findJwtHeader capped full header decodes at 8 per segment, so a valid
whitespace-header JWT after 8 decoy candidates (eyAg-eyAg-...-<JWT>) was
logged unredacted. Once the budget is spent, treat the next candidate
that passes the constant-time prefilter as a header. The scan stays
linear and the extra redaction only applies to pathological segments.

Refs #3846
2026-11-16 20:59:51 -05:00