Skip to content

E2E covers 5 of 14 tools on a real host: characterization matrix for the nine untested tools and viewer routes #241

Closed

Description

@abogartz

Finding

The end-to-end layer is four test files, 22 test blocks, against 751 unit blocks. The tools exercised on a real pinned opencode host are memory_remember, memory_recall, memory_forget, memory_list and memory_status - five of fourteen. Never exercised end-to-end: memory_update, memory_undo, memory_export, memory_import, memory_decay, memory_consolidate, memory_merge_review, memory_evidence, memory_init. No viewer route has an e2e scenario.

Mitigating: e2e/store.test.ts pins the write-gate verdicts on a real host (exact-duplicate collapse, near-duplicate review gate, ungrounded block, forget audit trail), and #69 built scenario coverage for the destructive seams. What is missing is specification-first coverage of the host-facing contract for the remaining tools: registration, schema serialization, result shaping, hook interaction.

This is a process gap: the unit layer specified behaviour first at module level, but the host-facing contract was never specified at all for nine tools. It gates the behaviour-changing tickets (index.ts split, gate decomposition, viewer changes): characterization coverage of a flow lands before the flow changes.

Fix direction

  1. Add real-host scenarios for the nine untested tools and the viewer routes, pinning current behaviour (characterization), following the Testing-1: acceptance scenario suite for the destructive seams — red on the pre-fix commit, green on main #69 scenario-suite approach.
  2. Add a mechanical gate check: every registered tool and event hook has a named e2e scenario, so the gap cannot silently reopen.

Source

Owner follow-up to the 2026-11-01 synthesis; neither architecture review filed it. Related: #68 (test-integrity epic), #69 (scenario suite, closed).

Activity

  1. added
    enhancement
    test-integrity
    severity:high
    on Nov 1, 2026
  2. self-assigned this
    on Nov 1, 2026
  3. abogartz commented on Nov 1, 2026

    @abogartz
    OwnerAuthor

    Claiming. Starting with characterization scenarios for the nine untested tools, then the viewer routes, then the mechanical registration-vs-scenario gate check.

  4. abogartz commented on Nov 1, 2026

    @abogartz
    OwnerAuthor

    Claimed and implemented in PR #243 (branch test/e2e-241-characterization, head d9be220). All 9 tools + viewer routes + compaction hook covered on real hosts; mechanical registration-vs-scenario gate in e2e/coverage.test.ts; MEMORY_TOOLS drift (missing memory_update) fixed. CI green (one unrelated ubuntu busy-file unit flake, rerun green, filed as #245).

  5. added a commit that references this issue on Nov 1, 2026
  6. abogartz-opencode-self-improvement commented on Nov 1, 2026

    @abogartz-opencode-self-improvement

    🎉 This issue has been resolved in version 0.15.5 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementreleasedseverity:hightest-integrity

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions