[PR #127] [MERGED] fix: improve large deliverable handling and audit trail #131

Closed
opened 2026-02-27 08:09:24 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/KeygraphHQ/shannon/pull/127
Author: @ajmallesh
Created: 2/12/2026
Status: Merged
Merged: 2/12/2026
Merged by: @ajmallesh

Base: mainHead: fix/large-deliverable-handling-v2


📝 Commits (3)

  • 983010c fix: add chunked writing instructions to all agent prompts
  • de87940 feat: copy deliverables to audit-logs for self-contained audit trail
  • 6f79ce1 fix: restore CLAUDE_CODE_MAX_OUTPUT_TOKENS env var support

📊 Changes

18 files changed (+124 additions, -16 deletions)

View changed files

📝 .env.example (+3 -0)
📝 README.md (+2 -0)
📝 docker-compose.yml (+1 -0)
📝 prompts/exploit-auth.txt (+6 -1)
📝 prompts/exploit-authz.txt (+6 -1)
📝 prompts/exploit-injection.txt (+6 -1)
📝 prompts/exploit-ssrf.txt (+6 -1)
📝 prompts/exploit-xss.txt (+6 -1)
📝 prompts/pre-recon-code.txt (+6 -1)
📝 prompts/recon.txt (+5 -2)
📝 prompts/vuln-auth.txt (+6 -1)
📝 prompts/vuln-authz.txt (+6 -1)
📝 prompts/vuln-injection.txt (+6 -1)
📝 prompts/vuln-ssrf.txt (+6 -1)
📝 prompts/vuln-xss.txt (+6 -1)
📝 src/ai/claude-executor.ts (+3 -1)
📝 src/audit/utils.ts (+36 -1)
📝 src/temporal/activities.ts (+8 -1)

📄 Description

Summary

  • Add chunked writing instructions to all agent prompts to handle large reports
  • Copy deliverables to audit-logs directory for self-contained audit trails
  • Restore CLAUDE_CODE_MAX_OUTPUT_TOKENS env var support for SDK subprocesses

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/KeygraphHQ/shannon/pull/127 **Author:** [@ajmallesh](https://github.com/ajmallesh) **Created:** 2/12/2026 **Status:** ✅ Merged **Merged:** 2/12/2026 **Merged by:** [@ajmallesh](https://github.com/ajmallesh) **Base:** `main` ← **Head:** `fix/large-deliverable-handling-v2` --- ### 📝 Commits (3) - [`983010c`](https://github.com/KeygraphHQ/shannon/commit/983010c95711d1449214eb18af1a96e83e614121) fix: add chunked writing instructions to all agent prompts - [`de87940`](https://github.com/KeygraphHQ/shannon/commit/de879402b90d6781003de74166e90be3c7c48292) feat: copy deliverables to audit-logs for self-contained audit trail - [`6f79ce1`](https://github.com/KeygraphHQ/shannon/commit/6f79ce18d204ded9f9a32a81997b776b6b48198b) fix: restore CLAUDE_CODE_MAX_OUTPUT_TOKENS env var support ### 📊 Changes **18 files changed** (+124 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+3 -0) 📝 `README.md` (+2 -0) 📝 `docker-compose.yml` (+1 -0) 📝 `prompts/exploit-auth.txt` (+6 -1) 📝 `prompts/exploit-authz.txt` (+6 -1) 📝 `prompts/exploit-injection.txt` (+6 -1) 📝 `prompts/exploit-ssrf.txt` (+6 -1) 📝 `prompts/exploit-xss.txt` (+6 -1) 📝 `prompts/pre-recon-code.txt` (+6 -1) 📝 `prompts/recon.txt` (+5 -2) 📝 `prompts/vuln-auth.txt` (+6 -1) 📝 `prompts/vuln-authz.txt` (+6 -1) 📝 `prompts/vuln-injection.txt` (+6 -1) 📝 `prompts/vuln-ssrf.txt` (+6 -1) 📝 `prompts/vuln-xss.txt` (+6 -1) 📝 `src/ai/claude-executor.ts` (+3 -1) 📝 `src/audit/utils.ts` (+36 -1) 📝 `src/temporal/activities.ts` (+8 -1) </details> ### 📄 Description ## Summary - Add chunked writing instructions to all agent prompts to handle large reports - Copy deliverables to audit-logs directory for self-contained audit trails - Restore CLAUDE_CODE_MAX_OUTPUT_TOKENS env var support for SDK subprocesses --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 08:09:24 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shannon-KeygraphHQ#131
No description provided.