Repository navigation
feat(runtime)!: add reproducible evals and slash guidance - #6
Merged
Merged
Conversation
Implement DEV-730 and DEV-731 with a pinned Harbor/ATIF baseline, trajectory-grounded failure reports, shared runtime guidance loading, and durable prompt provenance. BREAKING CHANGE: protocol version 7 adds the model_turn_completed event; clients and servers must match.
lg2m
added a commit
that referenced
this pull request
Sep 10, 2026
…ions Plan for web, desktop, and mobile clients over many headless qq servers: client-core extraction (W1-W3), server remote readiness (S1-S6), tracer bullet gate, then UI phases. Reserves ADR 0015-0018, files root requests, appends decision #6.
lg2m
added a commit
that referenced
this pull request
Sep 16, 2026
* docs: close Phase 6 and reconcile every plan with what shipped Phase 6 closed with #46/#47 but the docs still said "in review" in fourteen places, the tool-layer plan still said "proposed" with eight of fourteen slices shipped, three ADRs said Proposed for merged work, and the priority table listed only shipped items. This pass makes the docs match main at 7956e8e: - speed-first plan: status block closed; Phases 5b and 6 collapsed to Completed Phases rows per the plan's own rule; D5/D8/D9/D10 as-built blocks reduced to ADR pointers; § Bundled Fixes keeps only the seven deferrals; version row points at protocol.md. 865 -> 742 lines. Gate files g-phase-5b.md and g-phase-6.md written. - tool-layer plan: status block added (T1-T8, T12 shipped); D1-D5 and D8 replaced by pointers to tools.md plus the recorded departures (rule count, PolicyDecision::Forbidden shape, runtime/spill.rs, Launch in shell.rs, LineRange, qq-tui -> qq-core edge); dependency table and owned paths corrected; § Docs marked done. 601 -> 317 lines. - ADR-0019/0020/0022 -> Accepted; adr/README.md and root.md agree with the files; root.md requests table resolved; ADR-0027 records that qq-core is a public embedding API (the audit's "unused exports" are the contract). - plans/README.md priority table rewritten to open work only; readiness plan's Phase 6 candidates replaced by pointers to T2/T5/T10 and its delivery table annotated; R6-search/patch ledger rows Superseded; supervised-delegation status and its applied Amendments collapsed; multi-surface status, shipped gaps, and W2 ledger row. - Design docs: tools.md forward references to plan slices removed (list_dir, T6/T7 capture cap, T11); architecture.md records the qq-tui -> qq-core edge, the built-in tool set, and tool_spills/schema 28; product.md and architecture.md point web/mobile at the approved multi-surface plan; headless-contract.md musl row and v21 note; release.md example numbers; README approval modes describe the classifier tiers, supervised, and full. - decisions-needed #2 stays dropped, #3 carried to Phase 7, #4 and #6 resolution text updated. Every relative link and anchor under docs/** resolves (checked with GitHub's slug rule); the as-built ADRs now point at design docs, not at the plan sections that were collapsed. * docs(ledger): link the cleanup stack (#51, #52)
6 of 7 tasks
This was referenced Oct 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.qqcommands and skills, documented Claude/Agents compatibility fallbacks, deterministic discovery, and durable prompt provenanceDesign notes
model_turn_completedbefore tool dispatch so trajectories retain model, usage, and cost even for tool-only or compaction turns//escaping is normalized durably with the queued prompt rather than rewritten later in memoryVerification
cargo test --workspace --quietcargo fmt --all -- --checkcargo clippy --workspace --all-targets --all-features -- -D warningscargo build --workspace--print-configresolved the repository smoke task undertaskscargo xtask eval run --dry-runrecorded revision6f0bd4278e714083762823f9638d4c11c49461f2cargo bench -p qq-core --bench tool_dispatch:35,241 ns/iterationover 1,000 iterationsCompatibility
Protocol version 7 adds
model_turn_completedand expands prompt identity. Clients and servers must use matching protocol versions.A credentialed Terminal-Bench baseline was not run: that remains an explicit operator action because it uses provider credentials and incurs model spend. The adapter, task loader, trace converter, reporter, and launch plan were validated locally without executing a real benchmark task.