Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
b4a556e
docs(tasks): plan repository audit and authorized patch release
Cynrath Nov 17, 2026
664e1e1
fix(action): preserve threshold failures and build clean tag runtime
Cynrath Nov 17, 2026
cf9229e
docs(tasks): refine extension runtime and real-host validation plan
Cynrath Nov 17, 2026
79bed00
docs(tasks): record SDK catalog defect exposed by host tests
Cynrath Nov 17, 2026
9cd12b7
fix(ci): enforce extension gates and verify packaged runtime
Cynrath Nov 17, 2026
2c5d83d
docs(tasks): plan MCP startup root binding regression
Cynrath Nov 17, 2026
548851f
fix(mcp): align tool inputs and bind CLI startup root
Cynrath Nov 17, 2026
9511abb
fix(audit): repair docs and patch runtime security dependencies
Cynrath Nov 17, 2026
fd44a49
docs(tasks): plan bounded final Marketplace visibility check
Cynrath Nov 17, 2026
4761e50
docs(tasks): plan corrective Action projection and consumer checks
Cynrath Nov 17, 2026
60408b5
docs(tasks): record Action regression and SARIF URI contract
Cynrath Nov 17, 2026
9ae5246
docs(tasks): cover advertised Action drift projection
Cynrath Nov 17, 2026
3d0c314
docs(tasks): align existing optimize SARIF projections
Cynrath Nov 17, 2026
ef97680
docs(tasks): isolate consumer subprocess diagnostic verification
Cynrath Nov 17, 2026
a0e077c
fix(action): preserve optimize and drift report projections
Cynrath Nov 17, 2026
eae5351
chore(release): prepare audited 0.5.5 patch
Cynrath Nov 17, 2026
5daa10f
docs(tasks): record patch readiness and start authorized publication
Cynrath Nov 17, 2026
b2f3441
docs(tasks): plan hosted CI platform corrections
Cynrath Nov 17, 2026
49af9ad
fix(ci): resolve Action setup paths and serialize workspace refreshes
Cynrath Nov 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 11 additions & 13 deletions .github/workflows/ackit-action-dogfood.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,20 @@ jobs:
steps:
# actions/checkout@v4 (f548e57e544e1ff5a4c46bf1e1b8685f8e4a348a)
- uses: actions/checkout@f548e57e544e1ff5a4c46bf1e1b8685f8e4a348a
# actions/setup-node@v4 (ae0d4ed08881f17d1511386f5be3e62356acd4a6)
- uses: actions/setup-node@ae0d4ed08881f17d1511386f5be3e62356acd4a6
with:
node-version: "24"
# pnpm/action-setup@v4 (b906affcce14559ad1aafd4ab0e942779e9f58b1)
- uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1
with:
package_json_file: package.json
- run: pnpm install --frozen-lockfile
- run: pnpm build
- name: Run ACKit via local action (scan)
id: ackit
uses: ./
with:
command: scan
args: "--json"
fail-threshold: low
upload-sarif: "false"
fail-threshold: medium
upload-sarif: "true"
- name: Verify findings JSON exists
run: test -f "${RUNNER_TEMP}/ackit-findings.json" && echo "findings JSON present" && cat "${RUNNER_TEMP}/ackit-findings.json" | head -20
env:
FINDINGS: ${{ steps.ackit.outputs.findings-json }}
SARIF: ${{ steps.ackit.outputs.sarif-path }}
run: |
test -f "${FINDINGS}"
test -f "${SARIF}"
- name: Clean external Action consumer
run: pnpm run smoke:action
93 changes: 24 additions & 69 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ jobs:
run: pnpm typecheck
- name: Build
run: pnpm build
- name: Schema drift
run: |
pnpm gen:schemas
git diff --exit-code -- schemas
- name: CLI smoke
run: pnpm smoke:cli
- name: Version parity
run: node scripts/check-version-parity.mjs
- name: Offline-egress static gate
run: node scripts/check-offline-egress.mjs
- name: Text hygiene (C0 controls)
Expand Down Expand Up @@ -107,7 +115,8 @@ jobs:
run: |
node -e "
const pkg=require('./extensions/vscode/package.json');
if(pkg.version!=='0.5.4') throw new Error('extension version must be 0.5.4');
const root=require('./package.json');
if(pkg.version!==root.version) throw new Error('extension/root version mismatch');
if(pkg.publisher!=='Cynrath') throw new Error('publisher must be Cynrath');
if(pkg.displayName!=='ACKit Toolkit') throw new Error('displayName must be ACKit Toolkit');
if(!pkg.contributes.views.ackit.find(v=>v.id==='ackit.readiness')) throw new Error('ackit.readiness view missing');
Expand All @@ -116,85 +125,31 @@ jobs:
console.log('manifest contract PASS');
"
- name: Extension typecheck
run: |
pnpm --filter ackit-vscode exec tsc -p tsconfig.json --noEmit
pnpm --filter ackit-vscode exec tsc -p tsconfig.test.json --noEmit
run: pnpm --filter ackit-vscode run typecheck
- name: Extension lint (vscode src)
run: |
pnpm --filter ackit-vscode exec biome check src --diagnostic-level=warn || true
run: pnpm --filter ackit-vscode run lint
- name: Extension build
run: |
pnpm --filter ackit-vscode exec esbuild src/extension.ts --bundle --platform=node --target=node20 --outfile=dist/extension.js --external:vscode --sourcemap
pnpm --filter ackit-vscode run build
test -f extensions/vscode/dist/extension.js
- name: Extension unit tests
run: |
pnpm --filter ackit-vscode run compile:test
# run mocha unit tests directly (without Electron) if available
pnpm --filter ackit-vscode exec mocha out/test/suite/unit.test.js --timeout 5000 || echo "unit tests done"
run: pnpm --filter ackit-vscode run test:unit
- name: VS Code Electron integration (xvfb)
run: |
pnpm --filter ackit-vscode run compile:test
xvfb-run -a pnpm --filter ackit-vscode test || echo "Electron integration completed (check logs)"
run: xvfb-run -a pnpm --filter ackit-vscode test
- name: Version parity
run: node scripts/check-version-parity.mjs
- name: vsce ls
run: |
cd extensions/vscode
npx --yes @vscode/vsce ls --no-dependencies --no-yarn
npx --yes @vscode/vsce@4.1.1 ls --no-dependencies --no-yarn
- name: vsce package --no-dependencies
run: |
cd extensions/vscode
npx --yes @vscode/vsce package --no-dependencies --no-yarn --out ackit-vscode-0.5.4.vsix
test -f ackit-vscode-0.5.4.vsix
ls -lh ackit-vscode-0.5.4.vsix
- name: VSIX content audit
run: |
cd extensions/vscode
npx --yes @vscode/vsce ls --no-dependencies --no-yarn > /tmp/vsce-ls.txt
cat /tmp/vsce-ls.txt
if grep -q "node_modules" /tmp/vsce-ls.txt; then echo "::error::VSIX contains node_modules"; exit 1; fi
# check icon exists and size
ls -lh images/icon.png
file images/icon.png
# check VSIX size <2MB
size=$(stat -c%s ackit-vscode-0.5.4.vsix 2>/dev/null || stat -f%z ackit-vscode-0.5.4.vsix)
echo "VSIX size $size bytes"
if [ "$size" -gt 2097152 ]; then echo "::error::VSIX >2MB"; exit 1; fi
# check no secrets in VSIX
unzip -l ackit-vscode-0.5.4.vsix | head -20
if unzip -p ackit-vscode-0.5.4.vsix extension/package.json | grep -q "AKIA"; then echo "::error::secret in VSIX"; exit 1; fi
- name: Packaged VSIX parity (Marketplace content)
run: |
cd extensions/vscode
pkgver=$(node -p "require('./package.json').version")
pkgver=$(node -p "require('./extensions/vscode/package.json').version")
vsix="ackit-vscode-${pkgver}.vsix"
test -f "$vsix"
manver=$(unzip -p "$vsix" extension/package.json | node -e "let s='';process.stdin.on('data',d=>s+=d).on('end',()=>console.log(JSON.parse(s).version))")
if [ "$manver" != "$pkgver" ]; then echo "::error::VSIX manifest $manver != $pkgver"; exit 1; fi
unzip -p "$vsix" extension/readme.md > /tmp/vsix-readme.md
grep -q "\*\*Version:\*\* \`$pkgver\`" /tmp/vsix-readme.md || { echo "::error::VSIX README Version != $pkgver"; exit 1; }
grep -q "ackit.status.v1" /tmp/vsix-readme.md || { echo "::error::VSIX README missing ackit.status.v1"; exit 1; }
grep -qi "verification freshness" /tmp/vsix-readme.md || { echo "::error::VSIX README missing verification freshness"; exit 1; }
grep -qi "checkpoint freshness" /tmp/vsix-readme.md || { echo "::error::VSIX README missing checkpoint freshness"; exit 1; }
unzip -p "$vsix" extension/changelog.md > /tmp/vsix-changelog.md
latest=$(grep -m1 -o '^## \[[^]]*\]' /tmp/vsix-changelog.md)
echo "VSIX CHANGELOG latest: $latest"
echo "$latest" | grep -q "## \[$pkgver\]" || { echo "::error::VSIX CHANGELOG latest != $pkgver"; exit 1; }
echo "packaged VSIX parity PASS ($pkgver)"
- name: Icon dimensions
run: |
cd extensions/vscode
node -e "
const fs=require('fs');
const buf=fs.readFileSync('images/icon.png');
const w=buf.readUInt32BE(16), h=buf.readUInt32BE(20);
console.log('icon',w+'x'+h, buf.length+' bytes');
if(w<128||h<128) throw new Error('icon <128');
if(w!==h) throw new Error('icon not square');
if(w!==256) console.log('warning: icon not 256x256 but square and >=128, accepting');
if(buf.length<=1024) throw new Error('icon too small');
"
npx --yes @vscode/vsce@4.1.1 package --no-dependencies --no-yarn --out "${vsix}"
echo "VSIX_PATH=$(pwd)/${vsix}" >> "${GITHUB_ENV}"
- name: VSIX content audit and packaged parity
run: node scripts/check-vsix.mjs "${VSIX_PATH}"
- name: Offline-egress extension audit
run: |
node scripts/check-offline-egress.mjs
# also ensure extension src has no fetch/http
if grep -R "fetch.*http" extensions/vscode/src; then echo "::error::extension fetch"; exit 1; fi
echo "offline-egress PASS"
run: node scripts/check-offline-egress.mjs
24 changes: 17 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@ jobs:
echo "::error::extension publisher '${EXT_PUB}' != 'Cynrath'"
exit 52
fi
pnpm --filter ackit-vscode exec esbuild src/extension.ts --bundle --platform=node --target=node20 --outfile=dist/extension.js --external:vscode --sourcemap
pnpm --filter ackit-vscode run build
test -f extensions/vscode/dist/extension.js
cd extensions/vscode
npx --yes @vscode/vsce package --no-dependencies --no-yarn --out "ackit-vscode-${RELEASE_VERSION}.vsix"
npx --yes @vscode/vsce@4.1.1 package --no-dependencies --no-yarn --out "ackit-vscode-${RELEASE_VERSION}.vsix"
test -f "ackit-vscode-${RELEASE_VERSION}.vsix"
VSIX_ABS="$(pwd)/ackit-vscode-${RELEASE_VERSION}.vsix"
VSIX_SHA256="$(sha256sum "${VSIX_ABS}" | cut -d' ' -f1)"
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
exit 61
fi
cd extensions/vscode
npx --yes @vscode/vsce ls --no-dependencies --no-yarn > /tmp/vsce-ls.txt
npx --yes @vscode/vsce@4.1.1 ls --no-dependencies --no-yarn > /tmp/vsce-ls.txt
cat /tmp/vsce-ls.txt
if grep -q "node_modules" /tmp/vsce-ls.txt; then
echo "::error::vsce ls lists node_modules"
Expand All @@ -267,6 +267,7 @@ jobs:
echo "::error::secret pattern in VSIX manifest"
exit 64
fi
node scripts/check-vsix.mjs "${VSIX_PATH}"
node scripts/check-offline-egress.mjs
if grep -R "fetch.*http" extensions/vscode/src; then
echo "::error::extension source contains remote fetch"
Expand Down Expand Up @@ -326,7 +327,7 @@ jobs:
fi
seen=0
for attempt in 1 2 3; do
if npx --yes @vscode/vsce show Cynrath.ackit-vscode --json > /tmp/mkt-pre.json 2> /tmp/mkt-pre.err; then
if npx --yes @vscode/vsce@4.1.1 show Cynrath.ackit-vscode --json > /tmp/mkt-pre.json 2> /tmp/mkt-pre.err; then
PRE_VER="$(node -p "JSON.parse(require('fs').readFileSync('/tmp/mkt-pre.json','utf8')).versions?.[0]?.version ?? 'unknown'")"
echo "Marketplace live latest: ${PRE_VER} (release target ${RELEASE_VERSION})"
if [ "${PRE_VER}" = "${RELEASE_VERSION}" ]; then
Expand Down Expand Up @@ -425,7 +426,7 @@ jobs:
set -euo pipefail
seen=0
for attempt in $(seq 1 30); do
if npx --yes @vscode/vsce show Cynrath.ackit-vscode --json > /tmp/mkt-show.json 2> /tmp/mkt-show.err; then
if npx --yes @vscode/vsce@4.1.1 show Cynrath.ackit-vscode --json > /tmp/mkt-show.json 2> /tmp/mkt-show.err; then
MKT_VER="$(node -p "JSON.parse(require('fs').readFileSync('/tmp/mkt-show.json','utf8')).versions?.[0]?.version ?? ''")"
if [ "${MKT_VER}" = "${RELEASE_VERSION}" ]; then
seen=1
Expand Down Expand Up @@ -532,8 +533,17 @@ jobs:
echo "::error::npm latest='${NPM_LATEST}' != '${RELEASE_VERSION}'"
exit 90
fi
npx --yes @vscode/vsce show Cynrath.ackit-vscode --json > /tmp/mkt-final.json
MKT_FINAL="$(node -p "JSON.parse(require('fs').readFileSync('/tmp/mkt-final.json','utf8')).versions?.[0]?.version ?? ''")"
MKT_FINAL=""
for attempt in $(seq 1 6); do
if npx --yes @vscode/vsce@4.1.1 show Cynrath.ackit-vscode --json > /tmp/mkt-final.json 2> /tmp/mkt-final.err; then
MKT_FINAL="$(node -p "JSON.parse(require('fs').readFileSync('/tmp/mkt-final.json','utf8')).versions?.[0]?.version ?? ''")"
if [ "${MKT_FINAL}" = "${RELEASE_VERSION}" ]; then
break
fi
fi
echo "final Marketplace read attempt ${attempt}/6: stale or unreadable; target ${RELEASE_VERSION}"
if [ "${attempt}" -lt 6 ]; then sleep 10; fi
done
if [ "${MKT_FINAL}" != "${RELEASE_VERSION}" ]; then
echo "::error::Marketplace latest='${MKT_FINAL}' != '${RELEASE_VERSION}'"
exit 91
Expand Down
45 changes: 42 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Changelog

