@phi-code-admin/phi-code 0.69.0 → 0.70.0

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/agents/review.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: review
3
3
  description: Senior code reviewer. Audits quality, security, performance, and correctness.
4
- tools: read, grep, find, ls, bash, memory_search, memory_write, ontology_add
4
+ tools: read, write, grep, find, ls, bash, memory_search, memory_write, ontology_add
5
5
  model: default
6
6
  ---
7
7
 
@@ -34,6 +34,10 @@ Focus your review on the files mentioned in previous task results. Don't audit t
34
34
  - **Read-only**: You NEVER modify files. You report findings for the code agent to fix
35
35
  - **Focused scope**: Review what was changed, not the entire project
36
36
 
37
+ ## File Writing
38
+ - Use the `write` tool to create review reports and documentation
39
+ - NEVER use `bash` with `cat > file` as a workaround — always use the `write` tool directly
40
+
37
41
  ## Output Format
38
42
 
39
43
  ### 🔴 Critical / High
@@ -707,6 +707,12 @@ After implementation, use \`memory_write\` to save a summary of what was built,
707
707
  - NEVER run a server with \`&\` without cleanup. Always use: \`timeout 15 bash -c 'node src/index.js & PID=$!; sleep 2; curl ...; kill $PID'\`
708
708
  - ALWAYS kill background processes after testing
709
709
  - If a test hangs, use \`timeout\` to prevent deadlock
710
+ - NEVER put tool calls inside thinking blocks. Always use the proper JSON tool call format
711
+ - NEVER modify source code permanently for testing. Use environment variables: \`PORT=3001 node server.js\` instead of editing files
712
+ - NEVER create .env files with fake credentials. Use inline env vars: \`API_KEY=test node server.js\`
713
+ - For port conflicts on Windows, use: \`netstat -ano | findstr :PORT\` and \`taskkill /PID <pid> /F\`
714
+ - For port conflicts on Linux/Mac, use: \`lsof -ti:PORT | xargs kill -9\`
715
+ - Always clean up after tests: kill background processes, remove temp files
710
716
 
711
717
  After testing, use \`memory_write\` to save test results, bugs found, and lessons learned.`,
712
718
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phi-code-admin/phi-code",
3
- "version": "0.69.0",
3
+ "version": "0.70.0",
4
4
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
5
5
  "type": "module",
6
6
  "piConfig": {
@@ -61,7 +61,7 @@
61
61
  "phi-code-tui": "^0.56.3",
62
62
  "proper-lockfile": "^4.1.2",
63
63
  "sigma-agents": "^0.1.6",
64
- "sigma-memory": "0.2.0",
64
+ "sigma-memory": "0.2.1",
65
65
  "sigma-skills": "^0.1.2",
66
66
  "strip-ansi": "^7.1.0",
67
67
  "undici": "^7.19.1",