Skip to content

Implementation Plan: T5-P3-A3-WP1 Establish Committed Fixture Foundation for B3a Deterministic Conformance#4137

Merged
Trecek merged 3 commits into
developfrom
t5-p3-a3-wp1-establish-the-committed-fixture-foundation-for/4010
Jun 28, 2026
Merged

Implementation Plan: T5-P3-A3-WP1 Establish Committed Fixture Foundation for B3a Deterministic Conformance#4137
Trecek merged 3 commits into
developfrom
t5-p3-a3-wp1-establish-the-committed-fixture-foundation-for/4010

Conversation

@Trecek

@Trecek Trecek commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

Create 21 committed JSON fixture files and 2 Python package init files under tests/execution/backends/fixtures/codex_ndjson/ to seal the contract boundary between Codex CLI NDJSON output and the production parser. This includes 9 event schemas (one per non-UNKNOWN CodexEventType), 10 item schemas (one per non-UNKNOWN CodexItemType), a hook event format snapshot bound to HOOK_REGISTRY_HASH, and a config.toml schema template. Also updates .autoskillit/test-filter-manifest.yaml with a glob pattern for the new JSON fixture files. No source code or test files are modified — this WP produces only fixture data consumed by P3-A3-WP3's conformance tests.

Closes #4010

Implementation Plan

Plan file: /home/talon/projects/autoskillit-runs/impl-20260628-005721-828122/.autoskillit/temp/make-plan/t5-p3-a3-wp1-establish-fixture-foundation_plan_2026-06-28_010600.md

🤖 Generated with Claude Code via AutoSkillit

Token Usage Summary

Step Model count uncached output cache_read peak_ctx turns cache_write time
plan* opus[1m] 1 1.3k 22.1k 1.4M 105.1k 40 86.5k 14m 4s
verify* sonnet 1 68 7.3k 356.6k 58.3k 23 39.8k 4m 6s
implement* MiniMax-M3 1 68.3k 12.4k 1.6M 0 108 0 5m 29s
audit_impl* sonnet 1 62 14.3k 250.9k 51.9k 19 47.6k 7m 47s
prepare_pr* MiniMax-M3 1 47.4k 2.5k 161.7k 49.1k 14 0 1m 32s
compose_pr* MiniMax-M3 1 36.7k 1.3k 177.2k 0 14 0 31s
review_pr* sonnet 1 132 28.1k 941.9k 89.0k 56 71.1k 6m 47s
resolve_review* sonnet 1 181 11.9k 1.3M 74.4k 51 56.5k 6m 15s
Total 154.2k 99.9k 6.2M 105.1k 301.5k 46m 34s

* Step used a non-Anthropic provider; caching behavior may differ.

Token Efficiency

Step LoC Changed cache_read/LoC cache_write/LoC output/LoC
plan 0
verify 0
implement 719 2245.0 0.0 17.2
audit_impl 0
prepare_pr 0
compose_pr 0
review_pr 0
resolve_review 0
Total 719 8586.0 419.4 139.0

Model Usage Breakdown

Model steps uncached output cache_read cache_write time
opus[1m] 1 1.3k 22.1k 1.4M 86.5k 14m 4s
sonnet 4 443 61.6k 2.8M 215.0k 24m 56s
MiniMax-M3 3 152.4k 16.2k 2.0M 0 7m 33s

Trecek added 3 commits June 28, 2026 01:47
Establish tests/execution/backends/fixtures/codex_ndjson/ as the home
for B3a deterministic conformance JSON Schema fixtures. The package
exports FIXTURE_SCHEMA_VERSION and fixture_schema_path() helper.

Also registers the new fixtures glob in .autoskillit/test-filter-manifest.yaml
so changes to any codex_ndjson JSON file trigger the execution/ test path.
Add 19 JSON Schema draft-7 fixtures that bijectively cover the
non-UNKNOWN members of CodexEventType (9 schemas) and CodexItemType
(10 schemas). Each schema declares additionalProperties: false to
seal the parser contract boundary; new CLI-emitted fields trigger a
fixture refresh review per B3a requirements.

Event schemas encode the parser-required keys per type
(thread_id, payload.id, item, usage, error, etc.), and item schemas
encode sub-object shapes for agent_message, message, file_change,
and the 7 minimal-payload item types.
Seal two derived-data fixtures for B3a conformance:

* hook_event_format_snapshot.json — captures generate_codex_hooks_config()
  output keyed by _registry_hash bound to HOOK_REGISTRY_HASH. Trusted
  hashes are sanitized to a deterministic sentinel and command paths
  replaced with a placeholder so the fixture is portable across hosts.

* config_toml_schema_template.json — declares the four
  CODEX_MCP_REQUIRED_KEYS with their expected Python types and the
  two top-level token limit floors (tool_output_token_limit >= 50000,
  model_auto_compact_token_limit >= 999999999) using a
  'constraint: minimum' annotation so WP3 conformance tests compare
  with >= rather than equality.
@Trecek Trecek force-pushed the t5-p3-a3-wp1-establish-the-committed-fixture-foundation-for/4010 branch from 035f992 to 54416ec Compare June 28, 2026 08:47
@Trecek Trecek added this pull request to the merge queue Jun 28, 2026
Merged via the queue into develop with commit f7e5980 Jun 28, 2026
3 checks passed
@Trecek Trecek deleted the t5-p3-a3-wp1-establish-the-committed-fixture-foundation-for/4010 branch June 28, 2026 08:58
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