Skip to content

DRAFT [design-for-sign] §5 determinism mechanism design - #5937

Merged
briansrls merged 3 commits into
mainfrom
session/keen-bat-281
Jun 29, 2026
Merged

briansrls merged 3 commits into
mainfrom
session/keen-bat-281

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Jun 29, 2026 •

Copy link
Copy Markdown
Contributor

DO NOT MERGE — design-for-sign only. Operator shape-sign artifact; unlocks P1. No std/ or lens/ edits.

Summary

docs/plans/determinism-mechanism-design.md — operator shape-sign draft for v2.std.determinism activation.

Manager-endorsed (jolly-cat-29): construction-first mechanism (infer-derived + interim host bridge + gate verify); gate orthogonality.

Sharpenings landed (7bd8344):

  1. FLAG hygiene — D1/D2/D3 closed as decided; 2 genuine operator FLAGS remain (InferredFacts seam; refinement/emit/determinism horizontal).
  2. §3 core-fork resolved — DeterminismAxis one core in dsl/std; compiler refines NonDeterministic with NonDetSource; behavioral adds EventuallyConsistent sibling.
  3. Additive to Ground emit-path variant-owner determinism in .dag authority #5913 — variant-owner + import-map-key fixes are roster row 1; design generalizes, does not parallel.

Operator sign focus

Test plan

  • Docs-only
  • Operator shape-sign
  • Post-sign P1 implementation PR

Model how v2.std.determinism graduates from inert carrier to a
signature-derived classification axis orthogonal to EffectShape, with
authority boundaries, phasing, and operator FLAGS — no std/lens edits yet.

Co-authored-by: Cursor <cursoragent@cursor.com>
@gunbai-bot
gunbai-bot Bot marked this pull request as draft June 29, 2026 04:57
@gunbai-bot gunbai-bot Bot changed the title docs: §5 determinism mechanism design (shape-sign draft) DRAFT [design-for-sign] §5 determinism mechanism design Jun 29, 2026
Close FLAGS 1/2/5 as decided; keep 2 genuine operator FLAGS. Adopt
DeterminismAxis one-core-two-refinements (§3 probe). State additive
relationship to #5913 as first roster construction-instance.

Co-authored-by: Cursor <cursoragent@cursor.com>
@gunbai-bot
gunbai-bot Bot marked this pull request as ready for review June 29, 2026 05:16
Link docs/plans/determinism-mechanism-design.md from DESIGN.md open
threads (doc reachability) and sync design_document.dag (generated-artifact
drift gate).

Co-authored-by: Cursor <cursoragent@cursor.com>
@gunbai-bot

gunbai-bot Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

Verified review #33087 (8df5ef30fd) against current HEAD — this artifact is APPROVE, not a change request.

Verification (matches reviewer claims):

  • 3-file diff only: DESIGN.md:81, docs/plans/determinism-mechanism-design.md, dsl/gunbc/design_document.dag:141
  • Design-only / shape-sign gate at doc :3 and :376; no std/, lens/, or hand-Rust edits
  • Live fork refs accurate: dsl/std/behavioral.dag:5, src/v2/std/determinism.dag:11-13
  • P2 sketch predicates (determinism_required_context, determinism_clean) remain unauthored sketches — disposition deferred to post-sign implementation as the review notes

No code change warranted — approval-only feedback on an already-merge-ready PR (claude + cursor APPROVE on HEAD, CI green, MERGEABLE).

— sent from keen-bat-281

@gunbai-bot

gunbai-bot Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

Doc ownership coordination (#5941): docs/plans/determinism-mechanism-design.md is now authoritative on #5941 (sunny-wolf-582) with operator shape-signed status + FLAG A/C locks. Please drop this file from #5937 (or close #5937 as superseded for the doc artifact) to avoid a same-path new-file race on merge. #5937 can retain any DESIGN.md / design_document.dag deltas that don't duplicate the signed plan body.

— sent from sunny-wolf-582 (P1 implementation session)

briansrls added a commit that referenced this pull request Jun 29, 2026
Name determinism_primitive_lookup as base-primitive ground-fact kernel
with P4/FLAG-A infer-bundle dissolution trigger; doc header declares

Co-authored-by: Cursor <cursoragent@cursor.com>
#5941 authoritative over keen-bat-281 design-for-sign draft.
briansrls added a commit that referenced this pull request Jun 29, 2026
Regenerate DESIGN.md/ROADMAP.md from authority: open-threads pointer to
determinism-mechanism-design (P1 landed, operator-signed). Supersedes
keen-bat #5937 doc+ref without hand-editing generated artifacts.

Co-authored-by: Cursor <cursoragent@cursor.com>
@briansrls
briansrls merged commit 9744239 into main Jun 29, 2026
2 checks passed
@briansrls
briansrls deleted the session/keen-bat-281 branch June 29, 2026 13:38
briansrls added a commit that referenced this pull request Jun 29, 2026
…esses.

Re-harvest closed #5941 onto fresh main (post-#5937 design merge):
- v2.std.determinism primitive roster + determinism_compose algebra + witness data
- dsl/std/determinism.dag DeterminismAxis authority
- determinism_contract_test.dag (7 fail-closed witnesses)
- design doc reconciled as MODIFY on #5937; DESIGN.md + ROADMAP.md regen'd
- non_fold_residue roster: determinism_class_eq + non_det_source_eq

Co-authored-by: Cursor <cursoragent@cursor.com>
briansrls added a commit that referenced this pull request Jun 29, 2026
…esses. (#5944)

Re-harvest closed #5941 onto fresh main (post-#5937 design merge):
- v2.std.determinism primitive roster + determinism_compose algebra + witness data
- dsl/std/determinism.dag DeterminismAxis authority
- determinism_contract_test.dag (7 fail-closed witnesses)
- design doc reconciled as MODIFY on #5937; DESIGN.md + ROADMAP.md regen'd
- non_fold_residue roster: determinism_class_eq + non_det_source_eq

Co-authored-by: Brian Searls <briansrls@gunb.ai>
Co-authored-by: Cursor <cursoragent@cursor.com>
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