Commit Graph
2450 Commits
Author SHA1 Message Date
haelyra 8a8deeb643 Merge reviewed PR #3977: fix(proximity): resolve emitted module paths to TypeScript sources 2026-11-19 15:14:55 -05:00
haelyra 5beaaade10 Merge reviewed PR #3966: fix(hooks): include module extensions in edit and Stop checks 2026-11-19 15:14:55 -05:00
haelyra bd8affeb57 Merge reviewed PR #3965: fix(skill-tracker): serialize concurrent append and retention 2026-11-19 15:14:54 -05:00
haelyra 85d1c1edc8 Merge reviewed PR #3964: fix(tests): count existing number-first suite summaries 2026-11-19 15:14:54 -05:00
haelyra 5be687b704 Merge reviewed PR #3963: perf(sessions): stop parsing after the most recent summary turns 2026-11-19 15:14:52 -05:00
haelyra 669b6ac90f Merge reviewed PR #3962: fix(transcripts): complete short reads within the requested tail 2026-11-19 15:14:52 -05:00
haelyra 9155d4448e Merge reviewed PR #3961: fix(project-detect): preserve extras in Python dependency arrays 2026-11-19 15:14:51 -05:00
haelyra c7cc4ed0d5 Merge reviewed PR #3960: perf(project-detect): scan root extensions once per detection 2026-11-19 15:14:51 -05:00
Afloat 912162997e test(sessions): isolate transcript parse counters 2026-11-19 11:09:03 +08:00
Afloat ec6237570b refactor: collect Python dependencies without mutation
Signed-off-by: Afloat <ShuffleMonkey@163.com>
2026-11-19 10:43:56 +08:00
Afloat e5d055f2a7 chore: merge main and refresh context registry
Signed-off-by: Afloat <ShuffleMonkey@163.com>
2026-11-17 16:22:48 +08: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
Afloat a55b14fe36 fix(proximity): resolve emitted module paths to TypeScript sources 2026-11-17 13:49:39 +08: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
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
Afloat a796cab879 fix(project-detect): retain multiline continuations and array boundaries 2026-11-17 11:23:16 +08:00
Afloat fe4e03103b test(hooks): allow guarded Windows temp paths in module checks 2026-11-17 11:19:19 +08:00
Afloat c6f0e31d67 test(hooks): verify module extension command and plugin boundaries 2026-11-17 11:08:13 +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
Afloat d96596b4e0 fix(hooks): include module extensions in edit and Stop checks 2026-11-17 11:02:44 +08: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 7bb8c65afc Merge reviewed PR #3221: experimental native Antigravity plugin and hooks 2026-11-16 22:00:42 -05:00
Afloat f9f3ed5ccf fix(project-detect): preserve TOML key and multiline string boundaries 2026-11-17 11:00:19 +08:00
Afloat f2d23ded28 fix(skill-tracker): serialize append and retention across processes 2026-11-17 10:53:25 +08:00
Afloat 87323fb125 fix(project-detect): scan unfinished and inline dependency arrays safely 2026-11-17 10:49:07 +08:00
Afloat 974da29ff0 test(project-detect): report directory scan counts to the runner 2026-11-17 10:48:49 +08:00
Afloat 83b719b9b1 fix(tests): count existing number-first suite summaries 2026-11-17 10:37:42 +08:00
Afloat 887eccc271 perf(sessions): stop parsing after the most recent summary turns 2026-11-17 10:34:46 +08:00
Afloat 5c7eeba436 fix(transcripts): complete short reads within the requested tail 2026-11-17 10:34:44 +08:00
Afloat 0a7340cbc5 fix(project-detect): preserve extras in Python dependency arrays 2026-11-17 10:34:42 +08:00
Afloat 0b342071a0 perf(project-detect): scan root extensions once per detection 2026-11-17 10:34:29 +08: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 084f7e06db Merge reviewed PR #3946: npm minor and patch group with lockfile parity 2026-11-16 21:31:27 -05:00