@dadado/agent-kit-cli 5.11.0 → 5.12.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.
@@ -19,6 +19,7 @@ import {
19
19
  FIELD_REPORT_CADENCE_LEDGER_REL,
20
20
  FLIGHT_LOG_LEDGER_REL,
21
21
  MAX_AGENT_PROMPTS,
22
+ MAX_EXTERNAL_REPORTS,
22
23
  MAX_GIT_ACTIVITY,
23
24
  MISSION_TIMING_LEDGER_REL,
24
25
  SUBAGENT_TRANSCRIPT_FILE_RE,
@@ -87,7 +88,8 @@ const MAX_TRANSCRIPT_BYTES = 1024 * 1024; // skip oversized transcripts, degrade
87
88
  const TRANSCRIPT_RECENCY_MS = 30 * 24 * 60 * 60 * 1000; // 30-day recency window
88
89
 
89
90
  // External review report scan bounds (fs half of the triage contract).
90
- const MAX_REPORT_FILES = 20; // cap memory reads per snapshot
91
+ // SoT for the count is MAX_EXTERNAL_REPORTS (semantic-model); keep fs read cap equal.
92
+ const MAX_REPORT_FILES = MAX_EXTERNAL_REPORTS;
91
93
  const MAX_REPORT_BYTES = 512 * 1024; // skip oversized reports, degrade quietly
92
94
  const REPORT_RECENCY_MS = 90 * 24 * 60 * 60 * 1000; // 90-day recency window
93
95
 
@@ -67,10 +67,11 @@ export const PROMPT_RESUME_GUIDANCE =
67
67
  // Cap for agent prompts merged into the Field Report attention stack.
68
68
  export const MAX_AGENT_PROMPTS = 8;
69
69
 
70
- // Max external review reports surfaced in Field Report. Aligned with
71
- // MAX_REPORT_FILES in dashboard-data.mjs so the surfacing cap never truncates
72
- // below what the snapshot already read. External review is post-hoc, so most
73
- // rows land as review debt; a low cap silently drops that owed triage.
70
+ // Max external review reports surfaced in Field Report. SoT for the count:
71
+ // dashboard-data.mjs sets MAX_REPORT_FILES = MAX_EXTERNAL_REPORTS so the fs
72
+ // read cap never truncates below what buildExternalReportItems can surface.
73
+ // External review is post-hoc, so most rows land as review debt; a low cap
74
+ // silently drops that owed triage.
74
75
  export const MAX_EXTERNAL_REPORTS = 20;
75
76
 
76
77
  // Max readiness advisories merged into the Field Report attention stack.