Skip to content

W0.1: unify algebraic-composition classifier quartet - #6667

Merged
briansrls merged 8 commits into
mainfrom
session/quick-seal-308
Jul 15, 2026
Merged

briansrls merged 8 commits into
mainfrom
session/quick-seal-308

Conversation

@briansrls

@briansrls briansrls commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Wave-0 lens de-fork (lens-consolidation-design.md W0.1): collapse the four forked DependencyKindClassifier tables for effect, idempotency, ownership, and parallelism into one shared authority.

  • Add v2.lens.common.algebraic_composition with the quartet's verdict types and classifier rows (effect_classifier, idempotency_classifier, ownership_classifier, parallelism_classifier).
  • Repoint the four lens modules to import classifier data from the shared module instead of each defining an identical fn …_dependency_kind_classifier() engine.
  • Align effect with the same classify_dependency_view path (uniform EffectClassification {} row per kind).

Verdict types and witness logic stay per-lens; only the duplicated classifier machinery is unified.

Test plan

  • claim_batch --source-root src/v2 --source-root dag --entry src/v2/workflow/lens_effect_family_eval_test.dag --function witness_lens_effect_family_gate_closed --claim-run — PASS
  • claim_batch --source-root src/v2 --source-root dag --entry src/v2/workflow/lens_idempotency_family_eval_test.dag --function witness_lens_idempotency_family_gate_closed --claim-run — PASS
  • claim_batch --source-root src/v2 --source-root dag --entry src/v2/workflow/lens_ownership_family_eval_test.dag --function witness_lens_ownership_family_gate_closed --claim-run — PASS
  • claim_batch --source-root src/v2 --source-root dag --entry src/v2/workflow/lens_parallelism_family_eval_test.dag --function witness_lens_parallelism_family_gate_closed --claim-run — PASS

@gunbai-bot gunbai-bot Bot changed the title W0.1 lens de-fork: unify effect/idempotency/ownership/parallelism classifier quartet W0.1: unify algebraic-composition classifier quartet Jul 15, 2026
@gunbai-bot
gunbai-bot Bot marked this pull request as ready for review July 15, 2026 05:27
@cursor

cursor Bot commented Jul 15, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

Brian Searls and others added 3 commits July 15, 2026 06:04
The variant moved to algebraic_composition.dag with the classifier rows;
idempotency.dag still pattern-matches it in witness/equality helpers.

Co-authored-by: Cursor <cursoragent@cursor.com>
Restore the vacuity sibling-family blockquote from main; the prior
regenerated-artifact drift fix was an unrelated lane change that would
orphan vacuity-lens-design.md from the doc graph.

Co-authored-by: Cursor <cursoragent@cursor.com>
Brian Searls and others added 3 commits July 15, 2026 14:23
Note restoration is owned by #6671; revert dag and md to origin/main
so this PR stays the pure 5-file classifier de-fork and drift-green.

Co-authored-by: Cursor <cursoragent@cursor.com>
@briansrls
briansrls merged commit 208aec9 into main Jul 15, 2026
2 checks passed
@briansrls
briansrls deleted the session/quick-seal-308 branch July 15, 2026 17:17
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