ajmallesh
27334a4dd6
feat: implement unified audit system v3.0 with crash-safety and self-healing
...
## Unified Audit System (v3.0)
- Implemented crash-safe, append-only logging to audit-logs/{hostname}_{sessionId}/
- Added session.json with comprehensive metrics (timing, cost, attempts)
- Agent execution logs with turn-by-turn detail
- Prompt snapshots saved to audit-logs/.../prompts/{agent}.md
- SessionMutex prevents race conditions during parallel execution
- Self-healing reconciliation before every CLI command
## Session Metadata Standardization
- Fixed critical bug: standardized on 'id' field (not 'sessionId') throughout codebase
- Updated: shannon.mjs (recon, report), src/phases/pre-recon.js
- Added validation in AuditSession to fail fast on incorrect field usage
- JavaScript shorthand syntax was causing wrong field names
## Schema Improvements
- session.json: Added cost_usd per phase, removed redundant final_cost_usd
- Renamed 'percentage' -> 'duration_percentage' for clarity
- Simplified agent metrics to single total_cost_usd field
- Removed unused validation object from schema
## Legacy System Removal
- Removed savePromptSnapshot() - prompts now only saved by audit system
- Removed target repo pollution (prompt-snapshots/ no longer created)
- Single source of truth: audit-logs/{hostname}_{sessionId}/prompts/
## Export Script Simplification
- Removed JSON export mode (session.json already exists)
- CSV-only export with clean columns: agent, phase, status, attempts, duration_ms, cost_usd
- Tested on real session data
## Documentation
- Updated CLAUDE.md with audit system architecture
- Added .gitignore entry for audit-logs/
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-22 16:09:08 -07:00
ajmallesh
a9e00ca19f
chore: remove screenshot saving from Playwright MCP instances
...
Remove unnecessary screenshot storage to reduce file I/O and disk usage:
- Removed screenshot directory creation
- Removed --output-dir flag from Playwright MCP setup
- Agents can still take screenshots, but they won't persist to disk
Screenshots were not being used by any part of Shannon for analysis
or reporting, making their storage unnecessary overhead.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-22 12:15:47 -07:00
ajmallesh
e1237416f5
chore: remove permanent deliverables copying to Documents folder
...
Simplified deliverable management by removing automatic copying to ~/Documents/pentest-deliverables/. All deliverables now remain only in <target-repo>/deliverables/, eliminating file duplication and improving UX.
Changes:
- Removed savePermanentDeliverables() function from src/setup/deliverables.js
- Removed function call and related console output from shannon.mjs
- Removed unused 'os' import from deliverables.js
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-22 12:11:48 -07:00
ajmallesh
ac682b0172
chore: save deliverable script decoupling deliverable creation from the actual content
2025-10-22 11:31:58 -07:00
ajmallesh
66c549f3b7
chore: upgrade model from Sonnet 4 -> Sonnet 4.5
2025-10-21 16:34:56 -07:00
ajmallesh
3a8b7ae496
Merge pull request #1 from Khaushik-keygraph/main
...
chore: added logging
2025-10-21 09:16:59 -07:00
Khaushik-keygraph
e0ff1453a5
chore: optimized logging
2025-10-17 13:59:34 +05:30
Khaushik-keygraph
46a30fd8c9
chore: added logging
2025-10-17 13:52:13 +05:30
Khaushik-keygraph
80747a0204
Update README.md
2025-10-09 15:54:04 +05:30
Khaushik-keygraph
bbd9db2a61
fix: renamed agent filename
2025-10-08 23:49:16 +05:30
ajmallesh
770dae387a
docs: update Discord invite link to infinite expiry
...
Updated Discord invite links in README.md to use a permanent invite link
that will not expire.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-07 14:10:55 -07:00
keygraphVarun
0c446382e6
Update README.md
2025-10-07 13:50:31 -07:00
keygraphVarun
d72222dcb9
Update README.md
2025-10-07 13:09:29 -07:00
keygraphVarun
851752bcc1
Update README.md
2025-10-07 12:59:22 -07:00
keygraphVarun
d30553d7dd
Create SHANNON-PRO.md
2025-10-07 12:49:33 -07:00
keygraphVarun
8490196c78
Add files via upload
...
gif
2025-10-07 12:47:04 -07:00
keygraphVarun
7e0ca8c49d
Add files via upload
...
assets
2025-10-07 11:51:31 -07:00
keygraphVarun
1fe4c1f828
Update README.md
...
italics
2025-10-06 18:28:11 -07:00
keygraphVarun
59e7e3c586
Update README.md
...
typo
2025-10-06 18:27:00 -07:00
keygraphVarun
7c4559d4aa
Update LICENSE
...
Simplified
2025-10-06 18:25:18 -07:00
keygraphVarun
96eee1c3b6
Update README.md
...
fixes
2025-10-06 18:20:41 -07:00
ajmallesh
8f52722d56
Initial commit
...
Co-Authored-By: Nellie Mullane <nellie@keygraph.io >
2025-10-03 19:35:08 -07:00