Skip to content

docs(plans): design decision-model support — qq-decision crate, OpenAI Decisions API and Jev (DM0) - #231

Merged
integrate-your-mind merged 5 commits into
mainfrom
docs/eng-985-decision-architecture
Oct 5, 2026
Merged

integrate-your-mind merged 5 commits into
mainfrom
docs/eng-985-decision-architecture

Conversation

@lg2m

@lg2m lg2m commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

DM0: opt-in decision-model architecture

This documentation-only PR describes a vendor-neutral decision seam while preserving the existing QQ harness and its current Jev behavior. It renames the Jev design, plan, ledger and runbook, updates their inbound links, and separates built behavior from future implementation.

ADR-0055's crate-boundary decision was accepted by the existing owner on September 30. The October 4 repair corrects the plan index and this description to reflect that settled decision. Acceptance of the broader plan remains open; this PR does not implement DM1–DM9 or close other issues/PRs.

Proposed behavior and authority

  • Neutral request/answer/capability/error types and adapters belong in qq-provider; qq-auth retains credentials. A future qq-decision crate would own rubrics, validation, calibration, shadow results and receipts, adapting core's existing reviewer/router/checkpoint ports.
  • Credentials do not grant consent. Consumers opt in separately, explicit off wins, code remains authoritative, and uncalibrated models or moved aliases run in shadow.
  • Existing jev_* settings remain compatibility aliases in the proposal. Config naming, JV8 authority/egress, JV9 stop semantics and qualification criteria remain open plan decisions.
  • The OpenAI adapter is future work. The plan requires a published contract and verified capabilities before implementation; no guessed wire, supported-provider or Codex-auth claim is made.
  • The existing per-session Jev-mode candidates feat(protocol)!: add the per-session Jev mode switcher (ADR-0042) #166/feat(tui): add the /jev picker and status badge for the session Jev mode (ADR-0042) #170 remain held; this design does not deliver their UI or silently rebase/close them.
flowchart LR
  A[Explicit consumer opt-in] --> B[Proposed neutral decision request]
  B --> C[Known provider adapter]
  C --> D[Validate answer and capabilities]
  D --> E[Calibration or shadow-only result]
  E --> F[Existing core reviewer/router ports]
Loading

The diagram is proposed architecture. No runtime, configuration, dependency, protocol or schema changes are included.

Verification

October 4 candidate 6ab4c30c2cfad24396473636f6c7092869d9d165, independently accepted tree d2a6792a956aa96e42dd6c3ef8234fe342243b91:

  • Actual pinned Rust 1.97.1: cargo test --locked -p qq --bin qq docs_truth -- --test-threads=2 — 23 passed, 0 ignored.
  • 247 relative links in changed Markdown resolve; git diff --check passes.
  • Non-author review accepted built/planned separation, consent/calibration boundaries and the final two-file status/evidence correction.
  • Rust/config/build inputs are unchanged by the repair; prior source gates are reused. Exact new-head hosted checks are tracked separately, and skipped jobs are not passes.
  • The earlier author five-test/anchor receipt is retained as historical evidence. No fresh provider-backed session or product video is claimed for this design-only change.

Coordination

#231 retains accepted ADR-0055. #239's proposed compaction decision moves to ADR-0056; the combined reservation makes 0057 next free. The source branches retain their own coherent indexes and are composed in isolated verification work. No protected merge, deployment or new implementation is authorized by this PR.

Hosted check readback — 2026-10-04

The exact-head CI passed Linux formatting/Clippy/tests, wasm client checks, and native Windows teardown on this PR's current head. Release-size was skipped by its main-only condition. Website build also passed (run); Pages deployment was skipped. No merge or deployment is implied.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

lg2m added a commit that referenced this pull request Sep 30, 2026
…ision

Owner decision on PR #231, 2026-09-30. ENG-985.
@lg2m

lg2m commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator Author

Owner decision (2026-09-30): the no-new-crate rule is reversed, and ADR-0053 is now Accepted (commit 1452bd0). The plan, the ledger, the ADR index and the root reservation all record this. Still open: accept the plan itself and close ENG-938 / #193 as superseded.

lg2m added 4 commits October 1, 2026 23:03
Pure renames with no content change, so history follows each file. The
next commit rewrites them and fixes links. ENG-985.
…or Jev and OpenAI Decisions (DM0)

DM0 of the decision-model plan (ENG-985). This change is docs only.

- design/decision-models.md:
  - vendor landscape: Jev, the OpenAI Decisions API (confirmed facts vs
    unknowns), and the System One wire family;
  - the Jev capabilities as built and findings 1-8, both unchanged;
  - principles that no longer depend on the vendor;
  - the architecture: a DecisionProvider seam in qq-provider, credentials
    in qq-auth, and rubrics, interpretation, calibration, policy, shadow
    and receipts in a new qq-decision crate;
  - how future models land;
  - differentiators X1-X14 from the Codex/OpenCode/Pi/fx review.
- ADR-0053 (Proposed): the crate boundary. It reverses the Jev plan's "no
  new crate" non-goal and ADR-0047's rejected alternative.
- plans/decision-models.md: foundation slices DM1-DM9 with acceptance
  D1-D9; JV1-JV13 carried with owned paths re-homed; DX1-DX6 experiments;
  new owner decisions.
- The ledger records DM0, and JV0/JV1-activation/JV2 as shipped. The
  runbook notes that OpenAI is not yet supported.
- Every inbound link is updated. ADR-0053 is reserved, and root requests
  are filed for DM1's shared files.

No Rust, config, protocol or schema change.
…ision

Owner decision on PR #231, 2026-09-30. ENG-985.
DM0 / ENG-985 / PR #231: rebase onto current main, preserve shared documentation updates, and correct the ADR reservation and references.
@lg2m
lg2m force-pushed the docs/eng-985-decision-architecture branch from 948319b to a5159a8 Compare October 2, 2026 06:08

@integrate-your-mind integrate-your-mind left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. Decision-model docs only, no runtime changes, and CI is green.

@integrate-your-mind
integrate-your-mind merged commit 8631882 into main Oct 5, 2026
6 checks passed
@integrate-your-mind
integrate-your-mind deleted the docs/eng-985-decision-architecture branch October 5, 2026 00:31
@lg2m

lg2m commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator Author

This was merged without approval and reverted in #246. Reopened as #249 with the same commits (author, message and content unchanged; new SHAs only because the originals are now in main history).

lg2m added a commit that referenced this pull request Oct 5, 2026
* Revert "Merge pull request #243 from retsu-AI/docs/rust-quality-skill"

This reverts commit 54a3dd5, reversing
changes made to c151be2.

* Revert "Merge pull request #227 from retsu-AI/docs/eng-922-fleet-clients-plan"

This reverts commit c151be2, reversing
changes made to 8631882.

* Revert "Merge pull request #231 from retsu-AI/docs/eng-985-decision-architecture"

This reverts commit 8631882, reversing
changes made to 2a672fe.
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.

3 participants