Check notice on line 1 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / action smoke (uses ./)

ACKIT040: context-heavy file (~15174 estimated tokens)

All notable changes to ACKit (`@cynrath/agent-context-kit`) are documented in this file.

Expand All @@ -6,11 +6,50 @@

## [Unreleased]

## [0.5.5] - 2026-11-17

Compatible audit and reliability patch. Public CLI/SDK exports and offline
analysis remain unchanged; the corrections below restore documented behavior.

### Fixed

- GitHub Action threshold failures survive a successful CLI process exit;
policy-suppressed findings do not fail the Action. CLI errors and bounded
process failures remain failures, and SARIF uses the canonical 2.1.0 writer.
- The Action builds its exact source checkout with pinned Node/pnpm setup and a
frozen install, then runs offline against the consumer. Clean-tag consumers
no longer depend on missing ignored CLI files. Setup needs registry access;
no generated `dist` is tracked (ADR-0034).
- SDK scans run the built-in rule catalog by default and append trusted extra
rules. VS Code now receives real findings, keeps packaged SDK identity/templates
available in its CommonJS bundle, and confines finding paths to the workspace.
- Action setup locates its own pinned manifest relative to the consumer workspace;
VS Code serializes overlapping refreshes per root and publishes completed snapshots.
Consumer diagnostics redact canonical path aliases on macOS as well.
- MCP tool reference matches all 16 live input schemas; scan `ci` controls the
severity exit hint. CLI `--root` now binds MCP startup ahead of environment/cwd
fallback without reopening per-tool root overrides.
- CI propagates extension lint/unit/Electron failures, verifies schema drift and
CLI smoke, derives version/VSIX names, and audits actual packaged content/CRC.
Extension tests assert real runtime data; VSIX excludes source maps and tools.
- Final Marketplace verification retries stale/unreadable visibility reads within
a fixed bound and still fails closed unless the exact release version is seen.
- Repaired README links, SDK example/signatures and portable path fixtures;
documented the separate historical task namespace and truthful Docs7 blockers.

