Limit per-attempt configuration to model limits relevant to the task #1510

Closed
opened 2026-10-27 13:40:41 +00:00 by sam · 0 comments
Owner

Config.ForTask clones the complete ModelLimits catalog into TaskConfig. captureAttemptConfig stores that whole document as a config_captured event on each attempt, and task events and Debug return it verbatim. An inspected task carried 591 model-limit entries occupying approximately 64 KB, almost its entire debug response. Keep the configuration needed by the task without copying irrelevant catalog entries into every attempt. Acceptance: task snapshots contain limits needed by selected or dynamically resolved workflow models; workflow model resolution remains correct; the per-attempt event and debug payload no longer include the complete provider catalog. Check the dispatch/runtime consumers before narrowing the snapshot.

Close reason

ForTask keeps limits only for aliased models


Imported from beads archie-core-pemf · GitHub #1286 · type bug · priority P2 · created 2026-10-05 · closed 2026-10-13

Config.ForTask clones the complete ModelLimits catalog into TaskConfig. captureAttemptConfig stores that whole document as a config_captured event on each attempt, and task events and Debug return it verbatim. An inspected task carried 591 model-limit entries occupying approximately 64 KB, almost its entire debug response. Keep the configuration needed by the task without copying irrelevant catalog entries into every attempt. Acceptance: task snapshots contain limits needed by selected or dynamically resolved workflow models; workflow model resolution remains correct; the per-attempt event and debug payload no longer include the complete provider catalog. Check the dispatch/runtime consumers before narrowing the snapshot. ### Close reason ForTask keeps limits only for aliased models --- _Imported from beads `archie-core-pemf` · GitHub #1286 · type bug · priority P2 · created 2026-10-05 · closed 2026-10-13_
sam added the mediumbug labels 2026-10-27 13:40:41 +00:00
sam self-assigned this 2026-10-27 13:40:41 +00:00
sam closed this issue 2026-10-27 13:40:41 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1510