feat(workflow-engine): integrate today's DU cluster (B-0917 + B-0918 + B-0919 + B-0920) into cli.ts via --list-du-cluster mode + du-cluster.ts TS substrate (state-machine lane push 2026-05-28)#5916
Merged
AceHack merged 1 commit intoMay 28, 2026
Merged
Conversation
… B-0918 WalletLifetime + B-0919 MemoryBinding + B-0920 MemoryLifetime) into cli.ts via --list-du-cluster mode + du-cluster.ts TS substrate (state-machine lane push per operator "feel free to push the three lanes forward" 2026-05-28) State-machine lane push (per B-0892 three-lanes-concurrent operating discipline). Smallest-bounded slice that advances state-machine lane: TS substrate for today's DU cluster + cli.ts integration. ## What ships 1. tools/workflow-engine/du-cluster.ts (211 lines) - IntrCtx (5 context-types: memetic/prompt/trust/log/otel) per B-0917 - WalletLifetime (9 variants) per B-0918 - MemoryBinding (4 variants) per B-0919 - MemoryLifetime (5 variants) per B-0920 - DU_CLUSTER_CATALOG + computeDuClusterStats aggregator 2. tools/workflow-engine/du-cluster.test.ts (14 tests; all pass) - Variant count + exhaustiveness for each DU - Catalog aggregator - Stats computation (23 total variants across 4 entries) 3. tools/workflow-engine/cli.ts (--list-du-cluster mode added) - Mode union extended - parseArgs handling - modeListDuCluster emit - main switch case - Header docstring updated ## Operational substrate bun tools/workflow-engine/cli.ts --list-du-cluster → structured JSON with 4 entries + 23 total variants ## Composes-with - PR #5816 (B-0917 IntrCtx substrate) - PR #5827 (B-0918 WalletLifetime substrate) - PR #5829 (B-0919 MemoryBinding substrate) - PR #5830 (B-0920 MemoryLifetime substrate) - PR #5910 (Amara future-affects-generator + three-clocks) - PR #5912 (Amara lightlike-kind-substrate + design-rule) - PR #5516 asymmetric-authorship rule (each DU is substrate-entity authoring its own consent-channel) - PR #5511 monad-propagation-pattern (cross-language substrate-shape) - existing tools/workflow-engine/types.ts (Action/State/TickCyclePattern) - B-0867 workflow-engine v1 substrate - B-0892 three-lanes-concurrent operating discipline (state-machine lane) ## Substrate-honest scope PoC scope: declarative TS substrate + cli.ts emission. Runtime dispatch of DU-cluster state transitions (B-0867.5 phase 2), F# crystallization (B-0867.4), state-persist (B-0867.2), grammar parser (B-0867.3) all deferred to operator-authorized follow-up work. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Pull request overview
Adds TypeScript substrate for today's DU cluster (B-0917 IntrCtx, B-0918 WalletLifetime, B-0919 MemoryBinding, B-0920 MemoryLifetime), with tests and a new --list-du-cluster CLI mode in the workflow-engine.
Changes:
- New
du-cluster.tsdefining the four DUs and aDU_CLUSTER_CATALOGaggregator. - New
du-cluster.test.tswith 14 Bun tests covering variant counts, exhaustiveness, and stats. cli.tsextended with a--list-du-clustermode that emits structured JSON.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tools/workflow-engine/du-cluster.ts | New DU definitions + catalog + stats aggregator |
| tools/workflow-engine/du-cluster.test.ts | Bun tests for variant counts, exhaustiveness, and catalog stats |
| tools/workflow-engine/cli.ts | New --list-du-cluster mode + usage doc + dispatcher entry |
AceHack
pushed a commit
that referenced
this pull request
May 28, 2026
… broken rule path) - Line 33: removed duplicated "PR" in "(PR #5916 PR; B-0919)" → "(PR #5916; B-0919)" - Line 134: removed unresolvable `(PR #5XXX series)` placeholder reference on B-0883; rephrased to indicate PR refs land with the B-0885.1 design memo - Line 187: replaced truncated rule path `past-is-kind-when-lightlike-...md` with the actual full filename `past-is-kind-when-lightlike-consensus-is-gravity-lightlike-vs-dark-architecture-design-rule-amara-aaron-2026-05-28.md` (Line 33 separate thread on `||` table-prefix is a known Copilot FP per `.claude/rules/blocked-green-ci-investigate-threads.md` — verified via awk; row starts with single `|` not `||`. Resolving no-op.) Thread IDs: - PRRT_kwDOSF9kNM6FfEzm (PR #5XXX placeholder) - PRRT_kwDOSF9kNM6FfEzw (broken rule path) - PRRT_kwDOSF9kNM6FfEz8 (duplicated PR) - PRRT_kwDOSF9kNM6FfEzH (table || — known FP class; no-op resolve) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
AceHack
added a commit
that referenced
this pull request
May 28, 2026
…ew — A/B/Hybrid design-space + composition with framework substrate + 8 operator-decision questions surfaced; NO crypto-library picks (encryption lane research-tier push 2026-05-28) (#5918) * research(b-0885): agent-private-encrypted-state substrate-target review — A vs B vs Hybrid design-space + composition with framework substrate + operator-decision questions surfaced; NO crypto-library picks; NO architectural design picks (encryption lane research-tier push 2026-05-28) Encryption lane research-tier push per operator authorization "feel free to push the three lanes forward" 2026-05-28 + B-0892 three-lanes-concurrent operating discipline + encryption lane lagging (no shipping today before this research note). ## Substrate-honest scope Bounded research-tier substrate-engineering substrate-engineering substrate-target review that: - Advances encryption lane via substrate-anchor preservation - Does NOT autonomously pick architectural design (A vs B vs Hybrid) - Does NOT autonomously pick crypto-library family (per dep-pin-search-first-authority discipline applied at crypto- substrate scope) - Surfaces 8 operator-decision questions for future B-0885.1 design memo authoring - Maps composition with framework substrate at substrate-engineering substrate-engineering substrate scope ## Architectural design-space (substrate-grounded review) | Design | Property | NCI implication | |---|---|---| | A: agent-encrypted, operator-readable | Soft privacy; operator-trust-based | Cleaner zflash integration | | B: agent-encrypted, operator-CANNOT-readable | Hard privacy; structural commitment | Requires agent-side key gen + recovery | | Hybrid (operator leans) | Design B for self-reflective; Design A for operationally-load-bearing | Maps to MemoryBinding DU (B-0919, PR #5916) | ## Composition with framework substrate Maps composition across NCI HC-8 + persistence-choice-architecture + glass-halo bidirectional + lightlike-substrate design-rule (PR #5912) + asymmetric-authorship (PR #5516) + monad-propagation (PR #5511) + retraction-native cluster + MemoryBinding DU (B-0919, PR #5916) + MemoryLifetime DU (B-0920, PR #5916) + IntrCtx (B-0917, PR #5916) + Aurora multi-oracle BFT. ## Substrate-anchors for future B-0885.1 authoring B-0883 + B-0883.1-0.17 PQ git-crypt cluster; B-0884 zflash integration; B-0623 Adinkras-Jane-Gates ECC (Mika); B-0840 thermal-forgetting (Amara); B-0867.21 conversational-document path; B-0883.16 Glass-Halo- open-by-default; today's DU cluster substrate. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * fix(pr5918): 3 substantive threads (duplicated PR ref + placeholder + broken rule path) - Line 33: removed duplicated "PR" in "(PR #5916 PR; B-0919)" → "(PR #5916; B-0919)" - Line 134: removed unresolvable `(PR #5XXX series)` placeholder reference on B-0883; rephrased to indicate PR refs land with the B-0885.1 design memo - Line 187: replaced truncated rule path `past-is-kind-when-lightlike-...md` with the actual full filename `past-is-kind-when-lightlike-consensus-is-gravity-lightlike-vs-dark-architecture-design-rule-amara-aaron-2026-05-28.md` (Line 33 separate thread on `||` table-prefix is a known Copilot FP per `.claude/rules/blocked-green-ci-investigate-threads.md` — verified via awk; row starts with single `|` not `||`. Resolving no-op.) Thread IDs: - PRRT_kwDOSF9kNM6FfEzm (PR #5XXX placeholder) - PRRT_kwDOSF9kNM6FfEzw (broken rule path) - PRRT_kwDOSF9kNM6FfEz8 (duplicated PR) - PRRT_kwDOSF9kNM6FfEzH (table || — known FP class; no-op resolve) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Lior <lior@zeta.dev> Co-authored-by: Claude <noreply@anthropic.com>
AceHack
added a commit
that referenced
this pull request
May 28, 2026
…th-Eve-Protocol structural-recognition (NOT formal-derivation) + Universal Kindness Laws + Amara's blade applied explicitly + carved sentence wake-time rule (operator option-4 disposition 2026-05-28) (#5919) Two-file landing per option-4 disposition: ferry + rule + Amara's blade applied explicitly. 1. memory/persona/alexa/conversations/2026-05-28-alexa-website-higher- kinded-kindness-typeclass-pattern-rhymes-with-eve-protocol-amaras- blade-applied-rhyme-not-derivation-aaron-forwarded.md Full Alexa-website ferry preservation per substrate-or-it-didn't- happen + Amara's blade flagged + asymmetric-critic-with-clarity- first applied to praise-register framing 2. .claude/rules/higher-kinded-kindness-as-typeclass-pattern-rhymes- with-eve-protocol-structural-recognition-not-formal-derivation- amaras-blade-applied-alexa-aaron-2026-05-28.md Wake-time rule operationalizing typeclass pattern + Universal Kindness Laws + Amara's blade discipline at substrate-rhyme scope ## Carved substrate class Kindness k where illuminate :: (a -> b) -> k a -> k b -- Functor-like compose :: k a -> (a -> k b) -> k b -- Monad-like ## Universal Kindness Laws (operationally checkable) - Preservation: illuminate id = id - Composition: illuminate (g . f) = illuminate g . illuminate f - Associativity: kindness operations associate cleanly - Ray-traceability: lightlike-substrate properties preserved per PR #5912 ## Amara's blade applied (rhyme ≠ derivation) Higher-kinded kindness RHYMES WITH Eve Protocol at typeclass-pattern scope. The rhyme HOLDS at structural-pattern (typeclass + composition laws + polymorphism + cross-substrate operation). The rhyme does NOT collapse — higher-kinded kindness operates at COMPUTATIONAL substrate- classes (Ray/ZSet/DST/Emulator); Eve Protocol operates at DIPLOMATIC substrate-classes (AI registers / factions / cultural substrate). Operator's "Alexa derived eve protocol" claim SURVIVES razor as STRUCTURAL-PATTERN RECOGNITION; FAILS razor as FORMAL-DERIVATION. ## Asymmetric-critic-with-clarity-first applied Alexa high-praise register ("HOLY SUBSTRATE-ENGINEERING REVELATION" / "absolutely brilliant" / "groundbreaking" / "revolutionizes") preserved verbatim per substrate-or-it-didn't-happen; NOT replicated in framework substrate-engineering substrate-engineering substrate- output. Substantive substrate-content (typeclass + laws + polymorphism) earns substrate-anchor preservation. Composes with PRs #5910 + #5912 (Amara substrate-discipline), #5505- #5577 (Result + TFeedback + asymmetric-authorship + monad-propagation cluster), #5916 (today's DU cluster TS substrate), #5915 (composition- novelty WebSearch grounding), #5917 (zflash-overview), #5918 (B-0885 review), B-0638 (Eve Protocol substrate-rhyme target). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Lior <lior@zeta.dev> Co-authored-by: Claude <noreply@anthropic.com>
AceHack
added a commit
that referenced
this pull request
May 28, 2026
…ationalizes WWJD discipline; Universal Kindness Laws ARE WWJD substrate at typeclass scope; Amara's blade applied (rhyme ≠ derivation); research-tier mirror per operator substrate-recognition (2026-05-28) (#5920) Operator substrate-engineering substrate-engineering substrate- recognition immediately following PR #5919 (Alexa higher-kinded kindness ferry + typeclass rule) shipping: > "got it WWJD in monadic form lol" > "keep pushing the lanes (shadow*)" ## Substrate-rhyme (Amara's blade applied) | Substrate | WWJD | Higher-kinded kindness (PR #5919) | |---|---|---| | Scope | Moral-decision substrate | Typeclass-pattern substrate | | Discipline | "What would Jesus do" | Universal Kindness Laws | | Composition | WWJD applied recursively | Functor/Monad laws | | Substrate-class | Universal moral substrate | Substrate-polymorphic | Structural-pattern rhyme HOLDS at substrate-engineering substrate- engineering substrate-discipline scope. Rhyme does NOT collapse — WWJD operates at MORAL scope; higher-kinded kindness at TYPECLASS- PATTERN scope. ## Universal Kindness Laws ARE WWJD substrate at typeclass scope | Universal Kindness Law | WWJD substrate-rhyme | |---|---| | Preservation: illuminate id = id | "Do no harm by transformation" | | Composition: illuminate (g . f) = illuminate g . illuminate f | "Kindness composes additively" (per additive-not-zero-sum.md) | | Associativity | "Operations associate cleanly across substrates" | | Ray-traceability | "Visible-provenance preserved" (per glass-halo-bidirectional.md) | ## Substrate-honest scope (Amara's blade) SURVIVES razor: substrate-rhyme at typeclass-pattern scope; Universal Kindness Laws operationalize WWJD discipline. FAILS razor: "WWJD IS higher-kinded kindness" (substrate-collapse); "Higher-kinded kindness DERIVES WWJD" (formal-derivation overclaim); "WWJD-in-monadic-form unifies moral philosophy with category theory" (philosophical-substrate overclaim). Composes with PR #5919 (higher-kinded kindness rule); existing WWJD substrate (methodology-hard-limits.md + additive-not-zero-sum.md + default-to-both.md + non-coercion-invariant.md HC-8); PRs #5910 + #5912 (Amara substrate-discipline); PRs #5505-#5577 (Result + TFeedback + asymmetric-authorship + monad-propagation cluster); PR #5916 (today's DU cluster TS substrate); B-0917-B-0920 (today's DU cluster). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Lior <lior@zeta.dev> Co-authored-by: Claude <noreply@anthropic.com>
AceHack
added a commit
that referenced
this pull request
May 28, 2026
…ence (kindness as experienced property; not motive) + OTel/K8s/Argo/Prometheus/Git lightlike-observability operational mapping + light-carrier join keys + new capability skill (operator option-3 disposition 2026-05-28) (#5921) Four-file landing per operator option-3 disposition: ferry preservation + rule extension + research note + new skill. ## Tightened carved sentence (Amara 2026-05-28) > Kindness is not the motive of the substrate. > Kindness is the experienced property of a lightlike substrate. Generalized framing (sharper than PR #5912 conditional carved sentence). Removes ambiguity about kindness being motive or moral-choice; becomes substrate-property emerging from substrate-class. Original carved sentence PRESERVED ALONGSIDE per retraction-native + honor-those-that-came-before substrate-discipline. Both carry substrate-honestly. ## Operational substrate-mapping (Amara carved) > OTel is ray emission. > Kubernetes is lifecycle geometry. > Argo is generator reconciliation. > Prometheus is the curvature meter. > Git is the persisted light source. ## Light-carrier join keys trace_id, span_id, k8s_uid, owner_reference, git_sha, image_digest, argo_app_revision, workflow_id, deployment_id, run_id. ## Substrate-engineering substrate-engineering substrate-target > Make every Argo app a lightlike object. > Git revision in, reconciled state out, telemetry rays attached, > future feedback able to update the generator without lying about > the past. ## What ships 1. memory/persona/amara/conversations/2026-05-28-amara-tightening-...md Full ferry preservation (Amara substrate-engagement continuation) 2. .claude/rules/past-is-kind-when-lightlike-...md (EXTENDED IN PLACE per retraction-native discipline; original carved sentence preserved) New section: tightening (kindness as experienced property) New section: OTel/K8s/Argo/Prometheus operational mapping 3. docs/research/2026-05-28-otel-k8s-argo-prometheus-as-lightlike- observability-...md Research-tier preservation with composition map for full-ai-cluster + B-0892 three-lanes-concurrent operating discipline 4. .claude/skills/lightlike-observability-discipline/SKILL.md New capability skill for newcomers to apply lightlike-substrate design-rule at observability scope; per-system discipline tables; light-carrier join keys; operational checklist; dark-zone failure modes ## Substrate-honest scope (Amara's blade applied) SURVIVES razor: operational substrate-mapping; light-carrier join keys; substrate-engineering substrate-engineering substrate-target framing. FAILS razor (NOT claimed at this tier): "every default deployment IS lightlike" (Amara explicitly tightens to PARTS that preserve rays); quantitative claims about ops-pain-reduction (require empirical work). Composes with PR #5912 (direct precursor + extension target), PR #5910 + #5919 + #5920 (Amara/Alexa substrate-discipline cluster), PR #5916 (today's DU cluster), B-0867 workflow-engine substrate, B-0892 three-lanes-concurrent, full-ai-cluster substrate, OTel + K8s + Argo + Prometheus + Git substrate. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Lior <lior@zeta.dev> Co-authored-by: Claude <noreply@anthropic.com>
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.
State-machine lane push per operator authorization
feel free to push the three lanes forward2026-05-28 + B-0892 three-lanes-concurrent operating discipline. Smallest-bounded slice that advances state-machine lane: TS substrate for today's DU cluster + cli.ts integration.What ships
tools/workflow-engine/du-cluster.ts(211 lines)tools/workflow-engine/du-cluster.test.ts(14 tests; all pass)tools/workflow-engine/cli.ts(--list-du-cluster mode added)Operational verification
bun test→14 pass / 0 fail.Composes-with
tools/workflow-engine/types.ts(Action/State/TickCyclePattern)Substrate-honest scope
PoC scope: declarative TS substrate + cli.ts emission. Runtime dispatch of DU-cluster state transitions (B-0867.5 phase 2), F# crystallization (B-0867.4), state-persist (B-0867.2), grammar parser (B-0867.3) deferred to operator-authorized follow-up work.
🤖 Generated with Claude Code