Commit Graph
636 Commits
Author SHA1 Message Date
haelyra 74a474ad1b Merge reviewed adapter and install batch preserving four source PRs 2026-11-19 15:19:51 -05:00
haelyra 63bcb324af fix(stocktake): fail visibly on incomplete observation logs 2026-11-19 15:17:37 -05:00
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
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 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
adityajai119 6c78d56d91 fix(cli): honor global --dry-run in auto-update, setup, and nasiko
ecc.js strips a leading --dry-run flag and sets ECC_DRY_RUN=1 before
spawning subcommands. auto-update.js, setup.js, and nasiko.js did not
read ECC_DRY_RUN, so running ecc --dry-run before those subcommands
still ran git fetch/pull, mutated Claude plugins and settings, or
installed/removed Nasiko binaries.

Read and validate ECC_DRY_RUN ("0" or "1") in parseArgs() for
auto-update.js and setup.js and in parseMutationArguments() for
nasiko.js, matching uninstall.js, repair.js, install-apply.js, and
install-guided.js.

Fixes #3981
2026-11-17 14:23:47 +05:30
haelyra 562b541581 Merge reviewed PR #3106: opt-in context-gate hook 2026-11-17 00:45:08 -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 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 7bb8c65afc Merge reviewed PR #3221: experimental native Antigravity plugin and hooks 2026-11-16 22:00:42 -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 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
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
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 9f770ae5a1 chore(hooks): merge main into context-gate carry-forward (#3106) 2026-11-16 20:55:33 -05:00
haelyra 88b550f4b0 Merge remote-tracking branch 'origin/pr-3931' into stewardship/20261116 2026-11-16 13:37:29 -05:00
haelyra 40327476c4 fix: harden review fixtures and isolate audit verification metadata 2026-11-16 13:35:34 -05:00
haelyra d4ed69455d Merge remote-tracking branch 'origin/pr-3885' into stewardship/20261116 2026-11-16 13:25:04 -05:00
haelyra 5d8a9a885a Merge remote-tracking branch 'origin/pr-3912' into stewardship/20261116 2026-11-16 13:24:33 -05:00
haelyra 1b44d3d723 fix: reconcile reviewed migration and async test followups 2026-11-16 13:23:22 -05:00
haelyra 8d78e08609 Merge remote-tracking branch 'origin/pr-3933' into stewardship/20261116 2026-11-16 13:22:31 -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
montjeffrey 067e11e1cc test(context): pin companion listing of installed non-ECC skills
Cover byte identity without neighbors, ECC's decision unchanged in every mode, the anchored and clear-leader listing rule, Claude user, plugin and project discovery, the CLI snapshot round trip, the launch and hook surfaces, and a fixture on the shipped registry. Require the new module in the npm pack surface.
2026-11-13 10:42:19 -05:00
yuhoyuho bcad1b982c fix(control-pane): bound action output capture and preserve streamed UTF-8 2026-11-12 09:36:35 +09:00
Afloat ca422f3c19 fix(auto-update): stop after signaled subprocesses 2026-11-11 21:05:30 +08:00
Gaurav DubeyandClaude Opus 5.5 5f72adbd83 fix(hooks): try later JWT header candidates after a failed prefix match
A word prefix such as `eyewear_session_` was taken as the only JWT
header candidate; when it failed validation the real header after `_`
was never tried and the token stayed in the command log. Keep scanning
eligible candidates, with a constant-time prefilter and a per-segment
decode cap so long candidate runs stay linear.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 03:31:34 +00:00
montjeffrey 31b943ed88 test(context): reject non-receipt baselines and incomplete corpora 2026-11-06 17:36:49 -05:00
haelyra bfb4dbe7b0 fix: harden integration security findings 2026-11-06 00:03:44 -05:00
haelyra 4b0bac4ba2 Merge reviewed PR #3854 2026-11-05 23:38:59 -05:00
haelyra d97367cf76 fix: reconcile reviewed skills, manifests, and dependency locks 2026-11-05 23:38:04 -05:00
haelyra a032472448 Merge reviewed PR #2856
# Conflicts:
#	manifests/context-packs/skill-triggers@1.json
2026-11-05 23:28:21 -05:00
haelyra 3bb22fd363 Merge reviewed PR #3787
# Conflicts:
#	manifests/context-packs/skill-triggers@1.json
2026-11-05 23:27:44 -05:00
haelyra 324c4187ba Merge reviewed PR #3860 2026-11-05 23:24:35 -05:00
haelyra a0e6eb56e4 Merge reviewed PR #3830 2026-11-05 23:24:06 -05:00
haelyra ba3042a85d Merge reviewed PR #2496 2026-11-05 23:13:00 -05:00
haelyra 758f73c617 Merge reviewed PR #3876
# Conflicts:
#	manifests/context-packs/skill-triggers@1.json
2026-11-05 23:11:36 -05:00
haelyra f6e68a186f Merge reviewed PR #3874
# Conflicts:
#	manifests/context-packs/skill-triggers@1.json
2026-11-05 23:11:12 -05:00
haelyra 1ea3af26ec Merge reviewed PR #3865 2026-11-05 23:11:09 -05:00
haelyra a222e0091b Merge reviewed PR #3849 2026-11-05 23:10:32 -05:00
haelyra 14221ef652 Merge reviewed PR #3881 2026-11-05 23:09:32 -05:00
Cheese 4385863e56 fix(scripts): reject inherited package manager names 2026-11-06 11:52:10 +08:00
Gaurav DubeyandClaude Opus 5.5 f0eee4b543 fix(hooks): redact JWTs joined to an underscore-prefixed label
The JWT chain scanner only accepted a header at the start of a segment or
after `-`, so `session_<JWT>` reached the audit and cost logs unredacted.
Treat `_` as a prefix boundary too and cover it in the tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 03:30:52 +00:00
montjeffrey e9fe714e24 test(context): gate routing quality on the shared corpus pass 2026-11-05 14:19:46 -05:00
montjeffrey 25c838253f test(clv2): keep the compatibility self-test passing on Python 3.8-3.11
Before 3.12 the parser rejects f"{d["k"]}" outright, so the shared sample
stopped at a parse error and the per-finding assertions failed on 3.11.
Samples that every supported Python parses now carry the per-finding
checks; the newer f-string forms run one per sample and accept either the
specific finding or the parse error.

Also flag unquoted X | Y annotations, which can fail at definition time
before 3.10, and check that a quoted union is not flagged.
2026-11-05 13:40:32 -05:00
Gaurav DubeyandClaude Opus 5.5 71084e0555 fix(hooks): redact JWTs joined to a hyphenated prefix
The lookbehind added to keep the JWT scan linear also skipped tokens right
after a `-`, so `--cookie "session=jwt-<JWT>"` reached the logs unredacted.
Scan each `[A-Za-z0-9_.-]` run once instead, checking every dot segment for
a header at its start or after a `-`, decoding at most once per segment so
long `ey-ey-...` runs stay linear.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 03:31:50 +00:00
wellkilo 3d8a6a1401 fix(skill-stocktake): compare quick scans with per-skill mtimes
A later batch save advances evaluated_at past edits to previously evaluated skills. Compare each saved evaluation mtime to the current inventory, including timestamps that move backward, and retain the legacy global timestamp fallback.
2026-11-04 18:32:37 -08:00
montjeffrey e56624d8f1 test(clv2): catch 3.8 and 3.12 f-string forms in the compat guard
ast.parse(feature_version=...) on current Pythons goes no lower than the
3.7 grammar, and it accepts f-string forms that older interpreters reject:
the self-documenting {x=} (3.8) and, from 3.12, reused quotes, backslashes
and comments inside a replacement field. ast does not record these, so
the guard now reads each f-string's own source text. The sample file
proves both kinds are flagged and that 3.6-valid fields ({n == 1},
{n!r:>4}, escaped {{n=}}) are not.
2026-11-04 11:45:32 -05:00