# Codex Implementation Prompt: Upgrade The Signal v0.1 to v0.2

You are working inside a repository or folder containing The Signal AI Package v0.1.

Your job is to apply the v0.2 coherence-audit upgrade using the provided assets.

Do not summarize the task and stop. Inspect the files, apply the changes, validate them, and produce a final implementation report with changed files and verification results.

## Goal

Upgrade The Signal from a staged evidential package into a stronger whole-field coherence-audit package.

The v0.2 spine is:

> The question is not whether a worldview can explain something. The question is whether it can preserve the whole field without reduction, contradiction, evasion, or borrowed capital.

This upgrade should make atheist, skeptic, and rival-worldview teardowns structurally harder by forcing every replacement worldview to disclose what it must deny, reduce, borrow, defer, contradict, evade, or collapse.

Do not make the package more preachy. Make it more rigorous.

## Inputs You Should Expect

You should have these v0.1 package files:

```text
README.md
START_HERE_PROMPT.md
QUESTIONS_TO_ASK.md
manifest.json
data/evidence/evidence.json
data/evidence/evidence.jsonl
data/evidence/items/*.json
data/hypotheses/hypotheses.json
data/runtime/assessments_min.json
data/runtime/prior_profiles.json
data/runtime/results_summary.json
data/runtime/stage_flow.json
data/runtime/synthesis_model.json
data/runtime/worldview_breakpoints.json
```

You should also have these v0.2 upgrade assets available, either as files or pasted content:

```text
COHERENCE_BURDEN_LEDGER.md
HOSTILE_ATHEIST_AUDIT.md
TWO_LEVEL_EVALUATION.md
SENSITIVITY_TESTS.md
NATURALISM_STEELMAN.md
START_HERE_PROMPT_v0.2.md
QUESTIONS_TO_ASK_v0.2.md
manifest_v0.2.json
data/runtime/coherence_burden_ledger.json
data/runtime/rival_collapse_map.json
data/runtime/sensitivity_protocols.json
data/runtime/naturalism_steelman_matrix.json
data/runtime/worldview_breakpoints_v0.2.json
```

## Non-Negotiable Constraints

1. Preserve all v0.1 evidence item files unless a specific syntax or manifest issue requires a path correction.
2. Preserve caveats, dependency notes, unweighted/contextual roles, source trails, and support-layer language.
3. Do not call the synthesis a final posterior, proof, coercive demonstration, or certainty claim.
4. Do not caricature rival worldviews.
5. Do not let skepticism function as a worldview-free veto.
6. Do not treat Christ as Logos as a flat peer once the staged path has conditioned the field.
7. Validate all JSON before finishing.
8. If no scoring engine exists, do not pretend sensitivity tests were numerically run. Add the protocols and state that future scoring implementation is required.
9. If a scoring engine exists, implement the sensitivity protocols in a transparent way and produce result files under `data/runtime/`.

## Step-by-Step Work

### 1. Inspect the package

List the root files and `data/runtime/` files.

Confirm whether these exist:

```text
START_HERE_PROMPT.md
QUESTIONS_TO_ASK.md
manifest.json
data/runtime/worldview_breakpoints.json
data/runtime/results_summary.json
data/runtime/synthesis_model.json
data/runtime/stage_flow.json
```

Read the current `manifest.json` and `data/runtime/worldview_breakpoints.json`.

### 2. Add new root markdown modules

Create or replace these files at the package root:

```text
COHERENCE_BURDEN_LEDGER.md
HOSTILE_ATHEIST_AUDIT.md
TWO_LEVEL_EVALUATION.md
SENSITIVITY_TESTS.md
NATURALISM_STEELMAN.md
```

Their purpose:

- `COHERENCE_BURDEN_LEDGER.md`: operationalizes whole-field coherence.
- `HOSTILE_ATHEIST_AUDIT.md`: forces skeptic/atheist objections to disclose their replacement worldview.
- `TWO_LEVEL_EVALUATION.md`: separates evidential explanation from preconditions of explanation.
- `SENSITIVITY_TESTS.md`: defines root cluster cap, conditioned prior clamp, and naturalism steelman tests.
- `NATURALISM_STEELMAN.md`: builds the strongest naturalist coalition before comparison.

### 3. Add new runtime JSON modules

Create or replace these files:

