ce1aece895
Internal SmartGift build of a Claude Code monitoring dashboard. Lanes: a durable unit of parallel agent work, one per working directory, tracked across session restarts. Managed lanes are git worktrees the dashboard provisions and can reset or remove behind a three-check destroy guard and a counted preflight; adopted lanes are directories you already own and are never destroyable. Pipelines: a lane moves through pipeline stages. A stage the agent declares with evidence renders green; a stage inferred from the tool-event stream renders dashed amber and never counts as done. Detection is forward-only within a 30-minute window, and never writes the declared stage. Workspace: one page at /run with a lane grid, the selected lane's pipeline, and a full Claude console behind a disclosure.
43 lines
3.2 KiB
JSON
43 lines
3.2 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(npm run:*)",
|
|
"Bash(cd client:*)",
|
|
"Bash(git add:*)",
|
|
"Bash(git:*)",
|
|
"Bash(node --test server/lib/__tests__/transcript-cache.test.js)",
|
|
"Bash(node -e \"const r = require\\(''''./server/routes/hooks''''\\); console.log\\(''''router type:'''', typeof r\\); console.log\\(''''transcriptCache exists:'''', !!r.transcriptCache\\); console.log\\(''''transcriptCache has extract:'''', typeof r.transcriptCache?.extract\\);\")",
|
|
"Bash(node -e \"const r = require\\(''''./server/routes/hooks''''\\); console.log\\(''''router type:'''', typeof r\\); console.log\\(''''transcriptCache exists:'''', Boolean\\(r.transcriptCache\\)\\); console.log\\(''''transcriptCache has extract:'''', typeof \\(r.transcriptCache && r.transcriptCache.extract\\)\\);\")",
|
|
"Bash(node -e \"const { transcriptCache } = require\\(''./server/routes/hooks''\\); console.log\\(''transcriptCache exists:'', Boolean\\(transcriptCache\\)\\); console.log\\(''has extract:'', typeof \\(transcriptCache && transcriptCache.extract\\)\\); console.log\\(''has extractCompactions:'', typeof \\(transcriptCache && transcriptCache.extractCompactions\\)\\); console.log\\(''has invalidate:'', typeof \\(transcriptCache && transcriptCache.invalidate\\)\\); console.log\\(''has stats:'', typeof \\(transcriptCache && transcriptCache.stats\\)\\);\")",
|
|
"Bash(npx tsc:*)",
|
|
"Bash(npx --prefix client tsc --noEmit -p client/tsconfig.json)",
|
|
"Bash(node -e \":*)",
|
|
"Bash(wc:*)",
|
|
"Bash(grep -E \"\\\\.js$\")",
|
|
"Bash(npm install:*)",
|
|
"Bash(./node_modules/.bin/tsc --noEmit)",
|
|
"Bash(npx vite:*)",
|
|
"Bash(node -e \"const p = require\\(''./package.json''\\); console.log\\(''deps:'', Object.keys\\(p.dependencies || {}\\).length\\); console.log\\(Object.keys\\(p.dependencies || {}\\).join\\('', ''\\)\\)\")",
|
|
"Bash(npx prettier:*)",
|
|
"Bash(node scripts/seed.js)",
|
|
"Bash(lsof -ti:4820)",
|
|
"Bash(xargs kill:*)",
|
|
"Bash(lsof -ti:5173)",
|
|
"Bash(lsof -ti:5174)",
|
|
"Bash(curl -s http://localhost:4820/api/health)",
|
|
"Bash(node -e \"require\\('./server/lib/transcript-cache'\\); console.log\\('transcript-cache OK'\\)\")",
|
|
"Bash(python3:*)",
|
|
"Bash(node -c scripts/import-history.js)",
|
|
"Bash(node -e \"const m = require\\('./scripts/import-history'\\); console.log\\(Object.keys\\(m\\).sort\\(\\).join\\(', '\\)\\)\")",
|
|
"Bash(node -e \"const TC = require\\('./server/lib/transcript-cache'\\); const tc = new TC\\(\\); console.log\\('transcript-cache loaded OK, methods:', Object.getOwnPropertyNames\\(TC.prototype\\).filter\\(n => n !== 'constructor'\\).join\\(', '\\)\\)\")",
|
|
"Bash(node -e \"try { require\\('./server/routes/hooks'\\); } catch\\(e\\) { console.log\\('Expected error \\(db not available in isolation\\):', e.message.slice\\(0, 100\\)\\); }\")",
|
|
"Bash(node --check server/routes/hooks.js)",
|
|
"Bash(node --check server/lib/transcript-cache.js)",
|
|
"Bash(node -e ':*)",
|
|
"Bash(node -e \"require\\('./server/lib/transcript-cache'\\); require\\('./scripts/import-history'\\); console.log\\('All modules load OK'\\)\")",
|
|
"Bash(claude --version)",
|
|
"Bash(gh pr *)"
|
|
]
|
|
}
|
|
}
|