Skip to content

[MM-00] Define versioned memory benchmark manifest and artifacts #779

Closed

Description

@bug-superman

MM-00: Define versioned memory benchmark manifest and artifacts

Parent

#771

Checkpoint

MC-0 Measurement foundation

What to build

Create a versioned, reproducible benchmark contract for every later memory/context experiment. A run must preserve immutable environment, strategy, dataset, token, verifier, privacy, and recovery evidence without storing credentials.

Acceptance criteria

  • A v1 manifest validates run id, commit, dataset/config hashes, model configuration, strategy, repetitions, and artifact references.
  • Unknown schema versions fail explicitly; additive unknown fields remain forward-compatible according to the documented policy.
  • Interrupted runs can resume without overwriting completed attempts or changing frozen identity fields.
  • Secrets are redacted from manifests, traces, transcripts, errors, and exported summaries.
  • Golden fixtures can be loaded and their score recomputed deterministically.

Required tests

  • Schema/parser golden tests
  • secret-redaction snapshots
  • run identity/hash determinism
  • interrupted-write and resume
  • official verifier authority

Benchmark

No paid quality benchmark. Use fake-provider paired A/B fixtures and one existing local verifier fixture to prove artifact reproducibility.

Blocked by

  • None - can start immediately

Rollout and rollback

Artifact-only change. Keep existing runtime-policy A/B readers working; gate v1 writing behind an explicit benchmark format option until downstream consumers migrate.

Activity

  1. bug-superman commented on Jul 12, 2026

    @bug-superman
    Author

    Implementation started on branch codex/mm-00-memory-benchmark-contract from origin/main (d1bd67d9).

    Current local evidence:

    • targeted manifest contract tests: 6/6 passed
    • @maka/headless suite under Node 24: 800 passed, 0 failed, 1 skipped
    • full workspace typecheck: passed

    A Standards + Spec review is in progress before the branch is pushed.

  2. bug-superman commented on Jul 12, 2026

    @bug-superman
    Author

    Implementation is ready for maintainer review in #820.

    Final evidence:

    • commit: 04dee2f8
    • targeted MM-00 tests: 12/12 passed
    • full @maka/headless suite: 807 passed, 0 failed
    • full workspace typecheck: passed
    • Standards review: PASS
    • Spec review: PASS

    The branch is pushed from bug-superman/maka-agent because the contributor account cannot push directly to the upstream repository. No paid model benchmark was run for this contract-only ticket.

  3. bug-superman commented on Jul 12, 2026

    @bug-superman
    Author

    MM-00 has been rebased onto the current upstream main (ede42f72) and the updated branch is ready for maintainer review in #820.

    Final evidence:

    • commit: d96325c2
    • targeted MM-00 tests: 18 passed, 0 failed
    • full workspace npm test: passed, 0 failed
    • @maka/headless: 825 passed, 0 failed, 0 skipped
    • @maka/desktop: 2349 passed, 0 failed, 0 skipped
    • full workspace typecheck: passed
    • Standards review: PASS
    • Spec review against [MM-00] Define versioned memory benchmark manifest and artifacts #779: PASS

    The final review cycle also hardened immutable evidence digests, Harbor provenance boundaries, manifest-bound WAL paths, cross-process append recovery, symlink checks, safe token accounting, and structured JSONL credential redaction. No paid model benchmark was run for this contract-only ticket.

  4. bug-superman commented on Jul 12, 2026

    @bug-superman
    Author

    Scope update: PR #820 is now the Draft MC-0 Measurement Foundation integration PR. MM-00 remains complete as its own commit and reviewed unit, but the PR will not be marked Ready until MM-01, MM-02, and MM-03 are also integrated and the MC-0 checkpoint gate passes.

  5. bug-superman commented on Jul 15, 2026

    @bug-superman
    Author

    Picking up MM-00 locally.

    Execution order:

    1. Audit the existing implementation against this issue (implement phase).
    2. Re-run and strengthen focused contract tests where evidence is missing (TDD phase).
    3. Run Standards and Spec review against [MM-00] Define versioned memory benchmark manifest and artifacts #779 (code-review phase).
    4. Post exact test/review evidence before considering MM-00 complete.

    This work remains part of draft PR #820; maintainers retain authority to merge into main.

  6. bug-superman commented on Jul 15, 2026

    @bug-superman
    Author

    MM-00 latest audit is complete on Draft PR #820; maintainers retain merge authority.

    Current branch evidence after merging origin/main@ec8660d5:

    • implementation commit: d96325c2
    • follow-up credential redaction fix: b593d768
    • branch head: d4e383e1
    • @maka/headless typecheck: passed
    • @maka/headless build: passed
    • focused memory-benchmark-manifest contract tests: 18 passed, 0 failed
    • repository Biome lint: 1608 files checked, no findings

    Implement audit:

    • all five acceptance criteria remain mapped to public manifest/WAL/artifact/importer APIs and focused tests
    • no parallel provider or product runtime dependency was introduced

    TDD evidence:

    • a missing redaction case for common credential environment names was reproduced as red (17 passed, 1 failed)
    • AWS_SECRET_ACCESS_KEY and GOOGLE_APPLICATION_CREDENTIALS redaction was fixed
    • the focused suite returned green at 18/18

    Code review:

    • Standards: no hard documented-standard violations; two non-blocking duplication smells remain
    • Spec: one valid redaction gap was fixed; Harbor host-authentication and full dataset snapshot suggestions were outside MM-00's documented trust boundary/scope

    MM-00 remains open only because #820 is the multi-ticket Draft integration PR. No paid benchmark is required for this ticket.

  7. Astro-Han commented on Aug 2, 2026

    @Astro-Han
    Contributor

    Superseded by #1615 (automatic long-term memory lifecycle, SQLite-based; accepted by maintainers 2026-07-30, PR ① #1770 merged). This MM-00 work item never landed outside draft PR #820 and is replaced by the #1615 design and its LongMemEval/MSC evaluation plan.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions