| Domain | Purpose |
|---|---|
| RPA-1 | Root invariant — reality primacy + Reality Veto |
| JPA-1 | Constitutional judgment primacy (contains OPA-1) |
| Judgment | First-class judgment capability runtime + cycles |
| CSS-2 | Threshold + observer stewardship (judgment-preserving) |
| CRK-1 | Constitutional invariants + observer protection + consequence kernel |
| JPSS-2 | Observer development pipeline |
| RA-COS-1 | Evidence loop + trace |
| Transformation Law | Reality → Truth → Memory → Continuity → Evolution |
| Stewardship | Observer drift, capture, effectiveness |
| Registry | Threshold storage (DB + memory) |
| Governance | Δ-threshold legitimacy + adversarial review + Reality Veto gate |
| Ledger | Continuity Ledger v2 — cycles, veto receipts, health views |
| Lineage | Threshold history, drift, charts |
| Audit | Reality-earns-architecture test |
Constitutional invariant: continuity = preserved capacity for sound, reality-responsive judgment.
JPA1_PRINCIPLES,JPA1_8_JUDGMENT_FAILURE,OPA1_CONTAINMENT—jpa1/spec.tsJUDGMENT_PRESERVING_SYSTEMS—jpa1/system-mandates.tsassessObserverJudgment(),assessJudgmentCapability()—jpa1/judgment-capability.tsassessJPA1Compliance()—jpa1/compliance.ts
Whitepaper section: docs/CSS-2-WHITEPAPER-JPA-1.md
Root constitutional invariant: reality is the final arbiter of judgment.
RPA1_PRINCIPLES,RPA1_CONTINUITY_DEFINITION—rpa1/spec.tsissueRealityVeto(),detectRealityDivergence()—rpa1/reality-veto.ts(RV-1, RV-2)buildMandatoryReconsiderationCycle()— RV-3 mandatory reconsiderationescalateIgnoredVeto()— RV-4 governance escalationInMemoryRealityVetoLedger— legacy veto store (preferInMemoryContinuityLedger)
Cycle-centric ledger with Reality Veto receipts and lineage health.
ContinuityLedger,InMemoryContinuityLedger—ledger/continuity-ledger.tsThresholdView,RecalibrationView,ContinuityHealthReport—ledger/types.tsgetContinuityHealth(),getFailedLineages(),getThresholdViews()— lineage queries
Structural veto detection and corrigibility gate for Δ-threshold decisions.
detectRealityVeto(),processRealityVeto()—governance/reality-veto.tsapplyGovernanceWithRealityVeto()— blocks non-corrigible judgment cycles (CRK-1.J / RPA-1)
Docs: docs/CONSTITUTIONAL-FAILURE-MODES.md, docs/REALITY-EVIDENCE-JUDGMENT-STACK.md
Six-dimension capability vector: perception, interpretation, valuation, deliberation, commitment, reflection.
JudgmentCapability,emptyJudgmentCapability()—judgment/capability.tsevaluateJudgment(),isJudgmentFailure()—judgment/evaluation.tscomputeJudgmentDrift()—judgment/drift.tscorrectJudgmentToward()—judgment/correction.tsjudgmentFromObserver()—judgment/mapping.ts(ObserverProfile → JudgmentCapability)JudgmentCycle,assessCorrigibility(),annotateCorrigibility()—judgment/cycle.ts(CRK-1.J.5)JudgmentCycleLedger,recordJudgmentCycle()—judgment/cycle-ledger.ts
See: docs/SOUND-JUDGMENT-CYCLE.md
Threshold, ThresholdDelta, ThresholdVersion, ObservationPattern, ProtoThreshold, ObserverProfile, ThresholdLifecycle
createThreshold()—css2/threshold.tsapplyThreshold()— classify observed value against thresholdapplyThresholdDelta()— merge delta into threshold documentcreateObservationPattern()—css2/patterns.tscreateProtoThreshold()—css2/proto-threshold.tsrunThresholdLifecycle()—css2/threshold-lifecycle.tsrunObserverLifecycle()—css2/observer-lifecycle.ts
enforceCRKOnThresholdDelta(delta, invariantSet)—crk1/recalibration-guard.tsenforceObserverProtection(context)—crk1/observer-protection.tsdefaultInvariantSet—crk1/invariants.tsassessLegitimateJudgment()—crk1/legitimate-judgment.ts(CRK-1.J + J.5 corrigibility)buildLegitimateJudgmentInput()— governance bridge- Consequence kernel (K0–K3):
proposeDecision(),allocateResource(),executeDecision(),replayOutcome()—crk1/consequence-kernel.ts InMemoryConsequenceLedger,runConsequencePipeline()—crk1/consequence-ledger.ts,crk1/consequence-pipeline.tsvalidateK01(),validateK21(),validateConsequenceChain()—crk1/consequence-invariants.tsproveAntiInsulation(),detectInsulatedDecisions()—crk1/anti-insulation.ts
Whitepapers: docs/CRK-1-WHITEPAPER-LEGITIMATE-JUDGMENT.md, docs/CRK-1-WHITEPAPER-CONSEQUENCE-KERNEL.md
JPSS2_CURRICULUM—jpss2/curriculum.ts(legacy observer modules)JPSS2_JUDGMENT_CURRICULUM—jpss2/judgment-curriculum.ts(JPSS-2.J six dimensions)applyCurriculumModule()/applyJudgmentCurriculumModule()JudgmentCapabilityLedger,createCapabilityLedger(),updateCapabilityLedger()—jpss2/capability-ledger.tsadvanceObserverStage(observer)—jpss2/observer-development.ts
Whitepaper: docs/JPSS-2-WHITEPAPER-JUDGMENT-CURRICULUM.md
runEvidenceLoop(handlers)— continuous evidence streamprocessRACosEvent(deps, event, drift, validation)— recalibration event loop slicedetectRecalibrationTriggers(...)— trigger heuristicsInMemoryObserverTraceStore— observer trace subsystemJudgmentDriftEvent,recordJudgmentDriftEvent(),makeJudgmentDriftTrace()—ra-cos1/judgment-drift-trace.tsmakeObservationTrace(),makePatternTrace(),makeProtoThresholdTrace(),makeThresholdDeltaTrace(),makeObserverDriftTrace()
Whitepaper: docs/RA-COS-1-WHITEPAPER-JUDGMENT-DRIFT.md
Hierarchy diagram (JPA-1 → OPA-1 → CSS-2 → CRK-1 → RA-COS-1): docs/CONSTITUTIONAL-STACK.md
realityToTruth()—transformation/truth.tstruthToMemory()—transformation/memory.tsmemoryToContinuity()—transformation/continuity.tscontinuityToEvolution()—transformation/evolution.ts
evaluateObserverStewardship()evaluateObserverEffectiveness()computeObserverDrift()detectObserverCapture()
ThresholdRegistry(interface)InMemoryThresholdRegistryDbThresholdRegistry(abstract)
RecalibrationGovernanceEngine— evaluates Δ-thresholds with CRK-1 + CRK-1.J + adversarial reviewGovernanceContext.judgmentAssessment— optional JPA-1 assessment for full CRK-1.J gateapplyDeltaWithCRKGuard()— registry apply with CRK-1 + CRK-1.J pre-checkrunAdversarialReview()scoreLegitimacy()
generateLineageReport()generateThresholdChartSpec()generateDriftHeatmap()
auditProject()— reality-earns-architecture test
npx thresholdctl lineage <thresholdId>
npx thresholdctl chart <thresholdId>
npx thresholdctl invariants