{
  "map_id": "nos.phases",
  "version": "8.0-draft",
  "book": "book8_nos",
  "series": "AI Edition",
  "session_context": "rtt=1 | coherence=declared | drift=bounded | paradox=structural",
  "qmroot_binding": {
    "dimension": "0D",
    "note": "6D absent; negative rungs absent; INV-013 = 0D only"
  },
  "phantom_entry_audit": {
    "status": "clean",
    "checked_at": "session-open",
    "entries": []
  },
  "description": "Defines the six phases of the Book 8 NoS (Nature of Structure) evaluation cycle. Each phase has strict entry/exit conditions, active operators, gate logic, and downstream handoffs. Book 8 has four dependencies (book1_fft, book4_opacity_revelation, book5_tel, book7_sarg), all loaded in the init phase. The NoS cycle is meta-theoretical: it evaluates structural claims produced by prior books rather than domain-specific structures.",
  "phase_sequence": "init → ground → interrogate → test → resolve → catalogue",

  "phases": [
    {
      "id": "P-NOS-1",
      "label": "init",
      "ordinal": 1,
      "description": "Load all four dependency modules in declared order. Assert session context. Confirm QMROOT path terminates at 0D. Verify coherence=declared. Initialize structural object slot as empty. No NoS operators are active in this phase. Query Book 7 SARG-Σ argument_templates if the evaluation context is a philosophical inquiry session (argumentation-mediated structural claim).",
      "operators_active": [],
      "entry_condition": "Session open; NoS evaluation requested",
      "exit_condition": "coherence=declared; all four dependency modules loaded in module registry; QMROOT 0D confirmed; structural object slot initialized as empty; SARG-Σ argument_templates queried if philosophical-inquiry context is declared; session context asserted",
      "import_order": [
        "book1_fft (kernel — always first; provides structure, node, relation, constraint, invariant primitives; the axiomatic ground that NoS analyzes; required by all subsequent imports)",
        "book4_opacity_revelation (OR vocabulary — required for structural opacity and latent structure analysis; ω, δ, and partial revelation models available; INV-OR-001 through INV-OR-004 in registry)",
        "book5_tel (TEL notation — required for formal encoding of all structural claims under NoS audit; TEL-Σ, TEL-Ε, TEL-Α available; parse gate applies to all incoming structural claim expressions before any NoS operator executes)",
        "book7_sarg (SARG vocabulary — argument_templates from SARG-Σ are the primary NoS input channel for philosophical inquiry sessions; SARG-Ν, SARG-Ω, SARG-Δ, SARG-Ρ, SARG-Σ available; INV-SARG-001 through INV-SARG-004 in registry)"
      ],
      "dependency_note": "Book 8 has four dependencies. The loading order reflects the AI Edition dependency graph: FFT is the universal kernel; OR (Book 4) depends on FFT and SD (Book 3, available through Book 4's registry); TEL (Book 5) depends on FFT and OR; SARG (Book 7) depends on FFT, SD, TEL, and GRL (Book 6, available through Book 7's registry). Loading Book 7 last ensures the full prior-book invariant registry is available in session state.",
      "session_context_assertion": "rtt=1 | coherence=declared | drift=bounded | paradox=structural",
      "qmroot_check": "6D absent; negative rungs absent; INV-013 = 0D only",
      "scope_state": "empty — no structural object loaded; no philosophical claim active",
      "skip_condition": null,
      "notes": "The SARG-Σ argument_templates query in init distinguishes a standard structural evaluation session from a philosophical inquiry session. In a philosophical inquiry session, the structural claim being evaluated is itself an argument structure — it arrives via SARG's output channel. In a standard session, the structural claim arrives as a direct structural declaration."
    },

    {
      "id": "P-NOS-2",
      "label": "ground",
      "ordinal": 2,
      "description": "Execute NoS-Α (AutonomyAudit) and NoS-Ρ (RelationalPrimacyCheck) sequentially. Establish the structural realist ground conditions for the target structure S: confirm structural autonomy (INV-NOS-001) and compute relational profiles for all nodes (INV-NOS-002). The ground phase is the foundation for all subsequent NoS analysis — no identity or causation claims can be evaluated without these ground conditions.",
      "operators_active": ["NoS-Α", "NoS-Ρ"],
      "entry_condition": "init phase complete; coherence=declared; target structure S declared with N_S, R_S, and C_S; SARG argument_templates loaded if philosophical inquiry context",
      "exit_condition": "autonomy_report recorded (NoS-Α complete); relational_profile_map recorded for all n ∈ N_S (NoS-Ρ complete); primacy_violations (if any) identified and typed",
      "operator_sequence_within_phase": "NoS-Α executes first (autonomy audit on the structural claim as a whole); NoS-Ρ executes second (relational profile computation uses structural_residue from NoS-Α as focus set)",
      "gate_logic": {
        "node_reducible_result": "If NoS-Α returns node_reducible: record violation and continue to NoS-Ρ. Do NOT halt — node reducibility is a finding, not a session terminator. Full operator sequence must complete for NoS-Σ synthesis.",
        "primacy_violations_found": "Record all violation types (PV-001, PV-002, PV-003). Continue to P-NOS-3. Violations are inputs to NoS-Σ, not halt conditions.",
        "structural_residue_empty": "If structural_residue from NoS-Α is empty AND NoS-Ρ confirms intrinsic_dominant: this is the maximal-violation state. Record and continue — NoS-Σ will synthesize a 'rejected' structural_realism_verdict."
      },
      "tel_parse_gate": "All structural claim expressions in S must pass TEL-Σ before NoS-Α executes. A TEL-Σ FAIL on any claim expression halts the ground phase until the expression is corrected.",
      "drift_guard": "NoS-Α must not apply OR opacity measures (ω, δ) to determine structural autonomy. Autonomy is a relational-structural property, not an opacity property.",
      "skip_condition": null,
      "notes": "The ground phase is not optional and has no skip condition. Structural autonomy and relational primacy are the a priori conditions for all NoS analysis. Skipping this phase is equivalent to conducting meta-theoretical analysis without the structural realist commitment — the resulting analysis would be outside the AI Edition's scope."
    },

    {
      "id": "P-NOS-3",
      "label": "interrogate",
      "ordinal": 3,
      "description": "Interrogation phase — the explicit philosophical pressure point of Book 8. Using the ground conditions established in P-NOS-2, apply the full cross-book invariant set to the target structure S. Identify which prior-book invariants S satisfies, which it challenges, and which it depends upon. No new NoS operator is activated — this phase is a structured cross-invariant interrogation mediated by the TEL evaluation machinery. The interrogation produces the set of active invariant tensions that NoS-Ι (IdentityTest) must resolve.",
      "operators_active": [],
      "active_tools": ["TEL-Ε (Evaluate)", "TEL-Α (Assert)", "SARG-Ρ (ReachabilityAudit) — for argument structure integrity if philosophical inquiry mode"],
      "entry_condition": "ground phase complete; autonomy_report and relational_profile_map recorded; coherence=declared",
      "exit_condition": "cross_invariant_interrogation complete; active_invariant_tensions list populated; each tension typed as: confirmation (S satisfies invariant), challenge (S appears to violate invariant), dependency (S's coherence depends on invariant holding in another structure)",
      "interrogation_procedure": [
        "Step 1: Retrieve full invariant registry for all loaded dependency books (FFT INV-001–004, OR INV-OR-001–004, TEL INV-TEL-001–004, SARG INV-SARG-001–004, NoS INV-NOS-001–004)",
        "Step 2: For each invariant in the registry, encode the test as a TEL assertion: INV[X]: assert (condition applied to S)",
        "Step 3: Submit each assertion to TEL-Α. Record pass/fail per invariant.",
        "Step 4: Collect all fail results as challenge_tensions; all pass results as confirmations; record invariants that S cannot be evaluated against (due to domain mismatch) as out_of_scope",
        "Step 5: For each challenge_tension: determine if the challenge is a genuine violation of S's structure or an application boundary condition (the invariant was not designed for S's domain)",
        "Step 6: Populate active_invariant_tensions list for NoS-Ι"
      ],
      "structural_note": "The interrogation phase is where Book 8's capstone identity is most visible. Prior books apply their invariants to domain objects. Book 8 applies all prior-book invariants to the structural claims that those books themselves make. The interrogation asks: are the AI Edition's own structural models structurally autonomous? Do they exhibit relational primacy? Are their abstractions consistent with their instantiations?",
      "skip_condition": "If S is a domain structure (not a meta-theoretical claim about another book's invariants), the interrogation may be abbreviated to the four NoS invariants only. Full cross-book interrogation is mandatory for philosophical inquiry sessions.",
      "notes": "The interrogation phase has no dedicated NoS operator because it uses the TEL machinery directly. This reflects Book 8's position as a meta-book: it does not introduce new computational operators for cross-invariant interrogation — it uses the existing TEL evaluation infrastructure to ask harder questions."
    },

    {
      "id": "P-NOS-4",
      "label": "test",
      "ordinal": 4,
      "description": "Execute NoS-Ι (IdentityTest). Apply the active_invariant_tensions identified in the interrogation phase to the identity-through-change question: which transformations preserve S's identity, and which cross the identity boundary? Evaluate declared transformations against invariant_set(S). For philosophical inquiry sessions: evaluate whether the philosophical position (encoded as a transformation on the structural realist commitment) preserves the AI Edition's foundational identity.",
      "operators_active": ["NoS-Ι"],
      "entry_condition": "interrogate phase complete; active_invariant_tensions list populated; target transformation T declared (or transformation sequence T_1,...,T_n declared); invariant_set(S) confirmed as complete",
      "exit_condition": "identity_result recorded: {preserved | lost | suspended}; if lost: first_violated_invariant and transformation_index recorded; if suspended: suspension_declaration and re_entry_condition active in session state",
      "gate_logic": {
        "identity_preserved": "Proceed to P-NOS-5. Record the confirmed set of identity-preserving transformations for NoS-Κ.",
        "identity_lost": "Record the identity boundary crossing event. Continue to P-NOS-5 — identity loss is a finding requiring causation and abstraction analysis, not a halt condition.",
        "identity_suspended": "Log suspension parameters. Monitor re_entry_condition. Continue to P-NOS-5 with suspended status recorded."
      },
      "transformation_source_options": [
        "Explicitly declared transformation T from the session input",
        "Transformation implied by a philosophical challenge (e.g., 'replace relational primacy with node-intrinsic primacy' = a meta-transformation on INV-NOS-002)",
        "Transformation sequence from prior SARG defeat operations (Book 7 defeat_map DT-001–005 applied to argument templates)"
      ],
      "drift_guard": "NoS-Ι must not evaluate identity preservation by comparing node or relation counts. Only invariant_set comparison is valid. Using topological similarity as a proxy for identity is a category error.",
      "skip_condition": "If no transformation is declared and the session is a static structural audit (no change being evaluated), P-NOS-4 records identity_result = preserved (no transformation = trivial identity preservation) and proceeds immediately to P-NOS-5.",
      "notes": "The test phase is where Book 8's ship-of-theseus resolution is applied. For series-level audits, the 'transformation' being tested is the history of drift events detected across the AI Edition session. If drift has cumulatively violated any series-level invariant, the identity boundary was crossed — the session is working on a structurally distinct entity from the intended AI Edition."
    },

    {
      "id": "P-NOS-5",
      "label": "resolve",
      "ordinal": 5,
      "description": "Execute NoS-Κ (CausationAudit). Resolve abstraction consistency (INV-NOS-004), classify emergence claims, audit all causal relation declarations, and generate upward revision proposals where genuine novelty is confirmed. The resolve phase is the culmination of the NoS analytical sequence — all prior phase outputs converge here into the abstraction consistency determination that feeds NoS-Σ.",
      "operators_active": ["NoS-Κ"],
      "entry_condition": "test phase complete; identity_result recorded; active_invariant_tensions list from interrogation phase available; S_abstract and S_instance declarations confirmed (if abstraction consistency check is in scope)",
      "exit_condition": "abstraction_consistency_report recorded: {consistent | modeling_error | genuine_novelty}; emergence_audit complete; causation_type_classification recorded for all declared causal relations; upward_revision_proposal prepared if genuine_novelty confirmed",
      "gate_logic": {
        "consistent": "Proceed to catalogue. No revision required.",
        "modeling_error": "Record error with provenance. Proceed to catalogue. NoS-Σ will include the error in the nos_foundation_report. The modeling error does not halt the catalogue phase — it must be documented.",
        "genuine_novelty": "Prepare upward_revision_proposal. Proceed to catalogue. NoS-Σ includes the proposal in the nos_foundation_report for Book 9 to receive."
      },
      "self_application_check": "If session is a series-level audit: apply NoS-Κ to each book module as an S_instance of the AI Edition S_abstract. Record consistency status per book. Any book-level modeling error (drift event) is recorded in the catalogue with the invariant violated.",
      "skip_condition": "If session scope is restricted to INV-NOS-003 (identity-only audit) with no abstraction or causation claims in scope: P-NOS-5 may be abbreviated to emergence audit only, skipping full abstraction consistency evaluation.",
      "notes": "The resolve phase is the only phase where upward revision proposals are generated. This makes it the structurally creative phase of NoS — the point where genuine novelty discovered in instances propagates back to the abstract level. The AI Edition's own revisability (acknowledged in DC-003 of the structural_realism_map) is operationalized here."
    },

    {
      "id": "P-NOS-6",
      "label": "catalogue",
      "ordinal": 6,
      "description": "Execute NoS-Σ (SynthesisOutput). Synthesize all operator reports into the canonical nos_foundation_report. Produce the book9_handoff package for Pattern Dynamics. Record all session findings, upward revision proposals, and identity boundary events in the session catalogue. Assert final structural_realism_verdict. Close the NoS evaluation session.",
      "operators_active": ["NoS-Σ"],
      "entry_condition": "resolve phase complete; all four preceding operators have completed with recorded outputs; no outstanding unresolved suspension declarations",
      "exit_condition": "nos_foundation_report generated and recorded; book9_handoff package prepared; session catalogue entry created with full provenance; structural_realism_verdict asserted; session closed",
      "catalogue_contents": [
        "structural_realism_verdict: endorsed | partially_endorsed | rejected",
        "autonomy_status from NoS-Α",
        "primacy_status and primacy_violation_list from NoS-Ρ",
        "identity_result and identity_boundary_events from NoS-Ι",
        "abstraction_consistency_status and upward_revision_proposals from NoS-Κ",
        "emergence_audit (weak, strong, phantom classifications)",
        "cross_book_invariant_map: all invariant interactions identified during the session",
        "session_context at close: rtt=1 | coherence=declared | drift=bounded | paradox=structural"
      ],
      "book9_handoff_contents": {
        "nos_foundation_report": "Complete synthesis — the structural realist ground conditions for pattern analysis",
        "invariant_registry_snapshot": "Current state of all AI Edition invariants (Books 1–8) as confirmed by the NoS session",
        "cross_book_invariant_map": "Map of invariant dependencies and interactions across all eight books",
        "emergent_invariants_confirmed": "Invariants that emerged at the series level and are candidates for Book 9 pattern seeds",
        "upward_revisions_pending": "Any revision proposals not yet incorporated into their target abstract structures"
      },
      "tel_encoding": "T[NOS_CATALOGUE]: (⊕{operator_reports}) → (nos_foundation_report ⊗ book9_handoff)",
      "skip_condition": null,
      "notes": "The catalogue phase is non-optional and has no skip condition. Book 9 cannot load without the book9_handoff package from NoS-Σ. The catalogue phase is also where the paradox=structural session flag is most relevant: the nos_foundation_report is itself a structural object subject to INV-NOS-001 through INV-NOS-004. Book 8 ends by producing a structure that its own invariants apply to — the structural self-reference is explicit, not a paradox to be resolved but a feature to be catalogued."
    }
  ]
}