```text
data/runtime/coherence_burden_ledger.json
data/runtime/rival_collapse_map.json
data/runtime/sensitivity_protocols.json
data/runtime/naturalism_steelman_matrix.json
```

Make sure they are valid JSON and use stable IDs.

Expected top-level purposes:

- `coherence_burden_ledger.json`: burden questions, cost markers, output schema, worldview profiles.
- `rival_collapse_map.json`: what each rival explains, reduces, borrows, defers, contradicts/evades, and its collapse risk.
- `sensitivity_protocols.json`: root cluster caps, conditioned-prior clamps, and naturalism steelman protocols.
- `naturalism_steelman_matrix.json`: strongest naturalist variants and their explanatory costs.

### 4. Replace the start prompt

Replace `START_HERE_PROMPT.md` with `START_HERE_PROMPT_v0.2.md`.

Verify that the new prompt includes:

- staged path language,
- active `bayes_factors` rule,
- two-level evaluation,
- Coherence Burden Rule,
- skepticism-is-not-neutral-ground instruction,
- rival collapse map instruction,
- required sensitivity checks,
- first response requirements.

### 5. Replace the questions file

Replace `QUESTIONS_TO_ASK.md` with `QUESTIONS_TO_ASK_v0.2.md`.

Verify it includes sections for:

- first orientation,
- two-level evaluation,
- coherence burden ledger,
- hostile atheist audit,
- evidence and results,
- sensitivity tests,
- strong naturalism steelman,
- worldview breakpoints and collapse map,
- Christ identity and resurrection,
- skeptic/Christian/AI alignment questions,
- final test.

### 6. Upgrade worldview breakpoints

Open `data/runtime/worldview_breakpoints.json`.

Add v0.2 fields to every major branch:

```json
"collapse_risk": "...",
"coherence_burden_focus": ["..."],
"must_disclose": ["..."],
"audit_instruction": "..."
```

At minimum, cover these branch IDs if present:

```text
naturalism
reductive_physicalism
islam_strict_monotheism
judaism_messiah_not_yet
hinduism_advaita
buddhism
new_age_syncretism
secular_humanism
resurrection_alternatives
christ_the_logos
```

Use this collapse-risk content unless the existing file requires wording adjustments:

```text
naturalism:
The reasoning subject becomes a survival-shaped output while still claiming access to objective truth, binding moral obligation, intrinsic dignity, and norm-governed rationality.

reductive_physicalism:
The mind is reduced to physical function while the argument still depends on first-person experience, intentionality, rational normativity, and the obligation to believe what is true.

secular_humanism:
Preserves dignity and moral urgency, but risks borrowing sacred-person language from a metaphysical order it no longer affirms.

new_age_syncretism:
Calls all paths true by weakening truth-conditions, contradiction, historical specificity, and mutually exclusive claims.

buddhism:
Deeply diagnoses suffering, but risks answering the wound of the self by dissolving the enduring person who needs justice, love, and restoration.

hinduism_advaita:
Explains unity and consciousness, but risks treating distinction as illusion where moral evil, personal love, covenant, and redemption require real distinction.

islam_strict_monotheism:
Reveres Jesus while blocking the identity that crucifixion, resurrection, early worship, and high Christology pressure toward.

judaism_messiah_not_yet:
If resurrection is divine vindication, the messiah-not-yet frame must explain why the decisive covenantal sign does not decide the case.

resurrection_alternatives:
Each alternative explains a fragment of the resurrection-belief field, but the full cluster strains when early creed, Jerusalem locality, burial/empty tomb context, sincerity, cost, and Christ identity are held together.

christ_the_logos:
Depends on staged conditioning and must avoid overclaiming; its strength is that it preserves intelligibility, reason, personhood, moral obligation, love, history, revelation, incarnation, and resurrection in one governing relation.
```

Also add `collapse_risk` to resurrection alternative subcards if present:

```text
legend:
Explains development and theological shaping, but strains under early creed timing, Jerusalem locality, and event-specific proclamation.

hallucination:
Explains visionary experience, but strains under group/varied appearances, empty tomb context, bodily resurrection proclamation, and enemy-conversion pressure.

conspiracy:
Explains intentional fabrication, but strains under cost, sincerity, lack of obvious gain, and the moral transformation of the proclaimers.

swoon:
Explains survival without resurrection, but strains under Roman execution competence, post-crucifixion condition, worship outcome, and proclamation of victory over death.

wrong_tomb_unknown:
Explains uncertainty around location, but strains under Jerusalem locality, public correction pressure, burial traditions, and early proclamation specificity.
```

