Internal · protocol specification

Kernel Protocol

The rules every kernel object obeys. This workspace documents the protocol; it does not execute it. Every future feature must conform to what is written here.

Judgment protocol · lifecycle

kernel/v1.2
  1. 01Snapshot
  2. 02Investigation
  3. 03Recommendation
  4. 04Outcome
  5. 05Reflection
  6. 06Pattern
  7. 07Candidate Principle
  8. 08Constitution
  9. loopFuture Recommendation

↺ Constitution constrains every future recommendation. The pipeline is a closed loop, not a line.

Executable protocol

Run one business scenario through all eight objects and watch each gate discharge.

Open Judgment Lab

§1 Objects

8 definitions

§2 Relationship graph

FromVerbToMeaning
SnapshotprecedesSnapshotEstablishes the chronology reasoning walks.
SnapshotgroundsInvestigationSupplies every number an investigation may cite.
SnapshotevidencesPatternA pattern may cite the readings it was observed in.
InvestigationreadsSnapshotConsumes readings as its only factual input.
InvestigationsupportsPatternContributes one occurrence toward a recurring behaviour.
InvestigationproducesRecommendationMay emit at most one active recommendation.
InvestigationsupersedesInvestigationReplaces an earlier reading of the same question.
Recommendationderives fromInvestigationInherits the evidence and confidence of its source.
Recommendationinfluenced byConstitutionMust be consistent with ratified principles.
RecommendationproducesOutcomeAn accepted recommendation must eventually resolve.
OutcomeresolvesRecommendationCloses the loop opened by acceptance.
OutcomecitesSnapshotGrounds the observation in recorded readings.
OutcomecreatesReflectionEvery closed outcome obliges a reflection.
ReflectioninterpretsOutcomeExplains why the result diverged or matched.
ReflectionstrengthensPatternAdds one classified occurrence.
ReflectionchallengesCandidate PrincipleAttaches contradicting evidence to a proposal.
Patternobserved inInvestigationEach occurrence points at one investigation.
Patternborn fromReflectionClassification originates in a reflection.
PatternproposesCandidate PrincipleCrossing the evidence threshold opens a proposal.
Patternrelated toPatternShares a mechanism without being the same behaviour.
Candidate Principleproposed byPatternInherits the pattern's occurrence evidence.
Candidate Principlechallenged byReflectionContradicting evidence is attached, not discarded.
Candidate PrinciplebecomesConstitutionApproval ratifies it as a constitutional article.
ConstitutionratifiesCandidate PrincipleConverts an approved proposal into governing text.
ConstitutioninfluencesRecommendationConstrains what may be recommended and how.
ConstitutionsupersedesConstitutionA later article replaces an earlier one.

§3 Global invariants

10 constraints
  • GI-01∀ r ∈ Recommendation : accepted(r) ⇒ |outcomes(r)| = 1hard

    Every accepted recommendation resolves to exactly one outcome.

    violation · Open loop: the calibration record silently loses a decision.

    scope: Recommendation · Outcome

  • GI-02∀ o ∈ Outcome : closed(o) ⇒ |reflections(o)| ≥ 1hard

    Every closed outcome generates at least one reflection.

    violation · Ground truth is recorded but never interpreted; no learning occurs.

    scope: Outcome · Reflection

  • GI-03∀ i ∈ Investigation : |metrics(conclusion(i))| ≥ 2hard

    Every published conclusion connects at least two metrics.

    violation · Single-metric reasoning: description masquerading as diagnosis.

    scope: Investigation

  • GI-04∀ p ∈ Pattern : state(p) = Candidate ⇒ |occurrences(p)| ≥ THRESHOLDgate

    A pattern may not propose a principle before crossing the evidence threshold.

    violation · One failure becomes a permanent rule. Overfitting to a single scenario.

    scope: Pattern · Candidate Principle

  • GI-05∀ c ∈ CandidatePrinciple : approve(c) ⇒ decidedBy(c) ∈ Humans ∧ openChallenges(c) = ∅gate

    No candidate enters the constitution without a named human decision and zero open challenges.

    violation · Self-ratification: the engine rewrites its own governing rules.

    scope: Candidate Principle · Constitution

  • GI-06∀ a ∈ Constitution : ¬delete(a) ∧ version(a) ≠ ∅hard

    Constitutional articles are never deleted and always carry the version in which they entered force.

    violation · Past recommendations become unexplainable against the rules that produced them.

    scope: Constitution

  • GI-07∀ s ∈ Snapshot : ∀ t > ingestedAt(s) : values(s, t) = values(s, ingestedAt(s))hard

    Snapshot values are byte-stable after ingestion.

    violation · Every downstream citation becomes unverifiable.

    scope: Snapshot

  • GI-08∀ x ∈ Kernel : cites(x) ⊆ published(before(x))audit

    No object may cite evidence created after its own publication.

    violation · Retroactive justification. The chain reads as sound but is not.

    scope: Investigation · Reflection · Pattern · Candidate Principle

  • GI-09∀ r ∈ Recommendation : |{v ∈ versions(r) : state(v) = Active}| ≤ 1hard

    At most one version of a recommendation is active at any time.

    violation · Ambiguous advice: two theses compete for one decision.

    scope: Recommendation

  • GI-10∀ x ∈ Kernel : ¬act(x)hard

    No kernel object executes an action on the business. The kernel advises only.

    violation · Autonomy breach. The founder is no longer the decision-maker.

    scope: Recommendation · Constitution

This workspace changes no behaviour. Historical records remain immutable: outcomes are never edited, investigations are never overwritten, and the constitution is never deleted or silently modified.