Skip to content

Laptop architecture validation: proposed retrieval responsibility split (pending review) - #10

Merged
infinri merged 9 commits into
mainfrom
laptop-decision
Nov 14, 2026
Merged

infinri merged 9 commits into
mainfrom
laptop-decision

Conversation

@infinri

@infinri infinri commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Summary

Registered laptop rerun of every correctness, retrieval and database comparison, plus 432 real Claude fixed-context QA trials. It proposes an architecture decision for joint review.

Proposed decision (ADR status PROPOSED, not owner-approved):

  • Recommended local hackathon workflow: grounded flat, invoked as python -m writ_retrieval.reliable.grounded_cli with --backend omitted. That is its current behavior. No CLI behavior changes.
  • Persistence: Relate stays the persistence layer.
  • Native Relate: native Relate retrieval (--backend relate) stays an opt-in profile.
  • Neo4j: no Neo4j profile is adopted.
  • Removals: none. No baseline is removed.

Start with ADR.md, FINDINGS.md and the registered protocol.

Evidence highlights

  • Correctness:
    • Preservation hashes: 403/403 unchanged.
    • Tests: 149 pytest passed, 5/5 original demos.
    • Phase 3 restart/retraction: 9/9 checks pass.
    • Canonical-memory workflow: the 17-process demo passes.
    • Provenance: 254/254 passages byte-equal to Git.
    • Cross-engine gates: 19/19 pass.
  • Replication: all 288 reliable-memory outputs are byte-identical to the committed evidence. Bake-off quality matches hosted run 43540148638.
  • Relevance:
    • Natural-language delivery: grounded flat and grounded Relate match each other, 15/24 (dev) and 20/24 (held-out). Legacy gets 17/24 and 19/24.
    • Bake-off (separate 64-task corpus): native B/C/D fail noninferiority, with lower bounds of −.15 and −.20 against a −.03 margin.
  • Cost (laptop, loopback only):
    • Grounded Relate warm p95 is 180 ms vs flat's 141 ms, and its cold CLI p95 is 1294 ms vs 1077 ms.
    • Grounded Relate has lower cold-process RSS: 238 MiB vs 284 MiB.
    • Neo4j is 3.0–7.8x faster at 100x synthetic load but uses about 3x the memory. 20/24 load profiles completed.
    • No profile meets the adoption gates.
  • QA trials (Claude Sonnet 5.5):
    • 432/432 completed, with fresh isolated sessions and zero tools.
    • Corrected model-assisted review (Opus 5.5): grounded flat minus legacy is +.083 [+.017, +.183] paired within task. Relate is about equal to flat.
    • Original and corrected scores are reported separately.

Disclosures and limitations

  • Grader correction: the registered grader hid packet fields that the answerer could see (Amendment 2). The original verdicts and inputs are preserved, and all 432 answers were regraded with the full packet.
  • Labels: model-authored and unreviewed. All answer review is model-assisted, not human review. Blinded human-review materials are included.
  • QA scope: fixed-context QA, not a tool-calling or repository-editing agent experiment. Task completion was not measured.
  • Neo4j and QA: Neo4j was not a QA condition, because it has no grounded-memory projection.
  • Held-out sets: already opened, so they are regression data only.
  • Host controls: temperature, seed and model revision cannot be set through the host. The 512-token cap was not enforced. Cost figures are CLI list-price estimates, not billing.
  • Setup error: Amendment 1 records a setup error that invalidated the first correctness run, which was rerun fresh.
  • Not established: concurrency or multi-writer support, power-loss handling, incremental refresh, and remote server operation.

Do not merge until the corrected results and the decision have been reviewed together.

Prepared with Claude Code (Claude Opus 5.5). Writ and JolliAI attribution is unchanged.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

infinri and others added 9 commits November 14, 2026 10:34
…ness before scoring

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…stage

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ence; blinded human-review materials

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…anged

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…; verify original grader inputs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n status, README pointers

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sume retries failed attempts; findings draft

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…inal vs corrected QA comparison; final findings, ADR QA summary and decision summary

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@infinri
infinri merged commit 84e2ed3 into main Nov 14, 2026
2 checks passed
@infinri
infinri deleted the laptop-decision branch November 14, 2026 21:30
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