Skip to content

fix: expand experience card budgets and report exact size failures - #4

Merged
kyy-logs merged 1 commit into
mainfrom
codex/experience-card-budget
Oct 12, 2026
Merged

kyy-logs merged 1 commit into
mainfrom
codex/experience-card-budget

Conversation

@kyy-logs

Copy link
Copy Markdown
Owner

Raise the full stored experience-card limit and the product catalog detail-response limit from 2 KiB to 4 KiB. Keep catalog/input/action budgets and the one-detail-read allowance unchanged; reserve text space for program-generated metadata in the extraction prompt.

Report invalid_card_size with needed_bytes, limit_bytes and exceeded_bytes measured after all validated references, normalized tags and controlled triggers are added. Propagate numeric diagnostics to CLI, events and the learn trace span without echoing model content.

Validation: related offline regression 142 passed / 1 skipped; trace viewer 8 passed. Tests cover a valid 2308-byte card writing and reading, exact 4096/4097 boundaries, final metadata measurement, CLI/event/trace propagation and unchanged main results. No live provider, real 8906 rerun or full-suite rerun claimed. See docs/reviews/2026-10-12-experience-card-budget-acceptance.md.

@kyy-logs
kyy-logs merged commit aec68bf into main Oct 12, 2026
0 of 36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant