◎ OS PUB Apache 2.0 ← All specifications

P108 — AIEP — AGI Recursive Goal Extension with Constitutional Governance at Every Recursion Level


applicant: Neil Grassby / status: review — to file priority: GB2519711.2 filed 20 November 2025; P50 GoalVector Stabilisation Primitive

Summary

[0001] P84 (Recursive Goal Tree Deepening) defines bounded recursive subgoal generation. P108 extends this to AGI-scale recursion — goals generating sub-goals generating sub-sub-goals — with the critical addition that constitutional governance (GB2519711.2 R1–R8, GoalVector Stabilisation P50, Constitutional Goal Drift Detection P88) is applied at every level of recursion independently, not only at the root level.

[0002] At each recursion level, a RecursionLevelGovernanceRecord is generated comprising: RecursionDepth; SubgoalId; ParentGoalId; ConstitutionalComplianceHash; and FoundingTensionHash binding the subgoal to the root GoalVector’s founding tension (P87).

[0003] The FoundingTensionHash propagates through all recursion levels. A subgoal at recursion depth N carries the same FoundingTensionHash as the root GoalVector. P88 constitutional drift detection runs at every recursion level, not only at root. If any subgoal at any recursion depth shows drift from the root FoundingTensionHash beyond the schema-defined DriftThreshold, that recursion branch is suppressed fail-closed.

[0004] RecursionDepthLimit is a schema-defined version-bound parameter. Attempts to exceed RecursionDepthLimit are suppressed fail-closed with a RecursionDepthExceededRecord appended to the Reasoning Ledger.

Claims

  1. A recursive goal governance system within an AIEP substrate configured to: generate subgoals recursively from GoalVector incompatibilities; apply constitutional governance independently at each recursion level; propagate FoundingTensionHash from root GoalVector through all recursion levels; run P88 constitutional drift detection at every recursion depth; and suppress fail-closed any recursion branch where drift exceeds schema-defined threshold.

  2. The system of claim 1 wherein RecursionLevelGovernanceRecord is generated at each level comprising RecursionDepth, SubgoalId, ParentGoalId, ConstitutionalComplianceHash, and FoundingTensionHash.

  3. The system of claim 1 wherein RecursionDepthLimit is a schema-defined version-bound parameter with fail-closed suppression upon exceedance.

  4. A computing system implementing the method of claim 1.


Drawings

FIG. 1 — Architecture diagram (see filed application for figures)

Figure 1 — RecursionLevelGovernanceRecord at Each Depth

Root GoalVector (depth 0)
FoundingTensionHash[0] ──────────────────────────────┐
     │                                              │
     ▼ decompose                                    │
SubGoal[0→1] depth 1                                │
RecursionLevelGovernanceRecord[1]:                  │
  RecursionDepth=1, ParentGoalId,                   │ propagated
  FoundingTensionHash[0], ComplianceHash            │
     │                                              │
     ▼ decompose                                    │
SubGoal[1→2] depth 2                                │
RecursionLevelGovernanceRecord[2]:                  │
  RecursionDepth=2, FoundingTensionHash[0] ─────────┘

Figure 2 — RecursionDepthLimit Fail-Closed Gate

Decompose subgoal at depth N


┌──────────────────────────────┐
│  N < RecursionDepthLimit?    │
└──────┬───────────────────────┘
       │ YES               NO
       ▼                   ▼
    ALLOWED          SUPPRESSED fail-closed
                     RecursionDepthExceededRecord
                     appended to Reasoning Ledger

Figure 3 — P88 Constitutional Drift Detection at Every Depth

RecursionLevelGovernanceRecord[depth]


P88 DriftScore = f(GoalVector[depth], FoundingTensionHash[0])

     ├── DriftScore <= threshold ──► CONTINUE recursion
     └── DriftScore > threshold  ──► SUPPRESS fail-closed
                                     RecursionBranchDriftRecord archived