Commit Graph
1557 Commits
Author SHA1 Message Date
Afloat 69bbf04bc7 fix(formatter): find shared workspace config above package manifests 2026-11-17 13:54:47 +08: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 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 7bb8c65afc Merge reviewed PR #3221: experimental native Antigravity plugin and hooks 2026-11-16 22:00:42 -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 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 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
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
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 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 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
haelyra a8246a38b5 Merge branch 'main' into fix/openspec-validators 2026-11-16 21:00:53 -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
haelyra adcf7be6a7 merge: sync origin/main into feat/antigravity-tier1
Resolve conflicts with grok target and repair source-root changes:
keep both antigravity-home and grok targets, combine main's repair
source root with the PR's trusted-root selection, and rebind the
skill-trigger registry digest to the merged install registry.
2026-11-16 20:59:51 -05:00
haelyra ab6996edee Merge origin/main into fix/3260-stop-delivery-opt-in
Main already carries the first three commits of this PR (merged in
22596737f) plus later maintainer hardening that moved the delivery
marker into the private observer directory (bfb4dbe7b, f5ff589cd).

Conflict resolution keeps main's evaluate-session.js and test file as
the base, then re-applies only the remaining change from f64a9b5d0:
deliverStopNudge returns whether it wrote the Stop JSON, writes it with
process.stdout.write, and exits from the flush callback. The
async-stdout regression test is ported with the marker path pointed at
main's private delivery-markers directory.

Verified: evaluate-session 27/27 (new test fails on main 26/27),
hooks 260/260, stop-hooks-stdout 48/48, integration hooks 27/27.
2026-11-16 20:59:23 -05:00
haelyra f18bae4cb6 fix(worktrees): restore lifecycle CLI executable bit
Restore mode 100755 on scripts/worktree-lifecycle.js so direct POSIX
launches such as ./scripts/worktree-lifecycle.js --help keep working,
and add a regression test that checks the mode and runs the CLI directly.
2026-11-16 20:56:36 -05:00
haelyra d76848d6db Merge branch 'main' into scout/worktree-nul-paths-20261015 2026-11-16 20:56:35 -05:00
Rahul Selvaraj f4ff940826 Merge branch 'main' into fix/3867-skip-classifier-notices 2026-11-17 09:27:23 +08:00
Afloat f314b2f2e3 fix(session): preserve recording permissions during staging 2026-11-17 07:06:30 +08:00
Afloat b504f3cdd7 fix(session): treat aliases as own JSON keys 2026-11-17 07:04:23 +08:00
Afloat 0083c6e8ec fix(session): publish fallback recordings atomically 2026-11-17 06:44:03 +08:00
Afloat 087686af59 fix(session): report the latest model from Codex rollouts 2026-11-17 06:25:09 +08:00
haelyra 4df78f0f64 fix: enforce read-only metadata and separate shell token data 2026-11-16 14:11:51 -05:00
haelyra 926a07b5f8 fix: close metadata races and finish reviewed hook boundaries 2026-11-16 14:00:26 -05:00
haelyra 7da9b1d29c fix: reconcile final context evidence and literal BOM fixture 2026-11-16 13:40:22 -05:00
haelyra 6713636fb9 Merge remote-tracking branch 'origin/pr-3881' into stewardship/20261116 2026-11-16 13:38:19 -05:00
haelyra aabcddebfb Merge remote-tracking branch 'origin/pr-3862' into stewardship/20261116 2026-11-16 13:38:19 -05:00
haelyra 88b550f4b0 Merge remote-tracking branch 'origin/pr-3931' into stewardship/20261116 2026-11-16 13:37:29 -05:00
haelyra d4ed69455d Merge remote-tracking branch 'origin/pr-3885' into stewardship/20261116 2026-11-16 13:25:04 -05:00
haelyra cf6979b0a6 Merge remote-tracking branch 'origin/pr-3884' into stewardship/20261116 2026-11-16 13:25:04 -05:00
haelyra 0d5391a486 Merge remote-tracking branch 'origin/pr-3932' into stewardship/20261116 2026-11-16 13:24:55 -05:00
haelyra 4789eb1189 Merge remote-tracking branch 'origin/pr-3916' into stewardship/20261116 2026-11-16 13:24:34 -05:00
haelyra efe977f3f6 Merge remote-tracking branch 'origin/pr-3915' into stewardship/20261116 2026-11-16 13:24:34 -05:00
haelyra df287caae9 Merge remote-tracking branch 'origin/pr-3914' into stewardship/20261116 2026-11-16 13:24:34 -05:00
haelyra 5d8a9a885a Merge remote-tracking branch 'origin/pr-3912' into stewardship/20261116 2026-11-16 13:24:33 -05:00
haelyra 73d2a0b28b Merge remote-tracking branch 'origin/pr-3910' into stewardship/20261116 2026-11-16 13:24:33 -05:00
haelyra c7315cd673 Merge remote-tracking branch 'origin/pr-3909' into stewardship/20261116 2026-11-16 13:24:33 -05:00
haelyra f2f3375838 Merge remote-tracking branch 'origin/pr-3921' into stewardship/20261116
# Conflicts:
#	manifests/context-packs/skill-triggers@1.json
2026-11-16 13:24:32 -05:00
haelyra 8d78e08609 Merge remote-tracking branch 'origin/pr-3933' into stewardship/20261116 2026-11-16 13:22:31 -05:00
haelyra 88e8a4db07 Merge remote-tracking branch 'origin/pr-3894' into stewardship/20261116 2026-11-16 13:20:47 -05:00
haelyra 66aede496c Merge remote-tracking branch 'origin/pr-3926' into stewardship/20261116 2026-11-16 13:20:47 -05:00
Neo 8f0dd2ca3a fix(eval): record fulfilled async tool responses 2026-11-13 15:17:43 -05:00