If a branch ID differs, map the closest equivalent and note it in the final report.

### 7. Update manifest

Update `manifest.json` to version `0.2`.

Add new files under `included_data` or a new `included_modules` block:

```json
"coherence_burden_ledger": "data/runtime/coherence_burden_ledger.json",
"rival_collapse_map": "data/runtime/rival_collapse_map.json",
"sensitivity_protocols": "data/runtime/sensitivity_protocols.json",
"naturalism_steelman_matrix": "data/runtime/naturalism_steelman_matrix.json"
```

Add root modules:

```json
"coherence_burden_ledger_md": "COHERENCE_BURDEN_LEDGER.md",
"hostile_atheist_audit_md": "HOSTILE_ATHEIST_AUDIT.md",
"two_level_evaluation_md": "TWO_LEVEL_EVALUATION.md",
"sensitivity_tests_md": "SENSITIVITY_TESTS.md",
"naturalism_steelman_md": "NATURALISM_STEELMAN.md"
```

Add reading rules:

```text
Do not let skepticism function as a worldview-free veto.
Evaluate both evidential explanation and preconditions of explanation.
Use the Coherence Burden Ledger before making exclusive-coherence claims.
Use the Rival Collapse Map to identify what each rival denies, reduces, borrows, defers, contradicts, or evades.
Run or explicitly request sensitivity checks before public overclaiming.
```

### 8. Optional scoring implementation

Search the repository for scoring scripts or functions.

Look for terms like:

```text
bayes
prior
posterior
dependency
synthesis
stage
score
results_summary
```

If a scoring engine exists, add a transparent implementation for:

1. Root cluster cap.
2. Conditioned prior clamp at 25%, 50%, 75%.
3. Naturalism steelman comparison report.

Write outputs to:

```text
data/runtime/sensitivity_results.json
```

If no scoring engine exists, do not fabricate numerical results. Instead, leave `sensitivity_protocols.json` as the implementation spec and add a note in the final report that the numerical run is pending.

### 9. Validate

Run JSON validation on:

```text
manifest.json
data/runtime/worldview_breakpoints.json
data/runtime/coherence_burden_ledger.json
data/runtime/rival_collapse_map.json
data/runtime/sensitivity_protocols.json
data/runtime/naturalism_steelman_matrix.json
```

Use Python if available:

```bash
python -m json.tool manifest.json >/tmp/manifest.validated.json
python -m json.tool data/runtime/worldview_breakpoints.json >/tmp/worldview.validated.json
python -m json.tool data/runtime/coherence_burden_ledger.json >/tmp/coherence.validated.json
python -m json.tool data/runtime/rival_collapse_map.json >/tmp/collapse.validated.json
python -m json.tool data/runtime/sensitivity_protocols.json >/tmp/sensitivity.validated.json
python -m json.tool data/runtime/naturalism_steelman_matrix.json >/tmp/naturalism.validated.json
```

Also grep the start prompt to confirm the core v0.2 terms exist:

```bash
grep -n "Two-Level Evaluation" START_HERE_PROMPT.md
grep -n "Coherence Burden" START_HERE_PROMPT.md
grep -n "Skepticism Is Not Neutral Ground" START_HERE_PROMPT.md
grep -n "Rival Collapse" START_HERE_PROMPT.md
```

### 10. Package

Create a zip:

```text
the-signal-ai-package-v0.2.zip
```

Do not include system junk files, temporary validation files, or old duplicate zips inside the package.

### 11. Final report

Your final response must include:

```text
Implemented:
- [list changed/added files]

Validated:
- [JSON validation results]
- [prompt grep results]

Not implemented / pending:
- [only if scoring engine did not exist or numerical sensitivity tests could not be run]

Key behavior change:
- The package now forces every rival worldview to disclose what it denies, reduces, borrows, defers, contradicts, evades, or collapses before it can claim to defeat Christ as Logos.
```

## Tone Standard

The upgrade should sound rigorous, not insecure.

Do not use triumphalist language. Do not pressure the model to output faith. Make the map expose full-field explanatory costs.
