De-fork e2e: trace-golden harness (session trace as behavioral snapshot oracle)

Open
#1,012 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
devtools, testing

Research direction

Read docs/internal/2026-07-18-trace-golden-e2e-technique.md and the packages/opencode/test/altimate/trace-golden/{normalize,match,driver}.ts entry points first. Then inspect the scenarios and confirm that scripted headless-session traces are normalized and partial-order-matched against committed goldens. Done means coverage of the stated S5 native/plugin parity and S7 continuation invariants without product changes or treating tracing as an S3 security oracle.

Written by the indexing model from the issue text.

Description

Novel e2e technique: drive a real headless session with a scripted model, capture the emitted trace, normalize (allowlist projection), and partial-order-match against a committed golden. Codex-scoped to S5 observable native/plugin parity + S7 continuation invariants (NOT an S3 security oracle — tracing is failure-suppressing). Files: packages/opencode/test/altimate/trace-golden/{normalize,match,driver}.ts + scenarios. Technique doc: docs/internal/2026-07-18-trace-golden-e2e-technique.md. Test/infra only, zero product changes.

Dominant language
TypeScript
Stars
813
Forks
134
Avg merge
2d 5h
Merged PRs (30d)
62

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AltimateAI/altimate-code

All issues in AltimateAI/altimate-code

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.