pi-crew 0.5.22 → 0.5.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1382,3 +1382,22 @@ correctness+error-handling, and performance+architecture audits across 77 source
1382
1382
 
1383
1383
  - Initial scaffold for `pi-crew`.
1384
1384
  - Added Pi package manifest, extension entry, minimal team tool, slash commands, builtin resources, and documentation placeholders.
1385
+
1386
+ ## [0.5.23] — Documentation & CI Update (2026-06-03)
1387
+
1388
+ ### Highlights
1389
+ - **CI typecheck re-enabled** — was disabled with stale comment about tsconfig errors
1390
+ - All docs updated to v0.5.22 references
1391
+
1392
+ ### Documentation
1393
+ - README.md: version stamp v0.5.22, updated security highlights (12 items)
1394
+ - SECURITY-ISSUES.md: added v0.5.17–v0.5.22 security fix summary
1395
+ - SECURITY-AUDIT.md: scope updated to v0.5.22
1396
+ - docs/architecture.md: v0.5.22, 38 rounds of review
1397
+ - docs/pi-crew-bugs.md: v0.5.22 + historical note
1398
+ - docs/TEST_MATRIX.md: test count updated to 2703
1399
+ - docs/deep-review-report.md: marked historical
1400
+ - docs/migration-v0.4-v0.5.md: drop-in replacement note
1401
+
1402
+ ### CI
1403
+ - `.github/workflows/ci.yml`: typecheck step re-enabled (was disabled since v0.3.x)
package/README.md CHANGED
@@ -9,18 +9,22 @@ npm: pi-crew
9
9
  repo: https://github.com/baphuongna/pi-crew
10
10
  ```
11
11
 
12
- **v0.5.15**: See [CHANGELOG.md](CHANGELOG.md).
12
+ **v0.5.22**: See [CHANGELOG.md](CHANGELOG.md).
13
13
 
14
- ### Security highlights (v0.5.5)
14
+ ### Security highlights (v0.5.22)
15
15
 
16
16
  - **ReDoS-free secret redaction** — linear-time scanning in `redaction.ts`; no catastrophic backtracking
17
17
  - **v8.deserialize hardened** — `BINARY_MAGIC` header guards on registry binaries prevent untrusted-file RCE
18
18
  - **Cache lock protection** — `withFileLockSync` and atomic writes across `run-cache.ts` and `state-store.ts`
19
- - **Shell injection prevented** — shell-metacharacter blocking in `benchmark-runner.ts`
19
+ - **Shell injection prevented** — `execFileSync` with array args everywhere (no shell-interpreted strings)
20
+ - **Safe-bash line-continuation hardening** — `$\n(evil)` command substitution bypass blocked
21
+ - **Sandbox prototype isolation** — `Object.freeze` scoped to VM context (not host process)
22
+ - **Path traversal mitigated** — `resolveContainedPath`/`resolveRealContainedPath` across all file ops
20
23
  - **TOCTOU-free file ops** — atomic `mkdirSync` in `crew-init.ts`; `realpath`-based path validation
21
- - **Memory leaks capped** — `MAX_HANDOFFS_PER_ANCHOR=100`, `MAX_DELIVERY_MESSAGES=10000`, `MAX_RUNS=1000`
24
+ - **Memory leaks capped** — Maps, Sets, arrays bounded with eviction across all modules
22
25
  - **Inline secret detection** — `token=`, `api_key=`, `password=` patterns redacted at event/mailbox boundaries
23
- - **Subagent log scrubbing** — pre-aborted signal logging no longer dumps unredacted params
26
+ - **CI exit code enforced** — `test-runner.mjs` wrapper ensures non-zero exit on failures
27
+ - **38 audit rounds, 160+ issues fixed** — 3 CRITICAL + 6 HIGH + 3 MEDIUM security issues resolved
24
28
 
25
29
  See [SECURITY-ISSUES.md](SECURITY-ISSUES.md) for the full list (SEC-001 – SEC-007 all marked fixed).
26
30
 
@@ -16,7 +16,7 @@ Maps pi-crew behavior to proof. Every row must have real validation evidence.
16
16
 
17
17
  | Story | Contract | Unit | Integration | CI | Status | Evidence |
18
18
  |-------|----------|------|-------------|-----|--------|----------|
19
- | Core team run | `docs/product/team-run.md` | yes | yes | yes 3/3 | implemented | 1655 tests pass (268 unit + 14 integration files) |
19
+ | Core team run | `docs/product/team-run.md` | yes | yes | yes 3/3 | implemented | 2703 tests pass (133 suites) |
20
20
  | Child process runner | `docs/product/child-process.md` | yes | yes | yes 3/3 | implemented | child-pi-pool.test.ts, child-pi-timeout.test.ts, mock-child-run.test.ts |
21
21
  | Async runner | `docs/product/async-runner.md` | yes | yes | yes 3/3 | implemented | async-runner.test.ts, async-restart-recovery.test.ts |
22
22
  | Live session | `docs/product/live-session.md` | yes | no | yes 3/3 | implemented | live-session-context.test.ts, live-session-runtime.test.ts |
@@ -2,7 +2,7 @@
2
2
 
3
3
  `pi-crew` is a Pi package for coordinated multi-agent work. It is intentionally durable-first: every run is represented on disk, every task has a state record, and child workers stream progress into JSONL/status files so foreground sessions, background jobs, dashboards, and later restarts all read the same source of truth.
4
4
 
5
- **Current version:** v0.5.513 rounds of code review hardening (see [CHANGELOG.md](../CHANGELOG.md) and [pi-crew-v0.5.5-audit-fix-plan.md](pi-crew-v0.5.5-audit-fix-plan.md)).
5
+ **Current version:** v0.5.2238 rounds of code review hardening (see [CHANGELOG.md](../CHANGELOG.md)).
6
6
 
7
7
  ## Layers
8
8
 
@@ -1,7 +1,7 @@
1
1
  # pi-crew Deep Review Report
2
2
 
3
3
  **Project:** pi-crew
4
- **Version:** v0.5.2
4
+ **Version:** v0.5.2 *(historical — current version is v0.5.22)*
5
5
  **Review Date:** 2026-05-28
6
6
  **Updated:** 2026-05-29
7
7
  **Reviewers:** Security Reviewer, Code Reviewer, Documentation Reviewer
@@ -2,7 +2,7 @@
2
2
 
3
3
  **Author:** pi-crew team
4
4
  **Date:** 2026-06-01
5
- **Version:** 0.5.5
5
+ **Version:** 0.5.5 *(covers v0.4→v0.5 migration; later v0.5.x versions are drop-in replacements)*
6
6
 
7
7
  ---
8
8
 
@@ -1,6 +1,7 @@
1
1
  # Historical Bug Reports (v0.2.x)
2
2
 
3
- > **Current version: v0.5.2** — See [CHANGELOG.md](../CHANGELOG.md) for all bug fixes.
3
+ > **Current version: v0.5.22** — See [CHANGELOG.md](../CHANGELOG.md) for all bug fixes.
4
+ > This page tracks historical bugs from v0.2.x. All listed bugs are fixed.
4
5
 
5
6
  ---
6
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-crew",
3
- "version": "0.5.22",
3
+ "version": "0.5.23",
4
4
  "description": "Pi extension for coordinated AI teams, workflows, worktrees, and async task orchestration",
5
5
  "author": "baphuongna",
6
6
  "license": "MIT",