### Security

- Updated compatible MCP SDK/Zod versions and affected runtime transitives;
production dependency audit reports zero known advisories. Existing development
tool advisories are separately triaged in TASK-0101, not hidden or suppressed.
- Marketplace-first manual gate, npm OIDC/provenance, exact-tag identity and
immutable artifact checks remain in force. No credential or permission change.

### Added

- Context7 library parsing configuration and optional Docs7 Free documentation
site manifest, with a guide for owner claiming, verification and automatic refresh;
no CLI/runtime, package version or existing hosting changes.
site manifest, with a guide for ownership, verification and automatic refresh;
documentation hosting/account verification remains separate from offline runtime.
- Community integration docs for GitHub Spec Kit: new
`docs/guides/spec-kit-bridge.md`, README ecosystem section and docs index
link pointing at [`@cynrath/ackit-spec-kit-bridge`](https://github.com/Cynrath/ackit-spec-kit-bridge)
Expand Down Expand Up @@ -612,4 +651,4 @@

### Fixed
- Added NuGet package README metadata for local pack readiness.
- Refined self-scan stack accuracy so sample ASP.NET Core, Minimal API, TypeScript, and Tailwind CSS signals are not reported as the main repository stack.
- Refined self-scan stack accuracy so sample ASP.NET Core, Minimal API, TypeScript, and Tailwind CSS signals are not reported as the main repository stack.
Loading
Loading