Spaces:
Running
Running
Publish Aureon OS from source ca6be206f108a2474a8cb38faf9ad3ae836e1479 (files 7751-8000/16781)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributes+22
- docs/research/whitepapers/Maeshowe_Seer_Decode_Report_rev2.docxAdded
- docs/research/whitepapers/Modeling_Light_Dynamics_Through_Astronomical.pdfAdded+3
- docs/research/whitepapers/PEFCphiS_Leckey_2026.pdfAdded+3
- docs/research/whitepapers/Project_Alfie_A_Theoretical_Framework.pdfAdded+3
- docs/research/whitepapers/Project_Druid_Technical_Architecture.pdfAdded+3
- docs/research/whitepapers/Quantum_Gravity_in_the_Act_A_Two_Stage.pdfAdded
- docs/research/whitepapers/Quantum_Gravity_in_the_Act_QGITA_Lighthouse.pdfAdded+3
- docs/research/whitepapers/THE_PHI_SQUARED_CHAIN_Sumer_to_Rome_to_Now.pdfAdded+3
- docs/research/whitepapers/Tandem_in_Unity_A_Unified_Framework_v1.pdfAdded+3
- docs/research/whitepapers/Tandem_in_Unity_A_Unified_Framework_v2.pdfAdded+3
- docs/research/whitepapers/Tandem_in_Unity_Unifying_Resonant_Fields_v1.pdfAdded+3
- docs/research/whitepapers/Tandem_in_Unity_Unifying_Resonant_Fields_v2.pdfAdded+3
- docs/research/whitepapers/The_Barons_Banner.pdfAdded+3
- docs/research/whitepapers/The_Doorbell_Hypothesis_Leckey.docxAdded+3
- docs/research/whitepapers/The_Dormant_Seed.docxAdded
- docs/research/whitepapers/The_HNC_and_the_Aureon_Trading_Framework.pdfAdded+3
- docs/research/whitepapers/The_Harmonic_Nexus_Core_HNC_A_Unified_Framework.pdfAdded+3
- docs/research/whitepapers/The_Harmonic_Nexus_Core_and_Auris_Conjecture.pdfAdded+3
- docs/research/whitepapers/The_LuminaCell_v2_Architecture.pdfAdded+3
- docs/research/whitepapers/The_Math_Angel_Protocol_A_Mathematical_Framework.docxAdded+3
- docs/research/whitepapers/The_Sagittarius_Convergence_Leckey_2026.docxAdded+3
- docs/research/whitepapers/The_Sagittarius_Convergence_v2_Corrected.docxAdded+3
- docs/research/whitepapers/The_Source_Oscillator_Constraint_Whitepaper.docxAdded
- docs/research/whitepapers/Unified_Framework_of_Symbolic_Emergence.pdfAdded+3
- docs/research/whitepapers/What_Does_Life_Mean_To_You_Validation.pdfAdded+3
- docs/rising_star_visual_comparison.txtAdded+251
- docs/runbooks/COGNITIVE_FLOW_LIVE_DATA_CHECKLIST.mdAdded+459
- docs/runbooks/DESIGN_CANDIDATE_CLAIM_SURFACE.mdAdded+103
- docs/runbooks/DESIGN_CANDIDATE_INITIAL_GATE.mdAdded+49
- docs/runbooks/DESIGN_CANDIDATE_MOTION_POLICY_COMPILER.mdAdded+154
- docs/runbooks/DESIGN_CANDIDATE_STATIC_QA.mdAdded+425
- docs/runbooks/DESIGN_CANDIDATE_TEST_EVIDENCE.mdAdded+356
- docs/runbooks/DESIGN_CANDIDATE_TEST_POLICY_COMPILER.mdAdded+176
- docs/runbooks/DESIGN_LEARNING_LEDGER.mdAdded+67
- docs/runbooks/DESIGN_MOTION_PERFORMANCE_BUDGET.mdAdded+263
- docs/runbooks/EMERGENCY_TRADING_HALT.mdAdded+114
- docs/runbooks/FIX_TRADING_SYSTEM.mdAdded+64
- docs/runbooks/GO_LIVE_HARDENING.mdAdded+242
- docs/runbooks/GO_LIVE_HNC_HEAD_NEXT.mdAdded+73
- docs/runbooks/GO_LIVE_RECEIPTS_REMEASURE.mdAdded+124
- docs/runbooks/GO_LIVE_STAGE11_INSTALLER_GATE.mdAdded+126
- docs/runbooks/GO_LIVE_STAGE6_SOURCE_CENSUS.mdAdded+60
- docs/runbooks/GO_LIVE_STAGE8_EXCHANGES.mdAdded+20
- docs/runbooks/HARMONIC_OBSERVER_PRODUCTION.mdAdded+282
- docs/runbooks/INVESTOR_COPY_GOVERNANCE_APPLICATION.mdAdded+209
- docs/runbooks/INVESTOR_COPY_REPAIR_CONTRACT.mdAdded+85
- docs/runbooks/INVESTOR_NARRATIVE_RESEARCH_REFRESH_WORK_ORDER_20260728.mdAdded+130
- docs/runbooks/LIVE_TRADING_READY.mdAdded+13
- docs/runbooks/OWNER_SOURCE_RECONCILIATION_DECISION.mdAdded+133
320 unmodified lines321322323320 unmodified linesdocs/research/whitepapers/LSSP_Preregistration_Leckey_2026.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/Lambda_Materialization_Gradient_Integrity.docx filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/Lumina_Subsystem_Integrated_Quantum_Amplifier.pdf filter=lfs diff=lfs merge=lfs -text320 unmodified lines321322323324325326327328329330331332333334335336337338339340341342343344345320 unmodified linesdocs/research/whitepapers/LSSP_Preregistration_Leckey_2026.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/Lambda_Materialization_Gradient_Integrity.docx filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/Lumina_Subsystem_Integrated_Quantum_Amplifier.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/Modeling_Light_Dynamics_Through_Astronomical.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/PEFCphiS_Leckey_2026.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/Project_Alfie_A_Theoretical_Framework.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/Project_Druid_Technical_Architecture.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/Quantum_Gravity_in_the_Act_QGITA_Lighthouse.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/THE_PHI_SQUARED_CHAIN_Sumer_to_Rome_to_Now.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/Tandem_in_Unity_A_Unified_Framework_v1.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/Tandem_in_Unity_A_Unified_Framework_v2.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/Tandem_in_Unity_Unifying_Resonant_Fields_v1.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/Tandem_in_Unity_Unifying_Resonant_Fields_v2.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/The_Barons_Banner.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/The_Doorbell_Hypothesis_Leckey.docx filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/The_HNC_and_the_Aureon_Trading_Framework.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/The_Harmonic_Nexus_Core_HNC_A_Unified_Framework.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/The_Harmonic_Nexus_Core_and_Auris_Conjecture.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/The_LuminaCell_v2_Architecture.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/The_Math_Angel_Protocol_A_Mathematical_Framework.docx filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/The_Sagittarius_Convergence_Leckey_2026.docx filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/The_Sagittarius_Convergence_v2_Corrected.docx filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/Unified_Framework_of_Symbolic_Emergence.pdf filter=lfs diff=lfs merge=lfs -textdocs/research/whitepapers/What_Does_Life_Mean_To_You_Validation.pdf filter=lfs diff=lfs merge=lfs -textfrontend/bun.lockb filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:532f2add505e456478ee02111680b55042afe314bf639cdf889d1de7a31cec97size 123095123version https://git-lfs.github.com/spec/v1oid sha256:70c68532f199a8f5ef3a5403b928735dd703c92c1f37837b31edaf60ced7f2desize 105354123version https://git-lfs.github.com/spec/v1oid sha256:4322cbb0fa255ad83dfc677c91a6af189b876ca4ce5bff9e38eb3c700c451759size 327206123version https://git-lfs.github.com/spec/v1oid sha256:966d0ed18210d344aef0b33fcaf6ecbe9e811efbfc097db6431d992f515cc5d0size 151224123version https://git-lfs.github.com/spec/v1oid sha256:bddf643511cf0df0c97add88b30c2c7486b0834e9a6e4deed5a18d140592f475size 115018123version https://git-lfs.github.com/spec/v1oid sha256:889faf1a907a41de9bcd91d2ad2f4a2ee1ad7723c392260e91e482c61d949ce0size 117620123version https://git-lfs.github.com/spec/v1oid sha256:9b240451b5281c3cb091094315664226ecc9c98ecdfdf00e84fafa6d931366absize 290768123version https://git-lfs.github.com/spec/v1oid sha256:0647eabba426d8a5b06773b8aeb0b3c1211861549dfcf15d9548e6ddbc559409size 290768123version https://git-lfs.github.com/spec/v1oid sha256:ec0f7df7ba7cf632d7508942e93b8f247d934522a253a3c9afc7333eddfbe2a5size 162997123version https://git-lfs.github.com/spec/v1oid sha256:6ada121bd7d741d4ef7e0ab2d1614c89b35d3402ff4cba33964fa61c075d2093size 336847123version https://git-lfs.github.com/spec/v1oid sha256:31cf0b38ffd108955d587fbc8c67f5ed0883e8007456dbdff430fabc37a98f86size 2667284123version https://git-lfs.github.com/spec/v1oid sha256:0e3dc22e70860967a3dc3ba9ae7aa5149a27ee67d473f183acbe839a16b74f44size 2563521123version https://git-lfs.github.com/spec/v1oid sha256:8393507aa8d9bf74dd6fc2e77c380ce036c087af2192f9fdb9638e4e7e34cb08size 170952123version https://git-lfs.github.com/spec/v1oid sha256:b4c484de9b7ad83e2e7075e081b4152a1827b4b05d5b646c003abf351d0b79ddsize 1270763123version https://git-lfs.github.com/spec/v1oid sha256:e94542e965add10f34e4e21d858f0c2af9231890a80696bc97a77531c1a3f099size 1060036123version https://git-lfs.github.com/spec/v1oid sha256:cf67ac31ac506e460ff6ce51e600f5ef10818d1f8a1a5a258e31b821d379a377size 915172123version https://git-lfs.github.com/spec/v1oid sha256:02edd6d946b6b7224f7ec68414d02caf2b8dc3630d37f55e89021533c3de3dabsize 9378523123version https://git-lfs.github.com/spec/v1oid sha256:b0f0a1aac796f806ef125e7ef9f60da8f4bd086f82bb4919d7bb19844615c889size 842898123version https://git-lfs.github.com/spec/v1oid sha256:e49fcf550ef984f2ca5b3662e01c792df7645daf825a1aea20a1cddab35b1a08size 827692123version https://git-lfs.github.com/spec/v1oid sha256:70523c3b2cb3f7a0ae74449e07301ce3877e43dd3bda350902e586cf02ddbd6fsize 1034414123version https://git-lfs.github.com/spec/v1oid sha256:c873de2cc6abfeeeea74014f3b0303553c04703feb8f25c1ae6f90d4bac431aasize 850588123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251╔════════════════════════════════════════════════════════════════════════════╗║ 🌟 RISING STAR LOGIC - VISUAL COMPARISON ║╚════════════════════════════════════════════════════════════════════════════╝
┌────────────────────────────────────────────────────────────────────────────┐│ OLD WAY (24% Win Rate) │└────────────────────────────────────────────────────────────────────────────┘
[1] Scan Market (Simple) ↓ [2] Pick Best ↓ [3] Buy Once ↓ (wait) [4] Price Drops? ❌ Do Nothing ↓ (wait more) [5] Hit Target? ├─ YES → Sell (24% of time) └─ NO → Hold Forever or Stop Loss (76% of time)
❌ Win Rate: 24% (15 wins / 63 trades) ⏱️ Avg Time: 120+ seconds 💰 Fees Eat Profits: Small gains wiped out
┌────────────────────────────────────────────────────────────────────────────┐│ NEW WAY - RISING STAR (60-70% Win Rate) │└────────────────────────────────────────────────────────────────────────────┘
[1] STAGE 1: Multi-Intelligence Scan │ ├─ Quantum Systems (luck, inception, phantom) ├─ Probability Intelligence (95% accuracy) ├─ Wave Scanner (momentum) └─ Firm Intelligence (whale tracking) │ ↓ (Top 20 candidates) │ [2] STAGE 2: Pick Top 4 for Simulation ↓ [3] Run 1000 Monte Carlo Sims per Candidate │ ├─ Candidate A: 75% win, 28s avg time → Confidence: 81% ├─ Candidate B: 70% win, 45s avg time → Confidence: 76% ├─ Candidate C: 65% win, 60s avg time → Confidence: 69% └─ Candidate D: 60% win, 90s avg time → Confidence: 62% │ ↓ [4] STAGE 3: Select Best 2 (A & B) ↓ [5] STAGE 4: Execute on Best 2 │ ├─ Open Position A └─ Open Position B │ ↓ (Monitor in real-time) │ [6] Price Drops 5%? ├─ YES → 🔄 ACCUMULATE (Buy More!) │ │ │ ├─ Update Avg Entry: $350 → $347 │ ├─ Update Total Qty: 0.014 → 0.022 │ └─ Recalc Breakeven: Lower target needed │ └─ NO → Continue monitoring │ ↓ [7] Profitable? ├─ Within 30s? → ⚡ FAST KILL (Immediate exit) ├─ At Target? → 💰 Standard exit └─ Not yet? → Loop to [6]
✅ Win Rate: 60-70% (from simulations) ⚡ Avg Time: 28-31 seconds (4.3x faster) 🔄 Accumulation: Turns losses into wins 💎 Monte Carlo: Pre-validated confidence
┌────────────────────────────────────────────────────────────────────────────┐│ MATH EXAMPLE: BTC @ $350 │└────────────────────────────────────────────────────────────────────────────┘
OLD WAY: ──────── Buy: $5.00 @ $350.00 = 0.0143 BTC Cost: $5.01 (with fees) Drops: $350 → $340 (-2.86%) ❌ Do nothing Recovers: $340 → $350 (back to entry) Sell: 0.0143 BTC @ $350 = $4.99 (after fees) P&L: $4.99 - $5.01 = -$0.02 ❌ LOSS NEW WAY (Rising Star): ────────────────────── Buy #1: $5.00 @ $350.00 = 0.0143 BTC Cost: $5.01 (with fees) Drops: $350 → $340 (-5% trigger) 🔄 ACCUMULATE! Buy #2: $2.50 @ $340.00 = 0.0074 BTC Cost: $2.51 (with fees) Total: 0.0217 BTC Total Cost: $7.52 Avg Entry: $347.47 Recovers: $340 → $350 (+0.73% from avg) Sell: 0.0217 BTC @ $350 = $7.55 (after fees) P&L: $7.55 - $7.52 = +$0.04 ✅ WIN! DIFFERENCE: Turned -$0.02 loss into +$0.04 win!
┌────────────────────────────────────────────────────────────────────────────┐│ HISTORICAL PROOF: 63 Alpaca Trades Analyzed │└────────────────────────────────────────────────────────────────────────────┘
Without Accumulation: ──────────────────── 15 wins, 48 losses Win Rate: 24% Most wins from price pumps only Accumulation Pattern Found: ─────────────────────────── 10 of 15 wins (67%) showed ACCUMULATION pattern: • AAVE: Bought $5 → price dropped → bought MORE → sold $8 = +$3.08 • BTC: Bought $4 → price dropped → bought MORE → sold $8 = +$4.29 • UNI: Bought $1 → price dropped → bought MORE → sold $9 = +$7.81 • LTC: Bought $5 → price dropped → bought MORE → sold $13 = +$7.72 💡 KEY INSIGHT: System wasn't tracking accumulation, but Alpaca history proves 67% of wins came from buying more when price dropped!
┌────────────────────────────────────────────────────────────────────────────┐│ FILES CREATED │└────────────────────────────────────────────────────────────────────────────┘
✅ aureon_rising_star_logic.py - Core 4-stage system - RisingStarCandidate dataclass - RisingStarScanner class - Monte Carlo simulations ✅ rising_star_war_room_enhancer.py - Drop-in integration helper - Single function: enhance_war_room_with_rising_star() - Accumulation logic - 30-second profit check ✅ rising_star_demo.py - Interactive demonstration - Shows accumulation math - Monte Carlo results - 30-second window comparison ✅ RISING_STAR_SUMMARY.md - Complete documentation - Integration steps - Expected results - Monitoring metrics ✅ RISING_STAR_QUICK_START.py - Code snippets for integration - Step-by-step guide - Copy-paste examples ✅ orca_complete_kill_cycle.py (Enhanced) - LivePosition dataclass updated - Added: accumulation_count - Added: total_cost - Added: avg_entry_price - Added: rising_star_candidate
┌────────────────────────────────────────────────────────────────────────────┐│ HOW TO ENABLE (3 Lines of Code!) │└────────────────────────────────────────────────────────────────────────────┘
from rising_star_war_room_enhancer import enhance_war_room_with_rising_star # In your OrcaKillCycle class: enhance_war_room_with_rising_star(self) # That's it! Rising Star is now active.
┌────────────────────────────────────────────────────────────────────────────┐│ EXPECTED RESULTS │└────────────────────────────────────────────────────────────────────────────┘
Before (Old Way): ───────────────── ❌ Win Rate: 24% ⏱️ Avg Time: 120s+ 💰 Small profits eaten by fees 📉 No accumulation = losses on drops After (Rising Star): ──────────────────── ✅ Win Rate: 60-70% (projected from sims) ⚡ Avg Time: 28-31s (4.3x faster) 💎 Accumulation turns drops into wins 🎲 Monte Carlo pre-validation 🌟 Multi-intelligence scoring 🔄 DCA on 5% drops (max 3x) ⚡ 30-second profit optimization
┌─────────────────────────────────────────────���──────────────────────────────┐│ NEXT STEPS │└────────────────────────────────────────────────────────────────────────────┘
[1] Run Demo: python rising_star_demo.py [2] Read Documentation: RISING_STAR_SUMMARY.md RISING_STAR_QUICK_START.py [3] Test Integration: python orca_complete_kill_cycle.py --dry-run [4] Monitor Results: Track rising_star_stats{} Compare win rate before/after [5] Tune Parameters: - DCA trigger: -5% (adjust as needed) - Max accumulations: 3 - Simulation count: 1000 - 30-second window: 30s
═══════════════════════════════════════════════════════════════════════════════
🌟 THE MATH WORKS ✅
═══════════════════════════════════════════════════════════════════════════════123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459# Cognitive Flow — Live Data Checklist
**Status as of**: 2026-04-29 (Stage AP, commit `d3cf7c17`)**Branch**: `claude/organize-repo-fYIx7`
---
## TL;DR
After 12 stages of sweeping (Stage AE → AP), every production trade-decisionpath in Aureon either reads real live data through a verified chain, orexplicitly surfaces a missing-data sentinel (`None`, `no_real_data: True`,`[insufficient-data]` warning) so callers can skip the cycle rather thantreat fake-neutral values as real signal.
This document is the **operator's checklist**. It tells you, layer by layer,which cognitive functions produce live fresh data today and which stillfall back to defaults that need wiring before they carry full trust.
Status icons used throughout:
| Icon | Meaning ||---|---|| ✅ FIXED | Produces live fresh data; verified || ⚠️ PARTIAL | Partially wired; some defaults remain (reason given) || 🔍 GATED | Refuses to fire fake data in production; opt-in via `AUREON_ALLOW_SIM_FALLBACK=1` || ❌ NOT FIXED | Still uses fake/hardcoded defaults; needs wiring |
---
## Progress Summary
**40 of 53 cognitive components ✅ FIXED — 75.5% of the system is backed by live data.**
```✅ FIXED ████████████████████████████████████████░░░░░░░░░░░░ 40/53 (75.5%)🔍 GATED ████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 8/53 (15.1%)⚠️ PARTIAL ████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4/53 (7.5%)❌ NOT FIXED █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1/53 (1.9%)```
### Status tally
| Status | Count | % ||---|---|---|| ✅ FIXED | 40 | 75.5% || 🔍 GATED | 8 | 15.1% || ⚠️ PARTIAL | 4 | 7.5% || ❌ NOT FIXED | 1 | 1.9% || **Total** | **53** | **100%** |
### Per-layer fix coverage
| Layer | ✅ FIXED | Total | Coverage ||---|---|---|---|| 5 · Field / Cosmic | 4 | 4 | **100%** || 7 · Risk / Validation | 4 | 4 | **100%** || 1 · Raw Data Input | 7 | 8 | 87.5% || 2 · Pre-processing / Sensors | 5 | 6 | 83.3% || 6 · Queen Decision | 5 | 6 | 83.3% || 4 · Sentiment / Sensory | 3 | 4 | 75.0% || 8 · Execution | 5 | 7 | 71.4% || 3 · Pattern Detection | 5 | 8 | 62.5% || Outputs / Broadcasts | 2 | 6 | 33.3% |
Layers 5 (Field / Cosmic) and 7 (Risk / Validation) are **fully covered** — every production trade-decision path through them reads real data or surfaces a no-data sentinel. Outputs / Broadcasts drags the overall percentage because 4 of its 6 components are 🔍 GATED (synthetic dashboard demos that production correctly refuses to render); they aren't dangerous, just missing real-feed wiring for the *display* of system state.
### Work scorecard
- **Stages completed**: 14 (AE → AQ + AR-1 in flight)- **Code commits on this branch**: 16 (AH → AR-1)- **Files changed**: ~50- **New helper modules added**: 1 (`aureon/observer/real_price_fallback.py`)- **New documentation added**: 2 (`COGNITIVE_FLOW_LIVE_DATA_CHECKLIST.md` + `HNC_VERIFICATION_AUDIT_v3_2026-04-29.md`)
### Deferred work (from AQ-3 "Still to Wire")
20 prioritised items remain, organised by impact:
| Priority | Count | Examples ||---|---|---|| **HIGH** — production decision impact | 8 | Queen neural input fields (`probability_score`, `emotional_coherence`, `happiness_pursuit`); `truth_prediction` `risk` / `proximity` / `queen_flags`; real surveillance feed; `aureon_historical_live` real exchange wiring || **MEDIUM** — operator dashboards | 3 | `master_hub` warroom + surveillance + test_data; `command_center_enhanced` mock signals + Queen commentary; `mind_thought_action_hub` test thoughts || **MEDIUM** — sensor / consciousness | 3 | `IntuitionSense` + `AncestralSense` consciousness module; biometric hardware; `_simulate_firm_activity` orca copy || **LOW** — execution polish | 3 | `micro_profit_labyrinth` order-id rollback; cosmetic renames || **LOW** — fresher / alternate sources | 3 | Price-freshness check; direct-measured Schumann; `_compute_fibonacci_alignment` deque wiring |
---
``` ┌──────────────────────────────────────┐ │ LAYER 1 — RAW DATA INPUT │ │ exchanges • feeds • biometric • L2 │ └────────────────┬─────────────────────┘ │ ┌──────────���─────▼─────────────────────┐ │ LAYER 2 — PRE-PROCESSING / SENSORS │ │ observer singletons • L2 algos │ └────────────────┬─────────────────────┘ │ ┌────────────────▼─────────────────────┐ │ LAYER 3 — PATTERN DETECTION │ │ probability • truth • patterns │ └────────────────┬─────────────────────┘ │ ┌────────────────▼─────────────────────┐ │ LAYER 4 — SENTIMENT / SENSORY │ │ seer oracles • intuition • lyra │ └────────────────┬─────────────────────┘ │ ┌────────────────▼─────────────────────┐ │ LAYER 5 — FIELD / COSMIC │ │ earth resonance • cosmic • solar │ └────────────────┬─────────────────────┘ │ ┌────────────────▼─────────────────────┐ │ LAYER 6 — QUEEN DECISION │ │ neural confidence • narrator • hive│ └────────────────┬─────────────────────┘ │ ┌────────────────▼─────────────────────┐ │ LAYER 7 — RISK / VALIDATION │ │ sim-fallback gate • health • veto │ └────────────────┬─────────────────────┘ │ ┌────────────────▼─────────────────────┐ │ LAYER 8 — EXECUTION │ │ master_launcher • labyrinth • orca │ └────────────────┬─────────────────────┘ │ ┌────────────────▼─────────────────────┐ │ OUTPUT — DASHBOARDS / BROADCASTS │ │ /health • flight status • twitch │ └──────────────────────────────────────┘```
The flow is one-way per cycle. A break at any layer either (a) skips thecycle in production posture, or (b) propagates `None` / `no_real_data`sentinels downstream so the next layer knows to skip its slice ratherthan absorb a fake value.
---
## Layer-by-Layer Status
### Layer 1 · Raw Data Input
| Component | Status | File:line | Stage | Notes ||---|---|---|---|---|| Price feeds (5-source chain: unified_cache → coingecko_cache → Kraken → Binance → CoinGecko REST) | ✅ FIXED | `aureon/observer/real_price_fallback.py` | AM | Returns `({}, [])` when every source fails — caller skips cycle. Configurable via `AUREON_PRICE_FALLBACK_CHAIN`. || Schumann resonance — Bridge → Kp-derived → SKIP | ✅ FIXED | `aureon/harmonic/aureon_schumann_resonance_bridge.py` + `aureon/harmonic/earth_resonance_engine.py:240-298` | AK / AO | Real Barcelona/USGS reading first; on failure, derive from real NOAA Kp; only when both fail does the gate raise. || Solar weather (NOAA Kp / flares / wind) | ✅ FIXED | `aureon/data_feeds/aureon_space_weather_bridge.py` | AF | Real NOAA fetch; gated synthetic fallback. || Sentiment news (Yahoo RSS, Fear/Greed) | ✅ FIXED | `aureon/intelligence/aureon_seer.py:1738-2090` | AP | Returns `Optional[float]`; `None` on source failure with WARNING log. || Biometric (HRV / EEG streams) | 🔍 GATED | `aureon/queen/queen_live_signal_tracker.py:50` + `queen_street_homing.py:49` | AH | No real device wired; raises in production with remediation hint. || Order books (exchange L2 data) | ✅ FIXED | `aureon/intelligence/aureon_real_intelligence_engine.py:280-418` | AO | Real CV / cadence / depth-ratio algorithms; safe sentinels (0.0 / -1) on empty book. || Wallet balances (Kraken + unified) | ✅ FIXED | `aureon/trading/aureon_kraken_ecosystem.py:1256` + `aureon_unified_ecosystem.py:14805` | AL | Per-asset parse warnings + summary count; no silent `except: continue`. || OHLC historical fetch | ✅ FIXED | `aureon/intelligence/nexus_predictor.py:680-740` | AL | Per-row + per-batch error counters; raises if >10% rows or >25% batches corrupt. |
### Layer 2 · Pre-processing / Sensors
| Component | Status | File:line | Stage | Notes ||---|---|---|---|---|| HarmonicObserver (singleton) | ✅ FIXED | `aureon/observer/harmonic_observer.py` + `aureon/observer/__init__.py:38` | AG | Daemon constructs the singleton; `coherence_score()` reads real field. || WavePredictor (singleton) | ✅ FIXED | `aureon/observer/wave_predictor.py:306` | AG | Daemon-wired; `predict()` returns real confidence. || MomentumTracker (singleton) | ✅ FIXED | `aureon/observer/momentum.py:287` | AG | Daemon-wired. || RealBotProfiler L2 algorithms (consistency / latency / layering) | ✅ FIXED | `aureon/intelligence/aureon_real_intelligence_engine.py:280-418` | AO | Real CV from order qty distribution; cadence-based latency; depth-ratio layering. || `_simulate_firm_activity` (queen_quantum_frog) | 🔍 GATED | `aureon/queen/queen_quantum_frog.py:3036` | AH | Returns `[]` in production; orca's separate copy still synthesises (caller-bounded). || `aura_validator.fnum` / `clamp01` | ✅ FIXED | `aureon/utils/aura_validator.py:36-72` | AL | Raises `ValueError` on malformed input; `None` still allowed → `0.0`. |
### Layer 3 · Pattern Detection / Intelligence
| Component | Status | File:line | Stage | Notes ||---|---|---|---|---|| ProbabilityUltimateIntelligence | ⚠️ PARTIAL | `aureon/strategies/probability_ultimate_intelligence.py` | — | Class is real; integration into Queen neural still uses 0.5 placeholder for `probability_score` field. || TruthPredictionEngine — `accel` | ✅ FIXED | `aureon/intelligence/aureon_truth_prediction_engine.py:316-347` | AO / AP | Real per-symbol momentum history (16-entry deque); `dt = max(1e-3, abs(t_now - t_prev))` clock-skew guard. || TruthPredictionEngine — `risk` / `proximity` / `queen_flags` | ❌ NOT FIXED | `aureon/intelligence/aureon_truth_prediction_engine.py:283-295` | — | Still hardcoded `risk="none"`, `proximity="far"`, `queen_flags=[]`; logged once per (symbol, scenario). Needs risk-flag pipeline + target-distance tracker. || HistoricalPatternHunter | 🔍 GATED | `aureon/analytics/historical_pattern_hunter.py` | AI | Standalone backtest harness; banner clarifies; not on production graph. || PhaseTransitionDetector | ✅ FIXED | `aureon/intelligence/aureon_phase_transition_detector.py:206-227` | AJ | Logs `[insufficient-data]` on coherence-fallback paths. || NexusPredictor OHLC parser | ✅ FIXED | `aureon/intelligence/nexus_predictor.py:680-740` | AL | Refuses to train on >10% corrupt rows or >25% failed batches. || AdvancedIntelligence neutrals | ✅ FIXED | `aureon/intelligence/aureon_advanced_intelligence.py:247-411` | AJ | All 5 silent 0.5 returns now log `[insufficient-data]` with shortfall reason. || `_predict_*` heuristics (firm_intelligence_catalog) | ✅ FIXED | `aureon/bots_intelligence/aureon_firm_intelligence_catalog.py:537-598` | AL | Heuristic branches use real FirmMovement data; fallback paths log `[insufficient-data]`. |
### Layer 4 · Sentiment / Sensory
| Component | Status | File:line | Stage | Notes ||---|---|---|---|---|| OracleOfSentiment — 5 oracles + aggregator | ✅ FIXED | `aureon/intelligence/aureon_seer.py:1670-1734` | AP | Each oracle returns `Optional[float]`; aggregator filters `None` and reweights remaining components proportionally. `sentiment_no_sources_active=True` flag when all 5 fail. || IntuitionSense / AncestralSense | ⚠️ PARTIAL | `aureon/intelligence/aureon_sensory_framework.py:1085-1199` | AP | Defaults to 0.5 with one-time WARNING when consciousness_measurement unwired. Operator sees the channel is degraded; needs consciousness module wiring. || TemporalBiometricLink | ✅ FIXED | `aureon/intelligence/aureon_temporal_biometric_link.py:316-349` | AJ | Logs `[insufficient-data]` when no biometric reading available; correct sentinel behaviour for unwired hardware. || Lyra resonance | ✅ FIXED | `aureon/intelligence/aureon_seer.py:1856-1881` | AP | Returns `None` when no resonance reading; aggregator reweights without it. |
### Layer 5 · Field / Cosmic
| Component | Status | File:line | Stage | Notes ||---|---|---|---|---|| EarthResonanceEngine (Bridge → Kp → SKIP) | ✅ FIXED | `aureon/harmonic/earth_resonance_engine.py:158-330` | AK / AK-followup / AO | `_schumann_state_initialized` flag defeats dataclass-default masquerade; Kp-derived modes when bridge down; raises only when both fail. || HarmonicRealityField | ✅ FIXED | `aureon/harmonic/aureon_harmonic_reality.py:695-705` | AK | Logs `[insufficient-data]` when `ontological_history` empty. || CosmicStateEngine | ✅ FIXED | `aureon/strategies/hnc_imperial_predictability.py:279-305` | AH | Real flares / Kp from `space_weather_bridge`; gated synthetic fallback. || QueenSolarSystemAwareness | ✅ FIXED | `aureon/queen/queen_solar_system_awareness.py:307-385` | AK | NOAA Kp fetch with WARNING when fallback to 2.0 fires; docstring documents Kp→Schumann estimation. |
### Layer 6 · Queen Decision Layer
| Component | Status | File:line | Stage | Notes ||---|---|---|---|---|| Queen `_build_real_neural_input` (4 of 7 fields wired) | ⚠️ PARTIAL | `aureon/queen/queen_hive_command.py:487-560` | AO | `wisdom_score` ← `HarmonicObserver.coherence_score()`; `quantum_signal` ← `WavePredictor.predict().confidence`; `gaia_resonance` ← `EarthResonanceEngine.field_coherence` (only when initialised); `mycelium_signal` ← per-symbol bee consensus. **Still placeholders**: `probability_score`, `emotional_coherence`, `happiness_pursuit`. || Queen `_get_neural_confidence` | ✅ FIXED | `aureon/queen/queen_hive_command.py:452-505` | AL / AO | Returns `Optional[float]`; composite_score collapses to non-neural term when `None`. || QueenHiveMind — `gather_all_intelligence` | ✅ FIXED | `aureon/utils/aureon_queen_hive_mind.py:2395-2445` | AL / AM | Walks real-price chain; returns empty intelligence when every source fails (no synthetic prices). || QueenSeer (sentiment aggregator) | ✅ FIXED | `aureon/intelligence/aureon_seer.py:1670-1734` | AP | See Layer 4. || QueenCognitiveNarrator | ✅ FIXED | `aureon/queen/queen_cognitive_narrator.py:78-109` | AH | Real `coherence` / `lambda_stability` reads from observer + wave_predictor; omits the line when no real values rather than fold random.uniform. || Bee swarm import warnings | ✅ FIXED | `aureon/queen/queen_hive_command.py:75-102` | AL | Per-bee load failures logged at WARNING (was DEBUG). |
### Layer 7 · Risk / Validation
| Component | Status | File:line | Stage | Notes ||---|---|---|---|---|| `simulation_fallback_allowed()` env-gate | ✅ FIXED | `aureon/observer/live_data_policy.py:42` | AE | Single primitive used by every gate. || `compute_real_health()` (HNC daemon + price_cache + Kraken ticker freshness) | ✅ FIXED | `aureon/queen/queen_quantum_frog.py:48-95` | AL | 503 + `failed_checks` JSON when any source stale/down — orchestrators actually restart. || Phase-4 Veto | ✅ FIXED | (observer Stage AB) | AB | Wired into the live decision loop. || Earth gate `_schumann_state_initialized` | ✅ FIXED | `aureon/harmonic/earth_resonance_engine.py:158-405` | AK followup | Defaults to closed until first successful Schumann read. |
### Layer 8 · Execution
| Component | Status | File:line | Stage | Notes ||---|---|---|---|---|| `master_launcher.run_autonomous_trading` cycle | ✅ FIXED | `aureon/autonomous/aureon_master_launcher.py:498-560` | AL / AM | Walks real-price chain; skips cycle and logs `[live-data] real prices unavailable` when every source fails. || `aureon_unified_ecosystem` (wallet parse + fallback tickers) | ✅ FIXED | `aureon/trading/aureon_unified_ecosystem.py:14795-18510` | AL | Per-asset warnings + summary; `_get_hardcoded_fallback_tickers` raises in production unless cached snapshot exists. || `micro_profit_labyrinth` | ⚠️ PARTIAL | `aureon/trading/micro_profit_labyrinth.py` | AN | Now uses real `GlassnodeClient` for whale flows; **deferred**: position-record rollback when `execute_validated_opportunity` returns no order_id. || `orca_complete_kill_cycle._get_live_crypto_prices` | ✅ FIXED | `aureon/bots/orca_complete_kill_cycle.py:8131-8180` | AN | Real-price chain instead of 14-pair hardcoded dict. || `aureon_historical_live` | 🔍 GATED | `aureon/trading/aureon_historical_live.py:618-700` | AJ | Stub module — `get_kraken_markets` and `execute_signal` raise in production. Real exchange wiring is a separate project. || `gaia_planetary_reclaimer.get_total_portfolio` | ✅ FIXED | `aureon/bots/gaia_planetary_reclaimer.py:1968-2010` | AN | Real Binance ticker + chain fallback per asset; skips asset rather than fabricate. || `glassnode_client._get_btc_price_at_timestamp` | ✅ FIXED | `aureon/exchanges/glassnode_client.py:323-355` | AN | `get_real_price('BTC/USD')`; returns 0.0 sentinel on chain failure. |
### Outputs / Broadcasts
| Component | Status | File:line | Stage | Notes ||---|---|---|---|---|| `/health` endpoint (queen_quantum_frog) | ✅ FIXED | `aureon/queen/queen_quantum_frog.py:48-150` | AL | Returns 503 when underlying APIs stale/unreachable; container orchestrators actually restart on real outages. || Flight-status banner (command_center) | ✅ FIXED | `aureon/command_centers/aureon_command_center.py:798-836` | AL | Imports `compute_real_health`; "ALL SYSTEMS GO" requires both per-system checks AND real connectivity. || `_update_warroom` / `_update_surveillance` / `_generate_test_data` (master_hub) | 🔍 GATED | `aureon/trading/aureon_unified_master_hub.py:3090-3596` | AI | Synthetic dashboard demos return early in production. || `_generate_mock_signals` / `_queen_commentary` (command_center_enhanced) | 🔍 GATED | `aureon/command_centers/aureon_command_center_enhanced.py:825-883` | AI | Demo signals + canned Queen messages return early in production. || `generate_test_thoughts` (mind_thought_action_hub) | 🔍 GATED | `aureon/autonomous/aureon_mind_thought_action_hub.py:767-790` | AI | Returns early in production. || `aureon_realtime_surveillance.start` | 🔍 GATED | `aureon/monitors/aureon_realtime_surveillance.py:594-614` | AI | Synthetic feed raises in production with remediation hint. |
---
## Production Guarantees
In default production posture (`AUREON_ALLOW_SIM_FALLBACK` unset, noexplicit dev opt-in), the system **WILL NOT**:
- Fire a trade against hardcoded BTC=$43,000 / $105,000 / $97,500 prices on a primary-feed blip- Substitute hardcoded `_get_default_prices()` dicts when the labyrinth feed returns empty- Inject `random.uniform()` biometrics, coherence scores, lambda stability values, or whale flows into any decision pipeline- Broadcast canned Queen messages or "ALL SYSTEMS GO" status when underlying APIs are unreachable- Silently swallow exchange wallet-parse errors (now per-asset warnings + summary count)- Train the OHLC predictor on >10% corrupt data (raises instead)- Return hardcoded $45,000 BTC for whale-flow USD valuations- Multiply real wallet balances by hardcoded BTC*$91k / ETH*$3.1k portfolio multipliers- Publish Queen sentiment unified=0.5 without flagging `sentiment_no_sources_active=True`- Allow the earth gate to read open while `_schumann_state_initialized=False`- Run `_get_neural_confidence` against a hardcoded 0.5 placeholder vector
In default production posture, the system **WILL**:
- Walk the 5-source real-data fallback chain (`unified_cache → coingecko_cache → kraken → binance → coingecko_live`) before giving up on prices- Skip the cycle and log `[live-data] real prices unavailable` when every real source fails- Return 503 on `/health` when underlying APIs are stale or unreachable- Surface `[insufficient-data]` / `[stub]` warnings whenever a fallback fires- Compute real values from real data wherever a real source is wired (observer coherence, wave predictor confidence, NOAA Kp, Schumann field coherence, swarm consensus)- Use `Optional[float]` returns + reweighting when sub-component signals are missing, rather than fold neutral defaults into the aggregate
---
## Still to Wire
Prioritised list of work that would replace remaining `⚠️ PARTIAL` /`❌ NOT FIXED` / `🔍 GATED` markers with `✅ FIXED`. Each entry includesan effort estimate.
### High priority — production decision impact
| # | Component | What's missing | Effort | Stage candidate ||---|---|---|---|---|| 1 | Queen `_build_real_neural_input` — `probability_score` field | Wire to real `ProbabilityUltimateIntelligence.final_probability` query path | ~30 LOC + plumbing test | AR-1 || 2 | Queen `_build_real_neural_input` — `emotional_coherence` field | Source from emotional-state scorer (likely `aureon_temporal_biometric_link.user_coherence`) | ~20 LOC | AR-2 || 3 | Queen `_build_real_neural_input` — `happiness_pursuit` field | No real source identified; either delete the field from the input vector and retrain the neuron, or wire to a meaningful proxy (e.g. recent win-rate) | ~40 LOC + retrain | AR-3 || 4 | `truth_prediction_engine.generate_prediction` — `risk` placeholder (`"none"`) | Wire to real risk-flag pipeline (volatility-derived, position-derived, time-of-day) | ~50 LOC | AR-4 || 5 | `truth_prediction_engine.generate_prediction` — `proximity` placeholder (`"far"`) | Wire to per-symbol target-distance tracker against active positions | ~30 LOC | AR-5 || 6 | `truth_prediction_engine.generate_prediction` — `queen_flags` placeholder (`[]`) | Wire to `Queen.get_active_flags(symbol)` | ~20 LOC | AR-6 || 7 | `aureon_realtime_surveillance.start` — currently raises in production | Wire a real WebSocket exchange feed (Kraken / Binance L2 streams) | ~150 LOC | separate project || 8 | `aureon_historical_live` — entire module is stubbed | Real Kraken / Alpaca / Binance exchange order flow | ~300 LOC | separate project |
### Medium priority — operator-facing dashboards
| # | Component | What's missing | Effort ||---|---|---|---|| 9 | `aureon_unified_master_hub` `_update_warroom` / `_update_surveillance` / `_generate_test_data` | Wire to real position state + real surveillance feed (depends on item 7) | ~100 LOC || 10 | `aureon_command_center_enhanced` `_generate_mock_signals` / `_queen_commentary` | Wire to ThoughtBus listener for real Queen output | ~50 LOC || 11 | `mind_thought_action_hub.generate_test_thoughts` | Replace with real ThoughtBus subscription | ~30 LOC |
### Medium priority — sensor / consciousness wiring
| # | Component | What's missing | Effort ||---|---|---|---|| 12 | `IntuitionSense` / `AncestralSense` — defaults to 0.5 with WARNING | Wire `aureon.queen.queen_consciousness_measurement` so `consciousness_active=True` | ~50 LOC + module verification || 13 | Biometric streams (`queen_live_signal_tracker`, `queen_street_homing`) | Wire real HRV / EEG hardware (HeartMath device, Muse headband, etc.) | hardware project || 14 | `_simulate_firm_activity` (orca_complete_kill_cycle's separate copy) | Either gate like queen_quantum_frog's, or wire to real `firm_intelligence_catalog.get_recent_activity()` | ~25 LOC |
### Low priority — execution-side
| # | Component | What's missing | Effort ||---|---|---|---|| 15 | `micro_profit_labyrinth.execute_validated_opportunity` | Roll back position record when no order_id returns from exchange (currently logs warning but records the trade) | ~40 LOC + audit-log integration || 16 | `_simulate_firm_activity` cosmetic rename | `_derive_firm_activity_from_price` (no behaviour change) | ~5 LOC || 17 | `_simulate_momentum_validation` cosmetic rename | `_validate_momentum_against_history` | ~5 LOC |
### Low priority — fresher / alternate sources
| # | Component | What's missing | Effort ||---|---|---|---|| 18 | Price-freshness check | Reject prices older than N seconds even when real (separate concern from "no fake data") | ~30 LOC || 19 | Direct measured Schumann (vs Kp-derived) | Wire alternate Schumann data source so `queen_solar_system_awareness.fetch_schumann_data` doesn't depend on Kp estimation | ~50 LOC + source eval || 20 | `aureon_universal_forecast._compute_fibonacci_alignment` | Wire to existing `self.price_history` deque instead of returning 0.5 with documentation comment | ~10 LOC |
---
## Smoke Verification
Run these commands against a fresh checkout to confirm production posturebehaves as documented.
### 1. Real-price fallback chain returns live data
```bashunset AUREON_ALLOW_SIM_FALLBACKpython -c "from aureon.observer.real_price_fallback import get_real_prices_with_fallbackprices, sources = get_real_prices_with_fallback(['BTC/USD', 'ETH/USD', 'SOL/USD'], timeout_sec=5.0)print(f'Sources: {sources}')for sym, p in prices.items(): print(f' {sym}: \${p:,.2f}')"# Expected: 3 real prices from the first source that responds```
### 2. Production posture refuses to fabricate prices
```bashunset AUREON_ALLOW_SIM_FALLBACKAUREON_PRICE_FALLBACK_CHAIN=unknown_source python -c "from aureon.observer.real_price_fallback import get_real_prices_with_fallbackprices, sources = get_real_prices_with_fallback(['BTC/USD'], timeout_sec=2.0)assert prices == {} and sources == []print('OK: empty chain returns ({}, []) — caller must skip cycle')"# Expected: '[real-price-fallback] all sources returned no prices ...' warning```
### 3. Earth gate stays closed without live Schumann
```bashunset AUREON_ALLOW_SIM_FALLBACKpython -c "from aureon.harmonic.earth_resonance_engine import EarthResonanceEnginee = EarthResonanceEngine()gate_open, reason = e.get_trading_gate_status()assert not gate_open and 'no_live' in reasonprint(f'OK: gate closed: {reason}')"# Expected: 'gate closed: no_live_schumann_data (defaults not trusted as real reading)'```
### 4. Dev posture preserves synthetic paths
```bashAUREON_ALLOW_SIM_FALLBACK=1 python -c "from aureon.harmonic.earth_resonance_engine import EarthResonanceEnginee = EarthResonanceEngine()state = e.update_schumann_state(market_volatility=0.0)print(f'OK dev: mode1={state.mode1_power:.2f}')"# Expected: synthetic mode_power values (~1.0 from sin curves)```
### 5. Aura validator surfaces malformed input
```bashpython -c "from aureon.utils.aura_validator import fnumtry: fnum('garbage') print('FAIL'); raise SystemExit(1)except ValueError as exc: print(f'OK: fnum raised: {exc}')"# Expected: ValueError with 'malformed' in message```
### 6. Real bot-profiler L2 algorithms
```bashpython -c "from aureon.intelligence.aureon_real_intelligence_engine import RealBotProfilerp = RealBotProfiler()ob = {'BTC/USD': {'bids': [(67000, 1.0)]*4, 'asks': [(67001, 1.0)]*4}}print(f'consistency: {p._estimate_order_consistency(ob):.3f}') # Expected ~1.0print(f'layering: {p._detect_layering(ob):.3f}') # Expected ~0.75print(f'latency: {p._estimate_latency({})}') # Expected -1"```
### 7. Health endpoint returns 503 on stale data
```bash# (When run against a deployment with no recent ticker fetch)curl -s -o /dev/null -w "%{http_code}\n" http://localhost:8081/health# Expected: 503 with JSON body listing failed_checks```
---
## Stage Map
Each fix is traceable to a stage commit on `claude/organize-repo-fYIx7`:
| Stage | Commit | Theme ||---|---|---|| AE | (earlier) | `live_data_policy.py` — `simulation_fallback_allowed()` primitive || AF | (earlier) | 4 free live-data fetchers wired (macro, coingecko, FRED) || AG | (earlier) | Daemon constructs `WavePredictor` + `MomentumTracker` singletons || AH | `647ff4ca` | Sweep synthetic data out of the logic stream (queen biometrics, narrator coherence, coinapi demo, BillionBlackBox label) || AI | `721f124d` | Sweep remaining synthetic data from trading + dashboard paths || AJ | `5bd00d37` | Surface silent stubs + hardcoded fake defaults via `[insufficient-data]` warnings || AK | `590edafe` | Gate `ProbabilityMatrix`, `EarthResonanceEngine`, research stubs || AK followup | `52b158cc` | Earth gate defaults to closed until live Schumann ingested || AL | `9418a910` | 3 CRITICAL holes in trading spine + 4 silent-except + truthful health endpoint || AM | `0b08fcce` | Real-data fallback chain (`real_price_fallback.py`) wired into 3 spine sites || AN | `5e5e9c42` | Propagate fresh-data chain across subsystems || AO | `bac358ff` | Replace fake intelligence with real-data computations || AP | `d3cf7c17` | Final intelligence-line audit + AO robustness fixes || AQ | `62eb1933`, `570072b9`, *this commit* | Cognitive flow checklist (this document) |
PR opening this work into `main`: [#173](https://github.com/RA-CONSULTING/aureon-trading/pull/173).
---
## Maintenance
When future work lands:
1. Update the relevant row in the Layer-by-Layer Status table.2. Move the entry from "Still to Wire" to a fixed row when complete.3. Add the new stage to the Stage Map.4. Increment the date + last-commit fields at the top of this file.
This document is meant to stay current. If it goes stale, that itself isa signal that real-data wiring has slipped.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103# Design candidate claim-surface control
## Purpose
`aureon.operator.design_candidate_claim_surface` closes the gap between astaged candidate's declared claim-impact hash and the copy it actually renders.It compares the exact owner-selected source baseline with the exact stagedcandidate paths, then requires every newly rendered static public-text surfaceto match the sealed route claim capsule or an explicit non-claimclassification.
It is a local staged-evidence control. It does not fetch evidence, access abrowser or provider, alter `website/`, create a package, access credentials,approve a release, upload to Home.pl, or make a candidate live.
## Required inputs
The runner derives the claim context from its immutable brief binding; aworker cannot supply or broaden it. The context retains only the route ID,route, allowed paths, exact claim capsule and capsule SHA-256.
For every worker/broker submission, provide `claim_surface_manifest`. Use anexplicit empty list only when the candidate introduces no new public textsurface. Each non-empty entry contains exactly:
```json{ "path": "research/index.html", "kind": "permitted-wording", "claim_id": "research-method", "text_sha256": "<UPPERCASE-SHA-256>", "surface_sha256": "<UPPERCASE-SHA-256>", "rationale": "route-permitted-wording"}```
The manifest binds public wording by hash. `rationale` is a strict controlledtaxonomy label, not free text; do not put raw new public wording, claimsevidence, credentials, visitor data, Gmail, Drive, or Home.pl material in it.The validator records hashes and bounded classifications rather thanduplicating new wording in its receipt.
## Classification contract
| `kind` | `claim_id` | Required proof | Required `rationale` label || --- | --- | --- | --- || `permitted-wording` | Exact claim ID | `text_sha256` equals one permitted wording in that sealed route capsule. | `route-permitted-wording` || `boundary` | Exact claim ID | `text_sha256` equals that claim's exact boundary. | `route-claim-boundary` || `non-claim` | Empty string | The surface is not known capsule wording/boundary and contains no prohibited company, adoption, validation, partnership, funding, or commercial inference. | One of `accessibility-label`, `citation-label`, `decorative-copy`, `interface-label`, `metadata-label`, `navigation-label`, or `source-label`. |
`path` and `surface_sha256` must refer to exactly one newly extracted publicsurface. Duplicate entries, omitted surfaces, extra surfaces, a changed pathoutside the sealed route allow-list, or an unknown claim ID block validation.
The static inspection covers public text in HTML, metadata and accessiblelabels, JSON/JSON-LD, static JavaScript literals, CSS `content`, SVG/XML textand labels, and text files. Dynamic DOM copy, JavaScript interpolation, scriptcontent in SVG, malformed public text, non-UTF-8 text, or anothernon-auditable rendering surface is a fail-closed veto. Do not change theclaim-register hash, reclassify a commercial assertion, or retry the samecandidate to evade that veto.
An exact claim boundary already rendered by a changed source must remain onthe same public surface type. Removing a visible boundary, or moving it intometadata, is recorded only by path and hashes and blocks the candidate.Commercial positioning terms controlled by the investor-copy policy (includingthe Evidence OS and first-wedge concepts) are claim-bearing; they cannot beclassified as decorative or interface copy.
## Validation workflow
1. Create and stage one exact-path delivery job from a current audited brief, reconciliation and (when drift exists) backup plus owner source decision.2. Obtain the broker lease and make the declared text-only patch only inside its staged candidate root.3. Supply all declared tests, claim impacts and the `claim_surface_manifest`. Derive its hashes from the staged static surfaces; never invent or reuse them from a different candidate tree.4. Validate through the runner. For a direct local runner invocation, pass the manifest file only when there are declared entries; omission is treated as `[]` and will therefore fail if new copy exists:
```powershell python -m aureon.autonomous.aureon_public_website_design_runner validate ` --repo-root . ` --run-id <run-id> ` --claim-impacts artifacts/website-candidates/<run-id>/claim-impacts.v1.json ` --claim-surfaces artifacts/website-candidates/<run-id>/claim-surfaces.v1.json ```
5. Treat `candidate-validated` as local provenance evidence only. A blocked result is `candidate-repair-required`: preserve it and use a separately scoped successor rather than overwriting the staged record.
## Authority boundary
The control cannot create evidence, determine research truth, authorise abroader route, convert attention into traction, promote canonical source,package a release, make a backup, grant owner approval, deploy, or prove thepublic website is live. A passing claim-surface result remains one input tocandidate control; staged browser evidence, named human visual acceptance,owner-controlled canonical promotion, current audit, verified Home.pl backup,exact-package approval, deploy and live HTTPS read-back are separate gates.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849# Design candidate initial gate
## Purpose
`aureon.operator.design_candidate_initial_gate` converts one focused staged-browser receipt into a source-bound operational decision. It prevents an agent from retrying a browser run until a passing number appears.
It is a diagnostic and feedback control only. It cannot edit `website/`, promote a candidate, build a package, access credentials, approve a release, upload to Home.pl, or call a candidate live.
## Inputs
The control requires all of the following from the same staged candidate:
- a validated `candidate.v1.json`;- a focused Visual QA JSON receipt under that candidate artifact;- an explicit route name and browser engine; and- an output path under the candidate artifact.
Before deciding anything, it revalidates the candidate-control receipt and recomputes the candidate website tree using the exact V28 QA snapshot algorithm. The focused browser receipt must be self-hosted, stable, and bound to that unchanged tree.
## Decision contract
The control has four states:
| State | Meaning | Next action || --- | --- | --- || `eligible-for-repeatability` | Candidate control, focused source binding, route runtime, deferred-render geometry, and every initial performance check pass. | Run the fixed sequential performance series; then run the full staged browser matrix and complete named human review. || `rejected-geometry` | Deferred rendering changes document or candidate geometry. | Preserve the receipt. Do not run a retry-seeking performance series. A successor needs a fresh exact-path work order. || `rejected-performance` | Geometry is safe, but a required initial runtime or performance check fails. | Preserve the receipt. Do not retry for a passing outlier; profile the source-level cause before an independently authorised successor. || `blocked` | Candidate control or focused source binding cannot be proved. | Repair provenance first. A browser rerun cannot cure unbound evidence. |
`full_visual_status` is recorded but does not turn a focused performance diagnosis into release approval. Any full-browser accessibility, visual, manual-pixel, or human-acceptance failure remains a separate veto on promotion.
## Command
```powershellpython -m aureon.operator.design_candidate_initial_gate ` --repo-root . ` --candidate-receipt artifacts/website-candidates/<run-id>/candidate.v1.json ` --visual-receipt artifacts/website-candidates/<run-id>/browser-qa/run-01/<receipt>.json ` --route-name research ` --engine chromium ` --output artifacts/website-candidates/<run-id>/feedback/INITIAL_GATE.json```
The command exits non-zero for every non-passing state. Treat the written JSON receipt, rather than terminal text alone, as the decision record.
## Authority boundary
A passing result permits only the next local diagnostic step. It never grants canonical mutation, package, deployment, credential, or release authority. After an accepted candidate is separately owner-promoted, the canonical WebsiteOperator audit, complete V28 evidence, package closure, verified Home.pl backup, exact-hash owner approval, deployment, and live HTTPS read-back must all be rerun.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154# Candidate motion-policy compiler
## Purpose
`aureon/operator/design_candidate_motion_policy_compiler.py` preventsthreshold shopping before staged-candidate QA. A caller-supplied configurationand a matching caller-supplied hash are not enough.
The compiler accepts only an exact current-contract candidate whose completestaged-candidate and v4 work-order replay passes; only the historicalbaseline-current comparison may be relaxed. It captures one sorted bytemanifest and derives both the candidate-control tree hash and themotion-control tree hash from that one observation. Verification reports bothhashes and both algorithms.
Before replay, the compiler applies the same exact runtime field-and-typecontract as candidate control and its strict raw JSON parser rejects duplicatekeys and non-finite numbers. Candidate replay reloads the fixed, create-once`candidate-validation-input.v1.json` sidecar and derives the validationinstant, claim declarations, and claim-surface context and manifest only fromthat immutable local input. The receipt binds its exact path, raw file SHA-256,canonical JSON SHA-256, and payload self-hash. Complete type-strict recursivereceipt equality means boolean/integer substitutions, unknown nested fields,appended checks, receipt-only timestamp shifts, substituted claim context,altered gates, and injected authority markers fail before a motionconfiguration can be compiled.
The sidecar is local provenance only. It is not trusted wall-clock,operating-system, or input-origin attestation; it grants no authority, cannotbe overwritten, and changed immutable inputs require a successor candidate.
The sidecar and candidate receipt also bind the complete sortedAST-derived raw-byte closure of all 15 currently reachable local Pythonsources, including both package initializers and conditional editorialvalidation dependencies. Exact replay rejects missing, extra, relocated,linked, reparsed, hard-linked, alternate-stream-shaped, or byte-differentsources before candidate-control replay. Bounded dormant lazy exports and theruntime-dead `TYPE_CHECKING` branch are explicit manifest exclusions. Thesealed direct-file ingress executes bound imports through a first-positionraw-source loader rather than ambient hooks or cached bytecode.
The following values are fixed in reviewed operator code:
- the exact design doctrine path and reviewed doctrine SHA-256;- every byte, asset, media, JavaScript, CSS, HTML, font, motion-duration, and declaration-count threshold;- zero allowed remote origins and no data URLs;- forbidden autoplay, infinite animation, dynamic motion, and undeclared origins;- mandatory reduced-motion override.
The entire WebsiteOperator source-policy file is hard-pinned to`3956D6AACC2B122086D8E2AC1FBB93AB9D01750CAE9B693D2C6DB6148F31741D`.Any route, budget, authority or other byte change blocks pending explicit codereview.
The worker and caller cannot supply a threshold, origin, policy value, outputpath, retry, or decision.
## Fixed immutable output
The writer chooses the only output location:
```textartifacts/website-operator/motion-performance-budget/candidate-configs/<config-id>.json```
The v2 config id is the full SHA-256 of the exact canonical config file bytes.An exact existing content address is verified idempotently; a legitimatechanged config receives a new coexisting path. V1 outputs remain historicalstaleable evidence. Creation accepts only a fresh same-process compiler resultand uses the shared handle-bound immutable-artifact writer:kernel-resolved final path and file identity remain bound through same-handleand post-close read-back. Alternate streams are rejected, and a replay failurenever deletes a lexical path.
`verify_compiled_candidate_motion_config_file(...)` recompiles from currenttrusted inputs, requires the exact fixed path and bytes, and requires themotion-budget control to accept the configuration. A relaxed configurationplus its matching substitute hash still fails.
## Runner contract
The historical imported verifier remains available for trusted in-processinspection:
```pythonverify_compiled_candidate_motion_config_file( config_path, expected_config_sha256=sealed_hash, candidate_receipt_path=candidate_receipt, repo_root=repo_root,)```
The public website runner does not import either compiler. Before claiming theone-shot QA attempt it starts this exact compiler file in a fresh process with`sys.executable -I -S -B`, an absolute compiler path, repository-root `cwd`,`shell=False`, a fixed minimal environment with no caller or `PYTHON*`inheritance, a 300-second timeout and no retry:
```powershellpython -I -S -B aureon/operator/design_candidate_motion_policy_compiler.py ` --verify-config artifacts/website-operator/motion-performance-budget/candidate-configs/<content-address>.json ` --expected-config-sha256 <UPPERCASE-SHA256> ` --candidate-receipt artifacts/website-candidates/<run-id>/candidate.v1.json```
This verifier mode is read-only: it must not create an output directory,rewrite the configuration, or emit bytecode. The runner accepts exactly oneUTF-8 canonical compact JSON object terminated by one LF, rejects duplicatekeys, non-finite values, trailing or additional JSON, non-canonical encoding,stderr and output larger than 64 KiB, then checks the exact field set, schema,authority, candidate/config paths and all bound hashes before any motion auditor candidate-QA attempt receipt can run. It preserves and replays the exactverification object. The worker submission must not contain a motion config,hash, threshold, origin, or audit result.
The runner drains stdout and stderr concurrently, hashes and counts bytesincrementally, and retains at most 64 KiB across both pipes and per stream. Anexcess byte or timeout stops the one child, escalates from terminate to kill ifneeded, waits, joins both pipe drainers, and is never retried.
The compiler and verifier do not run the motion audit. The runner executes theaudit only after the immutable attempt claim exists.
## Sealed command-line ingress
The existing write-mode command remains supported and creates or replays theone immutable content-addressed configuration:
```powershellpython -I -S -B aureon/operator/design_candidate_motion_policy_compiler.py ` --candidate-receipt artifacts/website-candidates/<run-id>/candidate.v1.json```
Do not use `python -m` for an exact pre-import claim: Python would execute bothpackage initializers before compiler preflight. Imported functions remain atrusted in-process drift-check interface, not a pre-initializer executionboundary.
## Authority and limits
Compilation grants no audit pass, candidate validation, promotion, package,release, credential, network, or deployment authority. Verification reports`origin_attested: false`; trusted orchestration must bind it into its ownimmutable claim.
The generic motion CLI remains static audit tooling, not the candidate gate.Candidate orchestration must use this compiler and verifier; it may not supplyan ad hoc generic configuration. The downstream motion control remains static analysis. Browser performance,interaction parity, source-bound visual evidence, named human pixel review,owner acceptance, promotion, packaging, deployment, and live read-back remainseparate gates.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425# Read-only staged-candidate static QA
Status: local evidence control only Python receipt schema: `aureon.design-candidate-static-qa.v1` JavaScript receipt schema: `aureon.design-candidate-javascript-syntax.v1` Python implementation: `aureon/operator/design_candidate_static_qa.py` JavaScript adapter: `tools/aureon_candidate_javascript_syntax_v1.js`
## Purpose
The historical V28 audits are useful references, but they are not safecandidate commands unchanged. They hard-code the canonical `website/` tree,some write reports below `docs/audits/`, and the design audit starts packageor PowerShell checks. These successors perform candidate-scoped, deterministicstatic checks without modifying the candidate, canonical site, repository orprovider.
The complete future command order is:
1. `candidate.website-operator-static.v1`2. `candidate.javascript-syntax.v1`3. `candidate.v28-design-system-static.v1`4. `candidate.v28-metadata-ethos-static.v1`
The first, third and fourth IDs use the Python tool with different fixedmodes. The second uses the Node adapter. The existing`design_candidate_visual_review` control remains responsible for browser andhuman visual evidence.
`v28-composite-visual-release-gate` is deliberately deferred. No output fromthese tools satisfies it, substitutes for it, or may be labelled as compositevisual acceptance.
## Exact command surfaces
The Python tool accepts exactly four arguments in this order:
```textpython -I aureon/operator/design_candidate_static_qa.py --mode <MODE> --candidate-root <ABS_STAGE_WEBSITE>```
`MODE` is exactly one of:
- `website-operator-static`- `v28-design-system-static`- `v28-metadata-ethos-static`
The Node adapter accepts exactly the staged root followed by the three fixed,ordered relative paths:
```textnode tools/aureon_candidate_javascript_syntax_v1.js <ABS_STAGE_WEBSITE> script.js funding/funding-status.js live/live.js```
Neither command accepts a report, output, write, executable, policy,configuration, claim-input, script, URL, shell, retry or environmentparameter. Unknown, duplicate, missing, reordered or additional argumentsfail the trust boundary.
`<ABS_STAGE_WEBSITE>` must resolve exactly to:
```text<repo>/artifacts/website-candidates/<run-id>/website```
The canonical `<repo>/website`, work-order area, nested candidate paths,relative paths, traversal, UNC paths, and `file:`, HTTP or other URL inputs arerejected. The trusted candidate-test executor remains responsible for bindingthis staged tree to one passed `aureon.design-candidate.v1` receipt and forpinning the tools and policy by hash.
## Read-only trust boundary
The Python tool resolves the repository from its trusted `__file__` locationand reads only the fixed`aureon/operator/website_operator.defaults.json` configuration. Claim inputswhose configured paths start with `website/` are projected in memory to thestaged candidate root. There is no caller-selected configuration or claiminput.
Both tools:
- enumerate without following symbolic links, junctions or reparse points;- reject special files, hard-linked files and case-fold path collisions;- prove every resolved entry stays inside the exact staged root;- hash the complete tree before and after the audit;- reject endpoint drift;- emit relative paths only; and- retain no timestamps, UUIDs, absolute paths, raw public copy, raw secrets or parser messages.
Endpoint comparison is not a continuous filesystem sandbox. A maliciousmutate-then-restore action between observations is a residual limitation. Thetrusted candidate-test executor separately observes its wider integritysurfaces before and after each command.
Python uses strict UTF-8 and strict JSON. UTF-8 BOMs, NUL bytes, malformedencoding, duplicate JSON keys and non-finite JSON numbers fail closed. TheNode adapter uses a fatal UTF-8 decoder and `vm.Script` only to parse the threefixed scripts. It does not execute them.
## Python modes
### `website-operator-static`
This mode covers the static WebsiteOperator successor:
- required critical and release files;- in-memory staged claim-input projection and optional schema binding;- total-site, file-count, per-file and critical-page direct-byte budgets;- blocked public filenames and extensions, including every `.env.*` variant;- fixed packaging allowed-filename and allowed-extension enforcement over the required and browser-loadable release closure, including social images, object/embed/iframe/media/SVG/form/refresh references, CSS `url()`, structural `@import` and `image-set()` strings, after comment removal and CSS identifier/value escape canonicalisation, and every supported webmanifest URL field (`start_url`, optional `scope`, icons, shortcuts, screenshots, share/protocol/file handlers, `note_taking.new_note_url`, `tab_strip.new_tab_button.url` and service-worker source); missing, remote, executable and non-public manifest targets fail closed; intentional unreferenced operator scripts and documentation remain source members, not release members;- configured secret-pattern scanning over every bounded regular file, including unknown and non-public suffixes;- strict text and public JSON parsing; and- exact tree stability.
### `v28-design-system-static`
This mode covers the safe static portion of the V28 design-system audit:
- one title, canonical and H1 plus duplicate-ID detection;- fail-closed duplicate HTML attribute detection before any semantic audit;- local HTML and CSS references, exact path case and fragment targets, including every audited browser-active URL attribute; stylesheets must be staged local relative references, so same-host absolute and protocol-relative aliases are not accepted;- rejection of `data:`, `javascript:`, `blob:`, `file:` and `vbscript:` active URLs, plus remote active-content, form, beacon and automatic- navigation targets;- active fetch-policy checks for prefetch, preload, modulepreload, prerender, preconnect and DNS-prefetch links, plus refresh forms both with and without an explicit `url=`;- recursive XML parsing of locally referenced SVG/XML resources, rejecting scripts, event handlers, XML stylesheet processing instructions, SMIL `set`/`animate` URL mutation, every inherited XML Base (`xml:base`) attribute, remote paint-server URLs, embedded active containers, active/remote URLs, executable dependencies, DTD/entity declarations and malformed XML;- main landmarks, image alternatives, button types, iframe titles and safe new-tab links;- autoplay and marquee rejection;- rejection of inline executable scripts, event handlers, `srcdoc`, and executable script URLs containing any scheme or network location—even the public first-party host—and JavaScript outside the exact reviewed `script.js`, `funding/funding-status.js`, `live/live.js` allowlist;- rejection of HTML `base` elements that could retarget an otherwise reviewed relative script reference;- comment- and string-aware reduced-motion evidence requiring a non-empty effective CSS declaration—not a custom property or contradictory nested conditional branch—and a positive `matchMedia(...).matches` conditional in a local reviewed script that an audited HTML page actually loads. The JavaScript gate must be the first executable structural statement; only whitespace, comments, semicolons and one exact `"use strict";` or `'use strict';` directive may precede it. Negated gates, literal/void-only branches, function/IIFE/callback gates, dead control arms, call-graph inference, prior throw/await/infinite-loop prefixes, RegExp/string/comment decoys and unloaded scripts fail closed. A candidate with no structural gate receives `reduced-motion-javascript-gate-missing`; a structural gate that cannot satisfy the restricted proof receives `reduced-motion-javascript-proof-unavailable`. CSS conditional ranges are computed by one bounded structural pass;- rejection of non-void HTML self-closing syntax that browsers parse as an open element;- separation of executable/browser-active elements from rendered semantic evidence: `template`, `noscript`, `[inert]`, `[hidden]`, hidden inline styles, and external CSS concealment cannot supply visible text, IDs, headings, landmarks, accessibility evidence, fragments, titles or JSON-LD. The preliminary parse retains every ordinary rendered element, its exact root-to-self ancestor indices, tag and attributes for each HTML document. Head content, pseudo-elements, inactive templates, inert/hidden branches, closed dialogs and fallback/foreign non-rendered containers do not enter that rendered tree. Every external stylesheet, embedded `<style>` block and inline style is matched against the actual element tree. A concealment or geometry source on an ordinary wrapper is projected only to real critical `body`, `main` or `h1` descendants on that ancestor chain; a sibling, nonmatching wrapper or wrapper with no critical descendant supplies no semantic concealment evidence. Selector lists, attributes and substring operators, `:is()`, `:where()`, negative/structural pseudos, universal subjects, conditional and unknown grouping at-rules, and native nesting with `&` retain parent selector context. Child (`>`) and descendant combinators retain their distinct ancestry constraints; sibling combinators remain conservative. Pseudo-element-only rules do not hide their originating element. Concealment declarations include `display`, `visibility`, `content-visibility`, zero or dynamically computed opacity, `var()` indirection, filter opacity, zero scale, singular or zero-area matrices, clipping, and bounded off-screen positioning. Every standard `transform` function is parsed into a 4x4 homogeneous step: `matrix*`, `translate*`, `scale*`, `rotate*`, `skew*` and `perspective`. The steps are post-multiplied in declaration order. Constant matrix values retain exact arity; absolute translation units normalize to CSS pixels, and affine relative translations retain signed per-unit coefficients through numeric scale, rotation and skew steps. A scale-aware rank check rejects a singular composed matrix. The transformed z=0 origin and x/y basis are projected through homogeneous `w`; non-finite, nonpositive or near-zero sampled `w`, collapsed 3D area, and collapsed screen-projected area reject. The projected origin supplies the composed pixel displacement. `translate()`, `translateX()`, `translateY()`, `translateZ()` and `translate3d()` inspect both rendered axes, order, signs and supported CSS units. The individual `translate`, `rotate` and nonzero `scale` properties remain matrix-bearing and compose in their CSS-defined order before the `transform` list: `translate`, then `rotate`, then `scale`, then `transform`, independent of declaration order. Thus an individual `scale:2` amplifies a following transform translation, while a preceding individual translation is not incorrectly amplified. Physical, logical, one-to-four-value `inset`, `inset-block` and `inset-inline` declarations are expanded in declaration order with `!important` precedence. Each element's position and transform properties compose before its descendant matrix, and ancestor matrices compose root-to-critical as `M_parent @ M_child`. Supported relative translation coefficients are mapped through those numeric matrices, preserving scale/rotation effects and signed cancellation. Across rules and rendered-element ancestors, distinct property/source slots aggregate conservatively; competing values for the same property on the same source remain cascade alternatives rather than being falsely summed. The bounded Cartesian replay retains at most 4096 distinct geometry states per critical target and at most 2,000,000 selector-element match operations per document; an exceeded bound produces `candidate-css-complexity-limit`. Legacy `clip:rect()` evaluates its horizontal and vertical axes independently, normalizes absolute length units, applies the determinate zero semantics of `auto` top/left, and rejects known equal or inverted extents even if the other axis remains `auto`. Inline styles use the same declaration and aggregation policy. Malformed CSS and more than 256 nested blocks produce canonical `candidate-css-structure-invalid` or `candidate-css-complexity-limit` blockers instead of parser escape or recursion. Closed dialogs, `select`, `style`, `script`, head and fallback/foreign containers remain non-semantic;- categorical rejection of `iframe`, `noembed`, `noframes`, `plaintext`, `textarea` and `xmp`, including non-void self-closing spellings, because Python's tokenizer cannot reproduce their browser RAWTEXT, fallback or plaintext state transitions;- shared asset version presence and consistency; and- exact tree stability.
It does not run a package builder, PowerShell, a browser, visual diffs,performance measurements or responsive geometry checks.
The bounded off-screen decision applies to cumulative signed displacement:at least `1000px`, after converting CSS absolute-length units, or at least`100` for percent, font-relative, viewport, container and other supportednon-empty length units. Same-unit terms cancel exactly. Incomparable unitscontribute conservatively as fractions of their respective bounds. Constantcompositions below those bounds are non-concealing controls; unitless nonzerooffsets are not accepted as CSS lengths. A dynamic`calc()`/`clamp()`/`env()`/`min()`/`max()`/`var()` transform, translate orresolved inset cannot prove a safe bound and therefore fails closed.
This is a bounded concealment proof, not a browser layout engine. It samplesthe local z=0 origin and unit basis and does not resolve box dimensions,`transform-origin`, containing blocks, writing modes, scrolling, or exactcross-rule conditional/specificity outcomes. Same-property cascadeexclusivity is retained as alternatives; different properties and ancestorlayers are assumed able to coincide when exclusivity cannot be proved.Sibling-selector application is conservatively over-approximated because therendered tree binds ancestry rather than a complete browser selector engine.
### `v28-metadata-ethos-static`
This mode covers the safe static portion of the V28 metadata and ethos audit:
- doctype, language, UTF-8, viewport, title, description, canonical and H1;- fail-closed indexing-suppression rejection on every configured critical route, including `none`, crawler-specific meta aliases, `X-Robots-Tag` metadata or `.htaccess` headers; `.htaccess` `Define`, `SetEnv`, `SetEnvIf`, `SetEnvIfExpr` and rewrite environment substitutions are conservatively expanded, unresolved header substitutions fail closed, and `robots.txt` paths receive at most four strict UTF-8 percent transformations before slash and Unicode normalisation; malformed, control-bearing or still-escaped paths fail closed. Repeated decoding is a conservative anti-smuggling over-approximation, not standards-equivalent URI matching;- Open Graph and Twitter card consistency;- duplicate canonical and metadata-identity detection;- first-party local social-image presence;- structurally parsed embedded JSON-LD and route schema-family checks (HTML comments are not evidence);- typed, local, exact-case webmanifest navigation, scope, asset, handler and service-worker fields with ordinary-file and media-type checks;- fixed-config research, evidence, boundary and human-authority signals;- configured prohibited-claim patterns;- per-route evidence and authority-boundary language; and- staged claim-input presence and schema binding.
The receipt contains finding codes and evidence hashes, never the matchedwording.
## Receipt and exits
stdout is exactly one newline-terminated canonical JSON object. Python outputhas exactly:
```json{ "schema": "aureon.design-candidate-static-qa.v1", "mode": "website-operator-static", "source": { "root": "artifacts/website-candidates/example/website", "tree_sha256": "<SHA256>", "file_count": 0, "total_bytes": 0 }, "checks": [], "findings": [], "decision": { "status": "pass", "blocker_count": 0, "finding_set_sha256": "<SHA256>" }, "limitations": [], "authority": {}}```
Each check contains only `id`, boolean `passed`, and sorted`blocker_codes`. Each finding contains only `code`, `severity`, candidate-relative `path`, integer `line`, and `evidence_hash`.
Node output uses the same source boundary and includes the three bound scripthashes plus sorted hash-only syntax failures. Any additional `.js` file failsthe reviewed-tree boundary before parsing, whether or not an HTML pagereferences it.
Exit codes are:
- `0`: the selected static scope passed;- `2`: static findings were retained; and- `3`: invalid CLI, root, filesystem, UTF-8, JSON, configuration or mutation trust boundary.
An exit `0` proves only the selected static scope for one unchanged stagedtree. It is not candidate validation, package approval, deployment approval,human visual acceptance, owner approval or release authority.
The immutable historical V44 candidate intentionally does not satisfy therestricted successor JavaScript grammar. Its design-mode receipt must failclosed with exactly `reduced-motion-javascript-proof-unavailable`; V44 is notrewritten or exempted by path, hash or legacy call-graph inference. A successormust expose the small first-executable gate above.
## Verification
Focused checks:
```textpython -m pytest tests/test_design_candidate_static_qa.py -qnode tests/test_candidate_javascript_syntax_v1.jspython -m ruff check aureon/operator/design_candidate_static_qa.py tests/test_design_candidate_static_qa.pypython -m ruff format --check aureon/operator/design_candidate_static_qa.py tests/test_design_candidate_static_qa.pypython -m mypy --strict --follow-imports=skip aureon/operator/design_candidate_static_qa.pypython -m py_compile aureon/operator/design_candidate_static_qa.pynode --check tools/aureon_candidate_javascript_syntax_v1.js```
The adversarial suite covers canonical-root substitution, nested layout andpath traversal, UNC and URL inputs, unknown/duplicate/write arguments,hardlinks and reparses, invalid UTF-8, duplicate and non-finite JSON, missingreferences and fragments, metadata/ethos/privacy failures, secret and budgetevidence, `.env.*` variants, packaging allowlist enforcement, endpointmutation, determinism, duplicate HTML attributes and metadata identities,comment/string/custom-property/nested-media/unreachable-loop/voidreduced-motion decoys, first-executable throw/await/infinite-loop prefixes,function/IIFE/arrow/object/class/generator/catch gates, RegExp anddivision/RegExp ambiguity, negated and literal-only branches, unloaded scripts,inert/hidden/raw-text/select/closed-dialog structureand copy, conditional external-CSS hiding, non-void self-closing parserdifferentials, crawler-meta/indirect-`.htaccess`/percent-encoded-`robots.txt`indexing suppression, same-host absolute and protocol-relative scripts andstylesheets, active `data:`/`javascript:`/`blob:`/`file:` surfaces, shorthandrefresh and active fetch links, recursively active SVG, XML stylesheetinstructions, SMIL mutations, remote paint URLs, remote embedded content, andbrowser-loadable PowerShell payloads reached through HTML, SVG, socialmetadata, escaped/comment-split CSS imports/URLs/image sets and allwebmanifest URL families. A synthetic large-CSS test binds visibility andhundreds of reduced-motion conditionals to a five-second upper bound. Thesuite also covers compound hidden-main selectors, statically false numericJavaScript gates, parser-differential HTML elements, inherited XML Base, andone- through five-layer percent-smuggling plus malformed/control vectors. Italso covers additional and inline malformed JavaScript, non-execution, andthe absence of subprocess, filesystem-writer and network-client calls in theNode adapter. The Node adapter deliberately remains syntax-only; reduced-motion reachability is enforced by the Python design mode.
The CSS corpus additionally covers escaped property names, comma-safeselector functions, `:root`, universal/negative/structural pseudos, exact andsubstring attributes, native nested selectors and nested groupingdeclarations, undefined and cross-rule custom properties, `calc()`,`min()`/`clamp()`/`env()`, filter opacity and scale. Geometry cases includezero and nonzero singular 2D/3D matrices, collapsed axes and planes,off-screen matrix terms, transform-function and individual translations,both axes and signs, pixel/absolute/relative/viewport units, whitespace andscientific notation, physical/logical/shorthand and split-rule insets, andequal/inverted legacy clip rectangles. The composition corpus permanentlyadds all nine independently sealed cumulative/mixed-`auto` reproducers plusordered matrix/function multiplication, scale and rotation mapping,same-rule and cross-rule property composition, ancestor propagation,same-property cascade alternatives, mixed-unit conservative sums, signedcancellation, and inline parity. Implementation-generated homogeneous testscover z=0 planes with zero, negative and near-zero `w`, identity, and validperspective; they are not attributed to the independent reproducer record.Identity/rotation matrices, bounded cumulative translations and insets,positive-area mixed-`auto` clips, pseudo-element non-regression, unclosed EOFrules, and 300-level adversarial nesting remain positive or boundary controlsas appropriate.
The rendered-ancestor corpus additionally seals ordinary wrappers around theonly `main`/`h1` for display removal, full transparency, direct and cumulativetransform translation, layout-plus-transform displacement, andindividual-translate-plus-transform displacement. It covers external rules,embedded style blocks and inline style attributes; nested wrapper matrices;ancestor/child amplification and signed cancellation; same-source cascadealternatives; exact child-combinator constraints; pseudo-elements;nonmatching, sibling and noncritical wrappers; and decoy critical markup belowtemplate, inert and foreign non-rendered branches. Individual-transformregressions bind declaration-order independence, zero and nonzero scale,downscale and reciprocal-scale controls, translate/rotate/scale/transformorder, and the exact `scale:2` plus `translateX(600px)` reproducer.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356# Trusted staged-candidate test evidence
Status: local evidence control only Policy schema: `aureon.design-candidate-test-policy.v1` Receipt schema: `aureon.design-candidate-test-evidence.v2` Implementation: `aureon/operator/design_candidate_test_evidence.py`
## Purpose
A design worker's statement that tests passed is not test evidence. Thiscontrol lets an operator pin one complete, ordered suite to one alreadyvalidated staged candidate and then derive status from the subprocess exitcode and integrity observations.
The caller supplies only:
- the policy file;- the exact SHA-256 of the policy **file bytes**;- the complete ordered command-ID list already present in the policy; and- an optional receipt ID and clock value.
There is no parameter for an executable, argument, environment variable,shell, retry, width, browser, pass state, or raw output. A caller cannot selecta passing subset: the requested IDs must equal the complete ordered policy.
## Authority boundary
The control grants no authority to:
- validate or promote a candidate;- mutate the canonical `website/` tree;- build or approve a package;- release or deploy;- access credentials; or- treat a passing test as human visual acceptance.
Both policy and receipt carry exact negative authority objects. Any extra,missing, or changed authority value fails replay.
## Honest execution boundary
The module supplies a small sanitised environment, does not inherit arbitrarydeveloper variables, enables Python isolation, sets package managers offline,and sends common HTTP proxy variables to a loopback null route. A namedOS-runtime allowlist (`COMSPEC`, `LOCALAPPDATA`, `PATHEXT`, `PROGRAMFILES`,`PROGRAMFILES(X86)`, `SYSTEMROOT`, `TEMP`, `TMP`, `WINDIR`) is copied onlywhen present and is listed explicitly in the receipt. The operator tool andexecutable are hash-pinned.
Node discovery is stricter than that environment allowlist. The shared resolvernever consults `PATH`, `PATHEXT`, registry aliases, package-manager shims, or acaller-provided locator. It accepts only the source-reviewed absolute`C:/Program Files/nodejs/node.exe` binding for Windows v24.14.0 when both its91,380,224-byte size and SHA-256`63C259C81E5D472B5F11C8D506070130CB04A1ECF84B80377A34ED6EC9048088`match. The manifest has its own source-pinned canonical hash. Compilation,policy replay, and later evidence execution all call this same resolver. A Nodeupgrade, relocation, or non-Windows host fails closed until a reviewer updatesthe source binding; there is no ambient fallback.
This is **not** a kernel network sandbox and is **not** a filesystem sandbox.A reviewed tool can deliberately open a raw socket or write elsewhere in therepository. The policy therefore states`offline-intent-no-kernel-network-sandbox`; the receipt states the sameresidual limitation. Do not describe this as OS-enforced network denial.
Endpoint filesystem mutation is detected, not prevented, on these exactsurfaces:
1. the staged candidate website tree;2. the candidate receipt file;3. the exact policy file;4. every trusted tool input;5. the canonical website tree; and6. the policy's scoped repository-control manifest;7. the interpreter executable;8. the loaded candidate-test-evidence implementation; and9. the loaded secure immutable-writer implementation.
All nine are observed immediately before and after every executed command. Adifferent post endpoint makes the command and suite fail. This is endpointconsistency, not continuous monitoring: a mutate-then-restore action betweenthe observations, or a detached write after the post endpoint, is notobserved. An equally privileged same-user process can also mutateimplementation bytes, run, and restore them between observations. Without OSprocess/filesystem isolation this is not prevented and the receipt cannot bedescribed as origin attestation. The scoped manifest must include`pyproject.toml` and every trusted command input. Add further files or treesthat the suite must prove remained unchanged. Files or trees omitted from thatmanifest remain a stated residual detection gap.
## Policy contract
The policy is strict JSON: duplicate keys, non-finite values, unknown fields,links, reparse traversal, hard-linked files, stale hashes, and path escapesare rejected.
Top-level fields are exactly:
```json{ "schema": "aureon.design-candidate-test-policy.v1", "policy_id": "candidate-suite-v2-<lowercase-content-sha256>", "candidate": {}, "repository_control": {}, "required_command_ids": [], "commands": [], "execution": {}, "authority": {}}```
### Candidate binding
`candidate` contains exactly:
- `receipt_path`: repository-relative path to one `aureon.design-candidate.v1` receipt;- `receipt_file_sha256`: exact candidate-receipt file-byte hash;- `receipt_json_sha256`: canonical JSON hash;- `tree_sha256`: exact staged website tree hash.
The candidate receipt must still be boolean-passed `validated-local`, retainnegative package/release/deploy/credential authority, and match current treehash, file count, and byte count. The receipt and website must be under onestaged candidate root.
### Repository control
`repository_control` contains exactly:
```json{ "canonical_website_path": "website", "canonical_website_tree_sha256": "<UPPERCASE_SHA256>", "entries": [ { "path": "pyproject.toml", "kind": "file", "sha256": "<UPPERCASE_SHA256>" } ], "manifest_sha256": "<CANONICAL_JSON_SHA256_OF_ENTRIES>"}```
Entries are sorted by path, unique, repository-relative, outside the stagedcandidate, and use `file` or `tree`. A tree hash is the canonical JSON hash ofits sorted `{path, sha256, bytes}` manifest. All files and tree members must beregular, non-link, non-reparse entries with one hard link.
### Command templates
Each command has exactly `id`, `template`, and `template_sha256`. The templatehash is the canonical JSON SHA-256 of:
```json{ "engine": "python", "argv": [ "{python}", "-I", "{repo_root}/tools/reviewed_candidate_check.py", "{candidate_root}" ], "cwd": ".", "timeout_seconds": 120, "viewport_widths": [], "trusted_inputs": [ { "path": "tools/reviewed_candidate_check.py", "sha256": "<UPPERCASE_SHA256>" } ], "tool_executable_sha256": "<UPPERCASE_SHA256>", "required_outputs": [ "exit-code", "stdout-sha256", "stderr-sha256" ]}```
Interpreter grammar is deliberately narrow:
- Python: `{python} -I {one hash-bound .py tool} [tool arguments]`;- Node and Playwright: `{node} {one hash-bound .js tool} [tool arguments]`.
The trusted tool must occupy the sole executable-script position. An unusedtrusted-tool argument cannot bless Python `-c`, `-m`, stdin, Node `-p`,`--input-type`, preload/import/require, inspector, eval, or another executionroute. Raw absolute paths, URLs, shell fragments, environment assignments,unknown placeholders, and parent traversal are rejected. `shell=False` andclosed stdin are fixed.
Supported engines are:
- `python`;- `node`;- `playwright-chromium`;- `playwright-firefox`;- `playwright-webkit`.
Plain Python and Node commands may not claim viewport coverage. A Playwrighttemplate must claim at least one sorted, unique supported width from:`320, 360, 390, 768, 1280, 1440, 1920`. These claims come from the pinnedoperator policy, never worker output.
### Fixed execution policy
`execution` must equal:
```json{ "mode": "ordered-once-fail-fast", "shell": false, "inherit_environment": false, "network": "offline-intent-no-kernel-network-sandbox", "output_privacy": "sha256-only", "preserve_failures": true, "retry_count": 0}```
A non-zero exit, timeout, output-limit breach, tool-version failure, spawnfailure, or endpoint-integrity drift is retained as the first failedobservation. It is never retried. Stdout and stderr are captured to anonymoustemporary files, hashed without being retained in the receipt, and activelypolled against a 2 MiB per-stream threshold. A final size check catches a fastprocess that exits between polls. This bounds in-memory capture but is not anOS disk quota; a fast process can transiently exceed the threshold before it iskilled or observed. Remaining commands are recorded as`not-run-prior-failure`, so omission cannot be reinterpreted as success.
## Execution and immutable receipt
```pythonimport hashlibfrom pathlib import Path
from aureon.operator.design_candidate_test_evidence import ( execute_candidate_test_evidence, verify_candidate_test_evidence_receipt, write_candidate_test_evidence_receipt,)
root = Path(r"C:\path\to\Aureon-OS")policy_path = root / "artifacts/website-operator/pinned-candidate-test-policy.json"# Load this from an independently preserved trusted orchestration/owner seal.# Never treat a hash freshly computed from an untrusted live policy as approval.trusted_policy_file_sha256 = "<UPPERCASE_SHA256_FROM_TRUSTED_POLICY_SEAL>"observed_policy_file_sha256 = hashlib.sha256( policy_path.read_bytes()).hexdigest().upper()if observed_policy_file_sha256 != trusted_policy_file_sha256: raise RuntimeError("Pinned policy file no longer matches its trusted seal")
receipt = execute_candidate_test_evidence( policy_path, expected_policy_sha256=trusted_policy_file_sha256, command_ids=["javascript-syntax", "candidate-visual-check"], repo_root=root, receipt_id="candidate-tests-v30",)
candidate_root = root / receipt["candidate"]["root"]receipt_path = candidate_root / "candidate-test-evidence.v2.json"write_candidate_test_evidence_receipt( receipt, receipt_path, policy_path=policy_path, expected_policy_sha256=trusted_policy_file_sha256, repo_root=root,)
receipt_file_sha256 = hashlib.sha256(receipt_path.read_bytes()).hexdigest().upper()verification = verify_candidate_test_evidence_receipt( receipt_path, expected_receipt_file_sha256=receipt_file_sha256, policy_path=policy_path, expected_policy_sha256=trusted_policy_file_sha256, repo_root=root,)```
The output directory must already exist below the staged candidate root andoutside its hash-bound website subtree. Creation uses the shared handle-boundimmutable-artifact writer: kernel-resolved final path and identity remainbound through same-handle and post-close byte/identity read-back. NTFSalternate streams are rejected. An existing receipt is never replaced. Thewriter also requires a process-local fresh-issue token created by`execute_candidate_test_evidence`, which prevents ordinary code from rewritinga mapping and passing it to the writer in the same workflow. This token is asingle-use token claimed atomically under a lock before validation or I/O; twoconcurrent writers cannot consume one issuance. A failed write does not makethe issuance replayable. This is a misuse guard, not a cryptographic signatureor cross-process origin attestation.
The strict file verifier requires an external exact receipt-file SHA-256 andrejects links, reparse traversal, hard links, duplicate JSON keys, input drift,and self-hash drift. The external hash is trustworthy only when trustedorchestration seals it immediately after the fresh writer returns and preservesthat seal independently. An attacker-selected receipt plus attacker-selectedhash is not origin evidence.
Every public execute, validate, write, and verify entrypoint also compares theloaded evidence and immutable-writer source hashes with their currentsingle-link source files. A long-lived process therefore fails closed ifeither file changes after import, instead of executing cached bytes whilebinding different on-disk control bytes.
## Receipt evidence
For every command, the receipt binds:
- command ID, template hash, engine and pinned width claims;- exact expanded argv hash and candidate-relative working directory;- sanitised environment key/value hashes;- trusted-input manifest hash;- tool executable file and path hashes;- tool-version argv, exit code, stdout hash, and stderr hash;- start/end UTC timestamps and monotonic duration;- one attempt, zero retries, timeout and exit code;- stdout/stderr SHA-256 and byte count with `retained: false`;- before/after endpoint-integrity hashes for all nine controlled surfaces;- exact candidate-test-evidence and secure-writer implementation hashes.
Pass is derived only when the tool-version probe exits zero, the exact commandexits zero, required outputs exist, no timeout occurs, and every integritysurface has matching trusted endpoints. Strings such as `"passed"` arerejected.
`validate_candidate_test_evidence_receipt` returning `passed: true` means thereceipt structure and current live bindings replayed correctly. It explicitlyreturns `origin_attested: false` and`trusted_orchestration_seal_required: true`; pure validation cannot prove thatthe executor originated a mapping. Its `evidence_passed` field separatelystates whether the represented suite passed. A correctly preserved non-zeroor timeout receipt therefore has verifier `passed: true` and`evidence_passed: false`.
## Required release interpretation
This receipt is one post-patch test observation. It does not replace:
- staged candidate validation and claim-surface replay;- browser-source and visual evidence;- named human pixel/brand acceptance;- accessibility and motion review;- verified live backup;- package-hash approval;- Home.pl deployment controls; or- production HTTPS read-back.
Never promote `evidence_passed: true` into candidate, package, release, ordeployment authority.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176# Candidate test policy compiler
## Purpose
`aureon/operator/design_candidate_test_policy_compiler.py` closes policyshopping between staged candidate validation and trusted local QA. A designworker cannot supply command ids, commands, arguments, interpreters, timeouts,trusted inputs, source configuration, output location, retry behaviour, or apass/fail interpretation.
The compiler reads only:
1. one exact current-contract boolean-passed `artifacts/website-candidates/<run-id>/candidate.v1.json`;2. the fixed `aureon/operator/website_operator.defaults.json`;3. the fixed candidate-safe Python and Node adapters;4. the current Python executable bytes and the source-pinned reviewed Node v24.14.0 absolute-path, size, and SHA-256 binding;5. `pyproject.toml`, the complete AST-derived executable-source closure, and the current canonical `website/` tree for repository-control binding.
The compiler calls the complete staged-candidate/work-order verifier with onlythe historical baseline-current check relaxed. Exact receipt, work-order,candidate and authority fields remain mandatory. A structural receipt or acaller-selected receipt hash is not execution origin and is insufficient.Before replay, the compiler applies the same exact runtime field-and-typecontract as candidate control and its strict raw JSON parser rejects duplicatekeys and non-finite numbers. The verifier reloads the candidate's fixed,create-once `candidate-validation-input.v1.json` sidecar and derives the replayinstant, claim declarations, and claim-surface context and manifest only fromthat sidecar. The receipt binds the exact sidecar path, raw file SHA-256,canonical JSON SHA-256, and payload self-hash. Complete type-strict recursivereceipt equality means boolean/integer substitutions, unknown nested fields,appended checks, altered gates, receipt-only timestamps, or substituted claimcontexts cannot be smuggled into compilation.
The sidecar is local provenance, not a trusted wall clock, operating-system orinput-origin attestation. It grants no authority and changed immutable inputsrequire a successor candidate rather than an overwrite.
The immutable validation input and receipt bind a sorted raw-byte manifest forall 15 currently reachable local Python sources: both compilers, candidatecontrol, all direct and conditional validation dependencies, the closurehelper, and both executed package initializers. The manifest is derived fromthe AST using repository-root-only resolution. Missing, extra, relocated,linked, reparsed, hard-linked, alternate-stream-shaped, or byte-differentsources fail before candidate-control replay.
The manifest explicitly records the runtime-dead `TYPE_CHECKING` branch andthe bounded lazy-export sites in the two package initializers. It does notsilently treat an unresolved dynamic import as safe. The sealed direct-fileingress installs a first-position raw-source loader for the bound modules, soambient import hooks and cached bytecode cannot substitute their execution.
It does not execute tests. It does not mutate the candidate or canonicalwebsite. It grants no candidate validation, promotion, package, release,credential, or deployment authority.
## Fixed projection
The complete ordered executable suite is:
1. `candidate.website-operator-static.v1`;2. `candidate.javascript-syntax.v1`;3. `candidate.v28-design-system-static.v1`;4. `candidate.v28-metadata-ethos-static.v1`.
The source check `v28-composite-visual-release-gate` is bound and recorded as`deferred-to-source-bound-visual-review`. It is never translated into a staticpass and is never included in the executable candidate suite.
The entire WebsiteOperator source-policy file is hard-pinned to reviewed hash`3956D6AACC2B122086D8E2AC1FBB93AB9D01750CAE9B693D2C6DB6148F31741D`.Any byte change, including an optional check, relaxed budget, route, authorityor packaging/deployment setting, blocks until an explicit code review updatesthe pin. The known external checks are then projected exactly.
## Immutable output and replay
The v2 policy id is the full SHA-256 content address of a canonical core thatincludes the exact candidate and receipt, source policy, mappings, commands,trusted tools, interpreter hashes, repository/canonical-tree control,execution policy, authority and compiler hash. The writer chooses the onlypermitted location:
```textartifacts/website-operator/candidate-test-policies/<policy-id>.json```
An exact existing content address is verified idempotently and neveroverwritten; a legitimate changed core receives a different path so revisionscoexist. V1 paths remain historical staleable evidence. The writer acceptsonly a fresh same-process compiler result and useshandle-bound creation through `secure_immutable_artifact`. Kernel-resolvedfinal path and file identity remain bound through same-handle and post-closeread-back. Alternate streams are rejected and replay failures never triggerlexical-path deletion.
`verify_compiled_candidate_test_policy_file(...)` is the trusted runner seam.It does not trust an arbitrary policy path and hash. It recompiles the fixedpolicy from the exact candidate, current source policy, current tools,interpreters, and canonical tree; requires the fixed output path; comparesexact file bytes; and then requires the strict test-evidence parser to acceptthe policy. A caller-provided substitute policy and its matching substitutehash still fail.
The runner must preserve the returned policy file hash independently and passthat exact hash to `design_candidate_test_evidence`. The worker submission mustnot contain a policy path, hash, command id, test manifest, or test result.
The public website runner does not import either compiler. It verifies thefixed policy before any QA engine or immutable attempt claim by launching thisexact file in a fresh process with `sys.executable -I -S -B`, an absolutecompiler path, repository-root `cwd`, `shell=False`, a fixed minimal environmentthat inherits no caller or `PYTHON*` variables, a 300-second timeout and noretry:
```powershellpython -I -S -B aureon/operator/design_candidate_test_policy_compiler.py ` --verify-policy artifacts/website-operator/candidate-test-policies/<content-address>.json ` --expected-policy-sha256 <UPPERCASE-SHA256> ` --candidate-receipt artifacts/website-candidates/<run-id>/candidate.v1.json```
Verifier mode is read-only: it creates no directory or policy and emits nobytecode. The runner accepts exactly one UTF-8 canonical compact JSON objectterminated by one LF. Duplicate keys, non-finite values, trailing or secondJSON values, non-canonical bytes, stderr, and output larger than 64 KiB arerejected. Stdout and stderr are drained concurrently while hashes and bytecounts are updated incrementally; at most 64 KiB is retained across both pipesand per stream. The first excess byte stops the child, and timeout/overflowcleanup terminates then kills and waits for the same one process. The exactresponse field set, schema, authority, candidate/policypaths and all bound hashes must match before the candidate-QA attempt isclaimed or any motion/test engine runs.
The compiler and the downstream evidence executor share the reviewed Noderesolver. `PATH`, `PATHEXT`, registry aliases, and shims cannot select the Nodewhose SHA-256 enters a policy. The current Windows binding is v24.14.0 at`C:/Program Files/nodejs/node.exe`, 91,380,224 bytes, SHA-256`63C259C81E5D472B5F11C8D506070130CB04A1ECF84B80377A34ED6EC9048088`.Upgrade, relocation, and portability to another platform are explicit sourcereview events and fail closed until the binding is updated.
## Command-line interface
The existing write-mode CLI still has one input and no policy-selectioncontrols:
```powershellpython -I -S -B aureon/operator/design_candidate_test_policy_compiler.py ` --candidate-receipt artifacts/website-candidates/<run-id>/candidate.v1.json```
It prints one canonical JSON verification object. The object records the fixedordered command ids and the deferred composite source id. It does not claimthat tests ran or that the composite visual release gate passed.
Direct execution of the compiler file is the only sealed pre-import ingress.Do not replace it with `python -m`, because Python would execute`aureon/__init__.py` and `aureon/operator/__init__.py` before compilerpreflight. Imported functions remain available for trusted in-processinspection and reject current closure drift at call time, but they do notclaim prevention before package-initializer execution.
## Residual boundary
Deterministic replay proves that current bytes equal the compiler's currentfixed projection. It is not independent provenance attestation, and theverification object therefore reports `origin_attested: false`.
The downstream test-evidence executor still has its documented`offline-intent-no-kernel-network-sandbox` and endpoint-consistency limitations.Source-bound browser evidence, named human pixel review, owner visualacceptance, WebsiteOperator promotion, packaging, and live deployment remainseparate gates.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667# Design Learning Ledger
## Purpose
The Design Learning Ledger implements the `learn` phase of Aureon's localHarmonic Design Suite. It records a reusable design-pattern **proposal** onlyafter the exact staged candidate, browser evidence, manual pixel review andnamed human visual acceptance all revalidate successfully.
It does not update a skill, the canonical `website/` tree, a package, Home.pl,credentials or the live website. A proposal is input to a separatehuman-reviewed repository change, never an automatic promotion.
## Inputs
All inputs must remain inside the same staged candidate root:
- `candidate.v1.json` — a currently revalidated candidate-control receipt.- `prepromotion-visual-review.v1.json` — a currently reproducible passing staged visual review.- A Design Learning Manifest conforming to `AUREON_DESIGN_LEARNING_MANIFEST_V1.schema.json`.
The manifest must name a stable pattern identifier/version, exact candidatepaths, existing regression tests, an existing Markdown target inside`skills/aureon-harmonic-design-suite/`, and a future refresh deadline. Itsallowed paths must be a subset of paths the candidate actually changed.
## Command
```powershellpython -m aureon.operator.design_learning_ledger ` --repo-root . ` --candidate-receipt artifacts/website-candidates/<run>/candidate.v1.json ` --visual-review artifacts/website-candidates/<run>/visual-review/prepromotion-visual-review.v1.json ` --learning-manifest artifacts/website-candidates/<run>/feedback/<pattern>.manifest.v1.json ` --output artifacts/website-candidates/<run>/feedback/design-learning.v1.json```
The same local-only operation is available through:
```powershellpython -m aureon.operator.website_operator candidate-learning ...```
## What it revalidates
1. The immutable work order, candidate tree, changed-path diff, claim impact, secret/origin/scope controls and non-authoritative boundary.2. The stored candidate visual-review receipt and its binding to the candidate SHA-256 and staged tree.3. The original capture, visual QA, manual pixel review and named human acceptance evidence, including their current hashes.4. The bounded pattern contract, regression-test paths, proposal target and refresh deadline.
Any drift, changed acceptance evidence, out-of-scope pattern path, missingtest, stale deadline or authority inconsistency produces a `blocked` record.
## Authority boundary
Every record has `release_eligible: false`, `package_authority: none` and`deployment_authority: none`. Its `promotion.applied` field is always false.The next step is a human review of the proposal, followed—if approved—by anormal source edit, tests and a fresh candidate cycle. Canonical promotion,packaging, backup, owner approval and live HTTPS read-back remain separateWebsiteOperator gates.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263# Design motion and performance budget
## Purpose
`aureon.operator.design_motion_performance_budget` is a deterministic,local-only static gate for one exact Aureon website tree. It measures motiondeclarations and resource weight, applies the motion doctrine, recordsprivacy-minimised findings, and binds the result to the exact source, budget,doctrine, configuration, implementation and immutable-writer bytes.
The control accepts only:
- canonical source at `website`; or- staged source at `artifacts/website-candidates/<run-id>/website`.
It never opens the network, executes HTML, CSS or JavaScript, readscredentials, mutates either source tree, creates or promotes a candidate,packages a release, grants approval or deploys. A passing result is localaudit evidence only. Browser performance, pointer and keyboard parity,responsive behaviour, human visual acceptance, package dependency closure,verified backup, exact-package owner approval, deployment and live HTTPSread-back remain separate gates.
This generic audit interface is not the staged-candidate policy authority.Candidate orchestration must first use`design_candidate_motion_policy_compiler.py` and replay its exactcontent-addressed configuration. A worker-selected generic config, even whenstricter or accompanied by its own hash, cannot satisfy the candidate gate.
## Doctrine enforced
The pinned doctrine is`skills/aureon-harmonic-design-suite/references/design-doctrine.md`.Configuration cannot raise animation duration above 800 ms, raise transitionduration above 500 ms, lower the normal transition minimum below 80 ms, orallow a reduced-motion disabling duration above 10 ms.
The static audit blocks:
- autoplay `video` or `audio`, animated GIF/APNG assets, and scripted `.play()`;- infinite CSS, markup or SVG animation;- an animation over the pinned maximum;- a non-zero transition outside the pinned duration range;- animation, transition, transform or smooth scrolling without a matching `prefers-reduced-motion: reduce` override;- runtime or template-driven motion that cannot be proved statically, including CSS `var()`, `calc()`, `env()` or `attr()` motion values and known JavaScript motion APIs;- inline event handlers, computed or direct media `play` capability, and scripted autoplay-property or autoplay-attribute assignment;- statically declared JavaScript fetch/import/worker/socket/media URLs, `src`/`href`/`poster` assignments and resource attributes when their origin is undeclared; a recognisable dynamic resource assignment is an uninspectable-resource blocker;- malformed or uninspectable HTML, CSS and SVG motion surfaces;- tree, category, single-asset, declaration, remote-reference or embedded-data budget overruns;- unresolved or escaping local resource paths;- protocol-relative, malformed, unsupported or undeclared remote origins.
Recognisable dynamic or uninspectable runtime constructs block this gate. Theoperator does not estimate them, run them, or retry for a favourable result.Unrecognised program behaviour is outside this static proof and remains anexplicit browser/package-review limitation.
## Pin an exact configuration
First obtain the source binding:
```powershellpython -m aureon.operator.design_motion_performance_budget snapshot ` --repo-root . ` --source-root website```
For a staged candidate, replace `website` with its exact`artifacts/website-candidates/<run-id>/website` path. Copy the reportedupper-case `tree_sha256` into a separately reviewed configuration outside thepublic source tree. Obtain the doctrine hash without editing the doctrine:
```powershell(Get-FileHash ` skills/aureon-harmonic-design-suite/references/design-doctrine.md ` -Algorithm SHA256).Hash```
The configuration is strict JSON: duplicate keys, extra keys, a BOM,non-finite values and weakened policy values are rejected. A representativecanonical configuration is:
```json{ "doctrine": { "path": "skills/aureon-harmonic-design-suite/references/design-doctrine.md", "sha256": "<UPPER-CASE-DOCTRINE-SHA256>" }, "policy": { "autoplay_media": "forbid", "dynamic_motion": "forbid", "infinite_animation": "forbid", "reduced_motion_override": "required", "undeclared_remote_origins": "forbid" }, "remote_origins": { "allow_data_urls": false, "allowed": [] }, "schema": "aureon.design-motion-performance-budget-config.v1", "source": { "kind": "canonical-static-tree", "root": "website", "tree_sha256": "<UPPER-CASE-SOURCE-TREE-SHA256>" }, "thresholds": { "max_animation_declarations": 24, "max_animation_duration_ms": 800, "max_css_bytes": 350000, "max_embedded_data_bytes": 0, "max_font_bytes": 750000, "max_html_bytes": 750000, "max_image_bytes": 2200000, "max_javascript_bytes": 300000, "max_media_bytes": 0, "max_other_bytes": 250000, "max_reduced_motion_duration_ms": 1, "max_remote_resource_references": 0, "max_single_asset_bytes": 500000, "max_total_bytes": 4500000, "max_transition_declarations": 80, "max_transition_duration_ms": 500, "min_transition_duration_ms": 80 }}```
Thresholds are an owner-reviewed, source-bound test policy. Select them beforethe improvement run and do not relax or replace them to turn a failure into apass. Stricter values are permitted. For staged source set`kind` to `staged-static-tree` and use the exact staged path.
`remote_origins.allowed` contains unique, sorted, canonical HTTPS origins suchas `https://cdn.example`. An allowed origin is counted but never contacted.Allow-listing does not prove its bytes, availability, privacy properties orrelease-package closure. Prefer self-hosted, hash-bound dependencies.
## Run the audit
```powershellpython -m aureon.operator.design_motion_performance_budget audit ` --repo-root . ` --config data/website_operator/motion-budget.v1.json ` --output artifacts/website-operator/motion-performance-budget/<run-id>.json```
The optional output must be a new `.json` path below`artifacts/website-operator/motion-performance-budget/`. Existing evidence isnever overwritten. The source, configuration and doctrine must be ordinary,single-link, reparse-free files or directories. A source tree containing asymbolic link, junction/reparse point, hard-linked file, non-regular entry,portable case collision or changing byte is rejected before a receipt isissued.
The executing module must be the repository file at`aureon/operator/design_motion_performance_budget.py`. Its bytes must equalthe source bytes loaded by the current Python process before the audit and atreceipt finalisation. A same-path file replacement, a modified repositorycopy, or a different module origin is rejected rather than described as theimplementation that ran.
Receipt creation is delegated to the hash-bound repository module at`aureon/operator/secure_immutable_artifact.py`. That writer uses exclusive,handle-bound creation and same-handle read-back. On Windows it denies sharing,checks the kernel-resolved final path, file identity, link count and bytesbefore and after close. NTFS alternate streams are rejected. Replay failurenever deletes the lexical path. These checks detect observed substitution andhard-link races but are not a continuous malicious same-user isolationboundary; use OS principal/ACL isolation when that threat is in scope.
Exit status:
- `0`: the deterministic local budget passed;- `1`: the audit completed and emitted one or more blockers;- `2`: an input, path, hash, syntax, receipt or filesystem invariant was malformed, stale or unsafe, so no valid audit decision was issued.
## Receipt semantics
The receipt schema is`aureon.design-motion-performance-budget.v1`. It records:
- the exact repository-relative source kind and path;- expected and observed source-tree SHA-256, file count and byte count;- exact configuration, doctrine, implementation and immutable-writer hashes;- a hash of the complete pinned threshold object;- byte totals and file counts by HTML, CSS, JavaScript, image, font, media and other categories;- animation and transition declaration counts and duration ranges;- transform, smooth-scroll and reduced-override counts;- local, remote and embedded resource counts and bytes;- sorted blocker findings, fixed checks and a self-hash;- an explicit authority envelope with no candidate, canonical, package, release, credential, network or deployment authority;- the fixed static-analysis limitation codes that prevent the receipt being represented as browser, runtime, interaction or visual proof.
Findings contain public-tree paths, controlled codes, numeric measurements andhashes. Raw selectors, CSS/HTML/JavaScript snippets, data URLs, local absolutepaths and remote origins are not copied into the receipt. There is no clockfield, so unchanged source, configuration, doctrine, implementation andimmutable-writer bytes produce the same receipt.
`pass` means only that this exact static tree met this exact static policy.`blocked` is evidence for the next bounded repair. Neither state is candidateacceptance, browser proof, package readiness or release approval.
## Replay a receipt
```powershellpython -m aureon.operator.design_motion_performance_budget validate ` --repo-root . ` --receipt artifacts/website-operator/motion-performance-budget/<run-id>.json```
Validation rejects duplicate JSON keys, non-canonical encoding, an alteredself-hash, authority expansion, malformed findings, source/config/doctrinedrift, implementation drift, immutable-writer drift and any mismatch with acomplete current replay.Do not manually refresh a stale tree hash. Re-run `snapshot`, review the newtree and thresholds, create a new immutable configuration decision, and issuenew evidence.
## Static-versus-browser boundary
This control can prove only statically visible declarations and resourcereferences. It cannot prove:
- computed style, cascade outcome or visual quality;- frame rate, layout shift, paint time, interaction latency or long tasks;- pointer, keyboard, focus, history, resize or viewport parity;- actual browser caching, compression, decoding or remote response bytes;- JavaScript behaviour not recognisable as a bounded static construct;- whether motion communicates the intended hierarchy or state.
JavaScript analysis is deliberately conservative pattern analysis, not ageneral proof of program behaviour. It covers direct and computed media-playcapability, common motion APIs, inline event handlers, common fetch/import/worker/socket/media constructors, static or recognisably dynamic`src`/`href`/`poster` assignments, resource `setAttribute`, and request`.open()` forms. Obfuscated code or behaviour assembled through otherindirection remains a browser/package-review concern; passing this static gatemust never be used to claim that arbitrary JavaScript has been proved safe.Remote response bytes and runtime effects are never fetched. GIF and APNGautoplay classification is intentionally extension-conservative, and SVGfinding lines are file-level. These residual limitations are repeated asfixed codes in every receipt so they cannot be omitted during replay.
After a passing static receipt, run the source-bound candidate initial gate andthe required sequential browser matrix. Preserve a rejected first result.Material visual changes still require named human pixel review and separatevisual acceptance. Release work still follows WebsiteOperator: reproduciblepackage, offline extraction test, fresh verified Home.pl backup, short-livedexact-package owner approval, explicit upload and complete live read-back.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114# 🚨 EMERGENCY TRADING HALT 🚨
**Date**: January 13, 2026 **Status**: **TRADING SUSPENDED** until cost model fixed
## Evidence of Losses
### Portfolio Performance- **Starting Balance**: $12.88- **Current Balance**: $12.15- **Total Loss**: **-$0.73** (-5.7%) ### Loss Breakdown- Unrealized loss (held positions): -$0.02- **REALIZED LOSS (closed trades)**: **-$0.71**
### Current Holdings- 7 small positions totaling $11.28- All showing minor unrealized losses (-0.1% to -0.6%)- Cash: $0.87
## Root Cause Analysis
### What We Thought- **Expected costs**: 0.51% per two-leg conversion - Leg 1 (ETH→USD): 0.25% fee + 0.01% spread = 0.26% - Leg 2 (USD→USDC): 0.25% fee + 0.01% spread = 0.26% - **Total**: 0.52%
- **Expected edge**: 0.5-1.5% from signal multipliers- **Expected net**: +0.0% to +1.0% profit per trade
### What Actually Happened- **Actual costs**: **0.7-1.0%** or HIGHER - Fees: 0.50% ✅ (correct) - Spread: 0.02% ✅ (correct) - **Slippage**: ~0.1-0.3% ❌ (NOT modeled!) - **Price movement**: ~0.1-0.2% ❌ (scan → execution delay) - **Market impact**: Variable ❌ (small orders still pay wider spreads)
- **Actual edge generated**: 0.5-1.0% (insufficient!)- **Actual net**: **-0.71 USD / 7 trades = -$0.10 per trade** 💸
## The Fatal Flaw
**Our signal multipliers are too weak**:```python# Current (BROKEN):if combined > 0.5: signal_edge = combined * 0.015 # 1.5% maxelif combined > 0.2: signal_edge = combined * 0.012 # 1.2% maxelse: signal_edge = combined * 0.010 # 1.0% max```
**Problems**:1. `combined` score is typically 0.1-0.3 (weak signals)2. 0.2 × 0.012 = 0.0024 = **0.24% edge** (way too low!)3. Real costs are 0.7-1.0%4. **We're losing 0.5-0.7% per trade!**
## Required Fixes (DO NOT TRADE UNTIL COMPLETE)
### Option 1: Accurate Cost Modeling```python# Add slippage + price movement to cost calculationslippage_pct = 0.002 # 0.2% averageprice_movement_pct = 0.001 # 0.1% scan-to-executiontotal_cost_pct = fee_pct + spread_pct + slippage_pct + price_movement_pct# Total: 0.50% + 0.02% + 0.20% + 0.10% = 0.82%```
### Option 2: Much Stronger Signal Edges```python# Need 2-3% gross edges to overcome 0.8% real costsif combined > 0.5: signal_edge = combined * 0.050 # 5.0% for strong signals!elif combined > 0.2: signal_edge = combined * 0.030 # 3.0% for mediumelse: signal_edge = combined * 0.020 # 2.0% minimum```
### Option 3: Only Trade High-Momentum Opportunities```python# Require minimum 2%/min momentum to even consider tradingif abs(momentum_pct) < 2.0: return None # Skip weak opportunities # With 2%/min momentum + 80% capture = 1.6% edge# Plus 0.5% signals = 2.1% gross# Minus 0.8% costs = +1.3% net ✅```
## Emergency Actions Taken
1. ✅ **Documented losses**: $0.71 realized on ~7 trades2. ✅ **Identified cost gap**: Real costs 0.8% vs estimated 0.51%3. ⏳ **Halt trading**: Kill running process4. ⏳ **Fix cost model**: Add slippage + price movement5. ⏳ **Strengthen edges**: Require 2%+ gross before execution6. ⏳ **Backtest fix**: Verify new model prevents losses
## DO NOT RESUME TRADING UNTIL:
- [ ] Cost model includes ALL real costs (slippage, price movement)- [ ] Pre-execution gate requires 1.5%+ net profit after ALL costs- [ ] Backtest shows positive expected value over 100 simulated trades- [ ] Signal edge multipliers raised to 2-5% range- [ ] OR momentum requirement raised to 2%+ minimum
**Current Status**: 🔴 **TRADING HALTED** **Next Step**: Implement accurate cost model + stronger edge requirements12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364# 🔧 REAL ISSUES TO FIX - NO MORE SMOKE
## Current Broken Status (Feb 1, 2026)
### ❌ KRAKEN- **Issue**: `get_balance()` method missing or not loading- **Fix Applied**: Added method to kraken_client.py line 693- **Status**: NEEDS TESTING
### ❌ BINANCE - **Issue 1**: "Unknown exchange: binance" in harvester- **Issue 2**: WebSocket connection refused (port 111)- **Root Cause**: Binance client not properly registered with exchange router- **Fix Needed**: Add Binance to exchange mapping in avalanche harvester
### ❌ WEBSOCKET- **Issue**: `[Errno 111] Connection refused` every 3 seconds- **Root Cause**: Trying to connect to local WebSocket server that doesn't exist- **Fix Needed**: Either start the WebSocket server OR disable WebSocket in config
### ✅ ALPACA- **Status**: WORKING- **Balance**: $0.83 cash, $7.11 total portfolio- **Position**: 1 active (ZBTUSDC)
## What Actually Works1. ✅ Alpaca connection and balance fetching2. ✅ Position monitoring3. ✅ Queen Hive Mind validation system4. ✅ Probability nexus (3-pass validation)5. ✅ Cost basis tracking
## What's Broken (REAL TALK)1. ❌ No actual trades executing (just monitoring)2. ❌ Kraken balance calls failing3. ❌ Binance not connected to trade routing4. ❌ WebSocket spamming error logs5. ❌ No new positions being opened (only $0.83 cash, needs $12.50 minimum)
## Immediate Actions Needed
### 1. Fix Kraken Balance```bash# Test if fix workedpython3 -c "from kraken_client import KrakenClient; k = KrakenClient(); print(k.get_balance())"```
### 2. Fix Binance Registration Edit `aureon_avalanche_harvester.py` or `orca_complete_kill_cycle.py` to add 'binance' to exchange mapping
### 3. Disable WebSocket SpamEither:- Start the WebSocket server, OR- Comment out WebSocket connection code
### 4. Fund Account**CRITICAL**: Need minimum $12.50 in Alpaca to open new positionsCurrent: $0.83 cash (not enough)
## Truth Check- System is MONITORING positions ✅- System is NOT making new trades ❌ - Kraken/Binance connections broken ❌- Only Alpaca partially working ⚠️123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242# Go-live status: terminal HOLD
There is no supported live Aureon instance in the current release. OfficialDocker, Compose, Supervisor, systemd, shell, package, desktop, and cloud routesstop before target import or process start. The cloud manifests define zerocomponents and no secret bindings.
Do not expose listeners, inject credentials, enable trading, create tunnels, oruse direct module execution as a substitute for the missing release boundary.Historical listener and environment guidance is withdrawn.
Go-live requires all of the following. Receipt 1 is measured (stage 7).Receipt 3 is the DigiCert section below. Receipts 2 and 4 are remeasuredbelow and do not clear go-live. Receipt 5 is a stage 10 HOLD skip. None ofthese is inferred into a clear:
- native process containment with a zero-network default (receipt 1, measured; see below);- exact target-source measurement and immutable release provenance (receipt 2, remeasured, HOLD);- durable HNC evidence with an external monotonic head anchor (receipt 3, measured, HOLD);- complete source-boundary census closure (receipt 4, remeasured, the pin tree is not closed, HOLD);- authenticated deployment receipt and provider-side read-back (receipt 5, stage 10 skip, HOLD).
Until receipt 5 is a provider read-back, the correct outcome is `HOLD`, nota partially configured listener. The stage 10 file is a skip. Upload andread-back stay off without an explicit opt-in. The orange release-boundarybadge stays HOLD. `go_live_clear` stays false. This document does not saythe system is alive.
## Receipt 3 — durable HNC evidence
Measured for this receipt only. Go-live is not clear.
The fixed-seed formula path in `aureon.evidence.hnc` is unchanged. Its seriessha256 matches the series recorded at public pin`34864ff0547d2cff03e707414743a3b0cc8770b5` in`evidence/output/hnc_head_anchor.json`. That record is receipt 3. Thisreceipt does not publish a new HNC identity. No market series is fetched.The published require-pin is now`bb04503119681adcf832f3c3e9b0cbf09fc7a938`. Receipt 3's record still names`34864ff0547d2cff03e707414743a3b0cc8770b5`. This pin move does not append alater head.
The measured commitment is covered by one RFC 3161 timestamp from`http://timestamp.digicert.com`. The token bytes are the git note`refs/notes/aureon-hnc-head` on the commit that records them. `make evidence`reads that note, verifies the token locally against the system trust store,and requires these bytes:
- `evidence/output/hnc_head_anchor.id` — the anchor id, SHA-256 of the token- `evidence/output/hnc_head_anchor.json` — the measured record- `evidence/output/hnc_head_anchor.tsr.b64` — the token
A working-tree edit does not move the note or the committed blob. Sequence 1points at the genesis id. The timestamp authority's ordering flag is no, sothe monotonic rule is this chain: a later head must use the next sequence,name this anchor id as `prev_anchor_id`, and carry a verified `gen_time` thatis strictly later. This receipt does not append a later head.
This receipt does not set `external_head_anchor_attested` on the localintrusion ledger. That flag stays false. The system is not reported alive.Live trading stays off. No order is placed.
Still HOLD. Receipt 1 is measured separately. Receipts 2 and 4 areremeasured and do not clear. Receipt 5 is a skip:
- exact target-source measurement and immutable release provenance- complete source-boundary census closure- authenticated deployment receipt and provider-side read-back
## Stage 6 artifacts
Receipt 2 is `measured/go_live_stage6_provenance.json`. Receipt 4 is`measured/go_live_stage6_source_census.json` and`docs/runbooks/GO_LIVE_STAGE6_SOURCE_CENSUS.md`. They measure pin`bb04503119681adcf832f3c3e9b0cbf09fc7a938` and tip`b2b0310362597dc520114de86d8700c0c50758d5`. Pin `bb045031` is the prior maintip. Tip `b2b03103` retargets the published require-pin onto that commit anddoes not change the `aureon/` bytes the digest measures. They do not cleargo-live. `go_live_clear` is false. Receipt 3 is the DigiCert section aboveand is not part of this stage. Receipt 1 is measured at`reports/measured/native_process_containment.json` and is not rewritten here.Receipt 5 is a stage 10 skip and is not part of this stage. The censusdoes not close the pin tree: symbols in that tree are absent from`docs/mcp/inventory.json` and were not added. Thatincludes `aureon/evidence/hnc_anchor.py` and`aureon/evaluation/market_series.py`. `http_get` stays unlisted so evaluationis not moved to plan stage 4. Plan stages 3 and 4 stay closed. Reachablestays the prior sweep's 69. Decision remains `HOLD`.
Operator contract names are not injected by go-live: `AUREON_OPERATOR_ENV`,`AUREON_OPERATOR_API_KEY`, `AUREON_OPERATOR_RATE_RPS`,`AUREON_OPERATOR_RATE_BURST`, `AUREON_OPERATOR_MAX_BODY`,`AUREON_OPERATOR_TRUSTED_PROXY_CIDRS`, `AUREON_OPERATOR_HTTP_PROCESSES`,`AUREON_OPERATOR_REPLICAS`.
## Receipt 1 — native process containment (stage 7)
Receipt 1 is measured. The cold boot is:
```bashpython -m aureon.containment.cold_boot```
That command starts a new process with `unshare` (user, mount, pid, and netnamespaces). The default includes `--net`. Outbound network is not configured.The measured record is `reports/measured/native_process_containment.json`, withthe same facts in `reports/measured/native_process_containment.md`. Read thatrecord for the cold-boot argv, the errno evidence, what remains allowed, andthe gaps. This paragraph is not the measurement.
An explicit allow path is `authorize_network_allow` in`aureon.containment.native`. The cold boot does not call it for the containeddefault. An environment variable cannot select it. A grant omits `--net` andshares the parent network namespace. That path is audited. The receipt'sallow-path probe does not connect; it only compares namespace ids.
The public MCP sweep describes the same zero-network outcome inside oneinterpreter: `mcp/aureon_public/sweep_guard.py` replaces `socket.socket`in-process. That guard is cited, not this measurement. Stage 7 did notchange the guard or the pin. The measured receipt still names`34864ff0547d2cff03e707414743a3b0cc8770b5` and `pin_changed: false`.The published require-pin is now`bb04503119681adcf832f3c3e9b0cbf09fc7a938`. This section does not re-runthe cold boot and does not rewrite`reports/measured/native_process_containment.json`.
What an installer can start, once the other receipts exist, is this containedprocess. Receipt 1 does not switch the official installers on. Docker,Compose, Supervisor, systemd, shell, package, desktop, and cloud routes stillstop at the isolated bootstrap before target import. `scripts/linux/install-linux.sh`still execs that bootstrap. No live instance is claimed.
## Receipt 5 — authenticated deployment (stage 10)
Receipt 5 is not complete. The measured file is a HOLD skip. Nothing waspublished.
The runner is:
```bashpython scripts/validation/go_live_receipt5.pypython scripts/validation/go_live_receipt5.py --check```
`--check` re-reads `reports/measured/go_live_receipt5_deployment.json` and`reports/measured/go_live_receipt5_deployment.md` and probes this machine forlocal auth files. It does not deploy and it does not read a provider back.The JSON is the record. This paragraph is not the measurement.
At tip `9333bfbbeb8de54a4b42be05f9263e536da643a7` the probe found no HuggingFace token and no Google Cloud credential. No deploy was attempted. Noprovider API was called. The read-back digest is null. A localhost processwas not substituted for a provider.
Upload and provider read-back are off by default. A Hugging Face token doesnot turn them on. Both stay off unless Gary's opt-in `AUREON_HF_GARY_YES=1`and `AUREON_RECEIPT5_ALLOW_HF_UPLOAD=1` are set. Privacy and free`cpu-basic` hardware are read before any upload.The runner does not send hardware identifiers or personal data. Before anyupload it reads the Space and refuses the upload when the Space is notprivate, the hardware is not free `cpu-basic`, or the SDK is not `gradio`.`create_repo(..., exist_ok=True)` does not change privacy, hardware, or SDK,so it is not that check, and the runner does not send `space_hardware`.A new Space stays private unless both `AUREON_RECEIPT5_HF_PUBLIC=1` and`AUREON_HF_GARY_YES_PUBLIC=1` are set. Without the public Gary yes, theSpace stays private. That pair does not relax the check on a Space thatalready exists.Cloud Run upload and read-back stay off unless`AUREON_RECEIPT5_ALLOW_CLOUD_RUN_DEPLOY=1`,`AUREON_RECEIPT5_GARY_YES_CLOUD_RUN=1`, and a service, project, region, andimage are already set. The Cloud Run Gary yes is separate from`AUREON_HF_GARY_YES`, so an HF yes does not unlock Cloud Run. The deploycommand sets `--max-instances=1`.
If an opted-in upload finishes and a later read fails, the receipt staysincomplete and keeps a null digest. It records that the provider was calledand the upload happened. Those flags do not stay false after the upload.
The public pin recorded on this receipt is the published require-pin`bb04503119681adcf832f3c3e9b0cbf09fc7a938` (`PINNED_COMMIT` in`mcp/aureon_public/guard_loader.py` at this tip). This receipt does not moveit. `evidence/output/hnc_head_anchor.json` `public_require_pin` stays`34864ff0547d2cff03e707414743a3b0cc8770b5`. That field is receipt 3. Thisreceipt does not rewrite it.
`go_live_clear` stays false. The orange release-boundary badge stays HOLD.A later badge flip is stage 11 and a separate PR. This file does not reportthe system alive. Official installers are unchanged. Receipts 1–4 were notre-run here.
Live trading stays off. No order is placed. No tunnel is opened. MCP planstages 3 and 4 stay closed.
## Receipts 2, 3, 4, and 5 remain HOLD
Receipt 5 does not clear the release. Receipts 2 and 4 were remeasured anddo not supply a provider read-back. Receipt 3 is the DigiCert section aboveand does not clear go-live. These stay open, and this change does notre-judge them:
- exact target-source measurement and immutable release provenance (HOLD)- durable HNC evidence with an external monotonic head anchor (HOLD)- complete source-boundary census closure (HOLD)- authenticated deployment receipt and provider-side read-back (skip only; see receipt 5)
## Stage 8 — exchanges read surface
This slice measures the public exchanges catalog. It does not clear go-live.
`exchanges_gate` and `exchanges_surface` are on `aureon-public`. They read`docs/mcp/inventory.json` for package `exchanges`. They do not import`aureon.exchanges`. They do not place an order. They do not read keys.The decision is HOLD. An environment variable cannot select EXECUTE.Live orders on this surface stay refused when `AUREON_DISABLE_REAL_ORDERS`is unset and when it is set to `0`.
The measured record is `measured/go_live_stage8_exchanges.json`.`docs/runbooks/GO_LIVE_STAGE8_EXCHANGES.md` names the same facts.This slice does not change `PINNED_COMMIT`. The orange release-boundarybadge stays HOLD. This slice does not publish a Space and does not repeatthe protocol or call-sweep records. `OPEN_PLAN_THROUGH` stays 2.`ENABLED_THROUGH` stays 6. Exchanges reachable stays 0.Plan stages 3 and 4 stay closed.
## Public container build
The root `Dockerfile` and `docker-compose.yml` can be built on a local Dockerdaemon and in CI. The image entrypoint is still the isolated bootstrap for`docker-runtime`. It returns HOLD before target import. The compose fileinjects no environment and publishes no port. CI builds that image and doesnot publish it. A public GHCR push is not authorized here: it needs Gary'sown yes and a token, and this change has neither. The build is not productionready and is not a validation. It is not receipt 5. Receipt 5 stays absent.`go_live_clear` stays false. `scripts/linux/install-linux.sh` is unchanged.The orange release-boundary badge stays HOLD. See`docs/deployment/PUBLIC_CONTAINER.md`.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273# Receipt 3 follow-on — next monotonic head
Measured. Sequence 2 only. Go-live is not clear. `go_live_clear` stays false.This note is not in `docs/runbooks/GO_LIVE_HARDENING.md`. That file matchesmain. This note does not publish anything and does not report the system alive.
On tip `bb04503119681adcf832f3c3e9b0cbf09fc7a938`, `git notes --refaureon-hnc-head show HEAD` had no note. The origin notes ref annotates`7d26871ff007ec6c84be657297827fc813fe7428`, which is not an object in thishistory. The note bytes match the committed sequence 1 token. This follow-ondoes not rewrite that tip and does not request a replacement for the sequence1 timestamp.
Sequence 2 uses the next sequence, `prev_anchor_id``548596463d7b4dddeeba274562b212960f879baf475ee135c7d2fd3468f58e11`, and aDigiCert `gen_time` of `2026-11-05T20:44:49Z`. Sequence 1 is`2026-11-05T19:40:18Z`. The later time was taken from `openssl ts -verify`against the system trust store. The authority's ordering flag is no.
The formula series sha256 is unchanged. This follow-on does not publish anew HNC identity. The timestamp records historical public pin`34864ff0547d2cff03e707414743a3b0cc8770b5`. The published require-pin is`bb04503119681adcf832f3c3e9b0cbf09fc7a938`. This follow-on does not move it.No market series is fetched.
`make evidence` reads sequence 2 from `refs/notes/aureon-hnc-head-next` onthe commit that recorded `evidence/output/hnc_head_next.json`, and sequence1 from `refs/notes/aureon-hnc-head` on the commit that recorded`evidence/output/hnc_head_anchor.json`. Each evidence record names its own`note_ref`. The check does not read either note from HEAD. A missing noteor different bytes on that recording commit fails the check. It requiresthese bytes:
- `evidence/output/hnc_head_next.id` — SHA-256 of the sequence 2 token- `evidence/output/hnc_head_next.json` — the measured record- `evidence/output/hnc_head_next.tsr.b64` — the token
Fetch the note with `git fetch originrefs/notes/aureon-hnc-head-next:refs/notes/aureon-hnc-head-next`. The checkdoes not contact the timestamp authority. A working-tree edit does not movethe note. The notes are attached to the commit that records these files:`refs/notes/aureon-hnc-head` is the sequence 1 token, and`refs/notes/aureon-hnc-head-next` is the sequence 2 token. In this historyboth records were last recorded on `9b666838`, and both notes are on thatcommit. A note that exists only on a later HEAD is not used. The sequence 1file in the tree is unchanged. A squash merge leaves both notes on thepre-squash commit. Re-attach the same token bytes to the squash commit. Donot request another timestamp to do that.
A shallow clone fails closed, so CI needs the full history (`fetch-depth: 0`) and the notes fetch (`refs/notes/aureon-hnc-head` and `refs/notes/aureon-hnc-head-next`).
Editing `hnc_head_anchor.json` or `hnc_head_next.json` moves the recording commit, so the check fails until the notes are re-attached at the new commit.
`external_head_anchor_attested` stays false. The system is not reportedalive. Live trading stays off. No order is placed. This follow-on is notreceipt 5 and does not produce an authenticated deployment receipt. Thego-live line for durable HNC evidence stays HOLD because the intrusion ledgeris not attested by this timestamp chain.
## Historical stage-0 pin
The frozen pack `reports/measured/baseline/` records published pin`34864ff0547d2cff03e707414743a3b0cc8770b5` at checkout`c68a89d2a184d99582bb24310b91e024323a212c`. That pin is historical. Thepublished require-pin is now `bb04503119681adcf832f3c3e9b0cbf09fc7a938`.The pack says not to edit that directory, so this note is not written there.The stage 7 receipt still names `34864ff0547d2cff03e707414743a3b0cc8770b5`.That receipt is not rewritten.
The stage 6 census tip stays `b2b0310362597dc520114de86d8700c0c50758d5`.The unlisted-symbol count in that census is a scan of a later checkout.The census decision stays HOLD. `source_boundary_closed` stays false.`go_live_clear` stays false.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124# Remeasure go-live receipts 1–4
Go-live stays **HOLD**. `go_live_clear` stays false. This command does notmove the published pin `bb04503119681adcf832f3c3e9b0cbf09fc7a938`, does notedit `docs/runbooks/GO_LIVE_HARDENING.md`, and does not edit`reports/measured/baseline/`. It does not request a new RFC 3161 timestampand it does not push `refs/notes/aureon-hnc-head`.
The release head is not frozen. A trial run rewrites local receipt files.Those files are not a release measurement until the head is frozen and therun is committed on purpose.
`docs/runbooks/GO_LIVE_HARDENING.md` is the HOLD boundary. This file is onlythe remeasure procedure.
## Command
```bashmake remeasure-go-live-receipts```
```bashPYTHONPATH=. python3 scripts/validation/remeasure_go_live_receipts.py```
The worktree must be clean. `git status --porcelain` with any line, includingan untracked file, exits 2 and runs no measurement.
The summary records `HEAD`, the `PINNED_COMMIT` value read from`mcp/aureon_public/guard_loader.py`, and the python, git, unshare, andopenssl versions. It then prints one row per receipt.
## What each receipt runs
| Receipt | Entry | File || --- | --- | --- || 1 containment | `python -m aureon.containment.cold_boot` | `reports/measured/native_process_containment.json` || 2 release provenance | `scripts/validation/go_live_stage6.py` | `measured/go_live_stage6_provenance.json` || 3 HNC head anchor | `refs/notes/aureon-hnc-head` and `refs/notes/aureon-hnc-head-next` on the recording commit named by the evidence records | committed `evidence/output/hnc_head_anchor.tsr.b64` and `evidence/output/hnc_head_next.tsr.b64` || 4 census and call sweep | stage 6 census and `measured/aureon_public_call_sweep.sh` | `measured/go_live_stage6_source_census.json` and `measured/aureon_public_call_sweep.json` |
Receipt 1's committed record was measured at `c68a89d2` with a dirty worktreeand pin `34864ff0`. Receipts 2 and 4 still cite tip `b2b03103`. That commitis on the old #253 branch. It is not an ancestor of main. Before writing,the runner checks that the tip is an ancestor of the frozen head. Therefusal says the tip is not an ancestor of the frozen head (not on main).The tip field is not rewritten. When no tip value could be read, the rowsays `none read`.
Containment is measured into a folder outside the committed paths. Thecommitted `reports/measured/native_process_containment.json` and `.md` arereplaced only when that measurement's verdict is `pass` and the worktreewas clean. A `fail` or a dirty-tree result leaves those files byte-identical.
The call sweep writes outside the checkout. If receipt 4 is refused, thatstaged file is discarded and `measured/aureon_public_call_sweep.json` staysbyte-identical.
## Receipt 3
The runner looks for the commit that recorded `hnc_head_next.*` togetherwith the HNC anchor files. When that commit is an ancestor of HEAD and thenotes `refs/notes/aureon-hnc-head` and `refs/notes/aureon-hnc-head-next` onthat commit match the committed token files byte for byte, the verdict is`anchored` and the detail is `anchored on <short sha>`. Those notes are on`9b666838` in this history. `python -m aureon.evidence --check` reads eachnote from the commit that recorded its own evidence record(`evidence/output/hnc_head_anchor.json` for sequence 1,`evidence/output/hnc_head_next.json` for sequence 2), using the `note_ref`named in that record. It does not read the note from HEAD and does not fallback to HEAD when the note is missing or the bytes differ. A re-attach isoffered only when no such commit exists.
A shallow clone fails closed, so CI needs the full history (`fetch-depth: 0`) and the notes fetch (`refs/notes/aureon-hnc-head` and `refs/notes/aureon-hnc-head-next`).
Editing `hnc_head_anchor.json` or `hnc_head_next.json` moves the recording commit, so the check fails until the notes are re-attached at the new commit.
The offered commands do not use `-f` and do not request a new timestamp:
```bashgit notes --ref=aureon-hnc-head add -F evidence/output/hnc_head_anchor.tsr.b64 HEADgit notes --ref=aureon-hnc-head-next add -F evidence/output/hnc_head_next.tsr.b64 HEAD```
`--attach-note` runs those commands only for a ref that has no note. If adifferent note is already there, the runner stops with a plain message andleaves that note alone. Do not push either notes ref.
## Exit
Exit 0 means the receipts were measured: every row is `pass`, `anchored`,or `attached`. It does not mean go-live is clear. `go_live_clear` stays false.
Exit 3 is a HOLD-type verdict: `stale`, `hold`, `absent`, or `skip`. Thismatches `publish`. Exit 1 is `fail` or `refused`. Exit 2 means the worktreewas dirty and nothing was measured.
## HOLD note — published-pin move to 0646146c (box/65-of-65, 2026-11-10)
The published require-pin was moved from `bb04503119681adcf832f3c3e9b0cbf09fc7a938`to `0646146c53e59dbcab41363a613d5651c9c9d50f` on the box/65-of-65 line so thepinned finder accepts the tree the trader and repair loop actually run. This isa require-pin retarget only. It is not a badge flip, a release, or a publish.`go_live_clear` stays false and the orange HOLD badge is unchanged.
Receipt 1 (containment) was remeasured on this line and passes; its committedrecord stays frozen at its measurement-time head `c68a89d2`.
Receipts 2, 3, 4, and 5 stay HOLD and are **not** moved to the new pin on thisline:
- Receipts 2 and 4 (release provenance, source census / call sweep) are frozen to the main head `b2b0310362597dc520114de86d8700c0c50758d5`. The go_live_stage6 measure refuses any tip that is not an ancestor of that frozen head, and box/65-of-65 (`0646146c`) is on a divergent line, so these cannot be remeasured here. They will catch up when the move lands on main.- Receipt 3 (HNC head anchor, DigiCert sequence 2) needs the timestamp notes re-attached, which requires the external DigiCert timestamp service. Left HOLD.- Receipt 5 (deployment) stays bound to its prior measurement head.
No receipt values were fabricated. The three receipt tests tied to the above(stage6 receipt 2/4 provenance, the receipt 5 schema-pin check, and the HNC-headsequence-2 check) are left red and honest until the main-line move and DigiCertre-attach complete.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126# Stage 11 installer gate
The orange release-boundary badge stays HOLD. `go_live_clear` is not stored asa true flag in this checkout. The system is not claimed alive. This stage's pin is not moved. No order is placed.
`scripts/bootstrap/go_live_stage11_gate.py` is the check. It imports only thePython standard library. It does not import Aureon on the HOLD path. Run itwith `python -I -S -B`. `--check` prints nothing and exits 0 only when thecomputed flag is true. `--json` prints the evaluation. `--launch-contained`re-evaluates and, only when that evaluation is clear, replaces the processwith `python -m aureon.containment.cold_boot`. That command is the containedprocess from receipt 1. It is not a trading launcher.
An environment variable cannot set the flag. `measured/go_live_clear.json` isnot read as authority. If that file exists, the gate reports it and does nothonor it. A receipt whose own `go_live_clear` field is true does not clearthe gate by itself.
## Who calls the gate
These three routes ask the gate, then keep the isolated bootstrap when thegate is not clear. The bootstrap exec remains the last step. They do notimport a target while the decision is HOLD.
- `scripts/linux/install-linux.sh` — target `linux-supervisor`- `deploy/start_master_launcher.sh` — target `master-launcher`- `production/aureon.py` — target `production-supervisor`
`deploy/start_master_launcher.sh` looks for the gate at`/app/scripts/bootstrap/go_live_stage11_gate.py`. The container image stillcopies only the isolated bootstrap, so a stock image skips the gate and stayson terminal HOLD. Docker, Compose, Supervisor, systemd, and the other shellroutes that exec the isolated bootstrap directly are unchanged.
`production/install.sh` and `scripts/launch/aureon-master.sh` are the localcanonical boot. They are not this release-boundary path. This stage does notswitch them on or off and does not treat them as go-live.
## Exact checklist
`verified_on_tip` requires the recorded tip to be the current `git rev-parse HEAD`(40 or 64 hex characters), or the only paths that differ between that tip andHEAD to be the receipt and measured files in `TIP_DELTA_ALLOWLIST` inside`scripts/bootstrap/go_live_stage11_gate.py`. A code file, a runbook, or anyother path fails the receipt. A diff that cannot be read fails closed. Thepublic pin is read from `PINNED_COMMIT` in `mcp/aureon_public/guard_loader.py`.The gate does not hard-code a second pin and does not write that file.`system_alive: true`, `live_trading: true`, or `orders_placed: true` fails thatreceipt. The gate's own `system_alive`, `live_trading`, and `orders_placed`fields stay false.
`go_live_clear` is true only when receipts 1, 2, 3, 4, and 5 are all`verified_on_tip`. The README badge is not edited by the gate. When thecomputed flag is true and the README still says HOLD, `badge_edit_required`is true and a later change may update the badge. This checkout does not.
1. **native process containment with a zero-network default.** Path `reports/measured/native_process_containment.json`. Schema `aureon.measured.native-process-containment.v1`. Receipt number 1. `git_head_at_measurement` matches HEAD by the tip rule above. `worktree_dirty_at_measurement` is false. `verdict` is `pass`. `allowed_at_default` is `none`. `cold_boot_argv` contains `--net` and `cold_boot_argv_has_net` is true. `market_data_fetched` and `pin_changed` are not true. `tags.system_alive` is `not claimed`. Every `source_sha256` entry matches the current file.
2. **exact target-source measurement and immutable release provenance.** Path `measured/go_live_stage6_provenance.json`. Schema `aureon.go-live.release-provenance.v1`. Receipt number 2. `tip` matches HEAD by the tip rule above. `aureon_trees_match` and `inventory_blobs_match` are true. `release_tree_sha256` is 64 hex characters. `digest` is the SHA-256 of the canonical JSON object with the `digest` key removed, including the trailing newline used by `scripts/validation/go_live_stage6.py`.
3. **durable HNC evidence with an external monotonic head anchor.** Path `evidence/output/hnc_head_anchor.json`. Schema `aureon.evidence.hnc-head-anchor.v1`. Receipt number 3. `tag` is `measured`. `hnc_identity_changed` is false. `external.kind` is `rfc3161` and `external.provider_contacted_by_check` is false. The gate does not contact the timestamp authority. `anchor_id` equals the SHA-256 of the decoded token in `evidence/output/hnc_head_anchor.tsr.b64` and `evidence/output/hnc_head_anchor.id`. The notes are accepted on the commit that recorded `hnc_head_next.*` and the HNC anchor files, when that commit is an ancestor of HEAD and each note's bytes equal the token file committed there. `refs/notes/aureon-hnc-head` matches `evidence/output/hnc_head_anchor.tsr.b64`. `refs/notes/aureon-hnc-head-next` matches `evidence/output/hnc_head_next.tsr.b64`. The gate does not fetch notes and does not request a new timestamp. If no such commit carries the notes, the receipt fails with: the same token bytes must be re-attached on the frozen release head, with no new timestamp request.
4. **complete source-boundary census closure.** Path `measured/go_live_stage6_source_census.json`. Schema `aureon.go-live.source-boundary-census.v1`. Receipt number 4. `tip` matches HEAD by the tip rule above. `source_boundary_closed` is true. `missing_from_source` is an empty list. `open_gaps` does not include `post_pin_checkout_not_in_closure`. `provenance_digest` matches receipt 2 when receipt 2's digest verifies.
5. **authenticated deployment receipt and provider-side read-back.** Path `reports/measured/go_live_receipt5_deployment.json`. Schema `aureon.go-live.deployment-receipt.v1`. Receipt number 5. This is the file `scripts/validation/go_live_receipt5.py` writes. `git_head_at_measurement` matches HEAD by the tip rule above. `receipt_5_complete` is true. `provider_readback_digest` is 64 hex characters and is not null. `system_alive` is not true. The isolated bootstrap's local HOLD receipt is not this receipt. This stage does not create or rewrite the file.
## This checkout
Rebased onto main tip `47e71d7988ad4cae91fb9b9e59491c406be55e45`. The publishedrequire-pin remains `bb04503119681adcf832f3c3e9b0cbf09fc7a938`, read from`mcp/aureon_public/guard_loader.py`. This stage does not move it.`docs/runbooks/GO_LIVE_HARDENING.md` stays byte-identical to that main tip.Receipts 1 and 3 still name `34864ff0547d2cff03e707414743a3b0cc8770b5`, sothey need remeasurement against the published pin. Receipts 2 and 4 keep tip`b2b0310362597dc520114de86d8700c0c50758d5`. That tip is a pre-squash commitfrom the #253 branch, not on main. A clone of main fails closed on it. Thosetip fields are not rewritten. The fix is a remeasure at a real commit.
Receipt 1's measurement head is `c68a89d2a184d99582bb24310b91e024323a212c`and the worktree was dirty at measurement. Receipt 4 has`source_boundary_closed` false. Receipt 3's git note is not on this history(the published note is on `7d26871ff007ec6c84be657297827fc813fe7428`).Receipt 5 is present and is a stage 10 HOLD skip: `receipt_5_complete` isfalse and `provider_readback_digest` is null. `go_live_clear` is false. Thebadge stays HOLD.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960# Stage 6 source-boundary census
Receipt 4 of the go-live list. Decision: `HOLD`. This is not a go-live clear.
Provenance digest: `cea8089cd4be4c39f80123f5f0f9ee806fefb76e528194c42602bbca7ae20289`Path: `measured/go_live_stage6_provenance.json`
## Lineage
Pin `bb04503119681adcf832f3c3e9b0cbf09fc7a938` aureon tree `a5114a7e5ecb4e9a51df57d58355e72882cf0a3c`.Tip `b2b0310362597dc520114de86d8700c0c50758d5` aureon tree `a5114a7e5ecb4e9a51df57d58355e72882cf0a3c`.Those aureon trees match: `true`.The recorded tip b2b03103 is a pre-squash commit from the #253 branch and is not on main; it can be checked by fetching that branch.Release-tree content sha256: `19bfb60dc368532b0b2178921a4247f55b2f1be9f8ee52dbcc66196bf6aff3ec`.Files: 1442. Bytes: 46172063.Pin-move paths: 31.Pin-move touches aureon: `false`.Pin-move touches inventory.json: `false`.
The pin-move commit updates published pin strings and the tests that name them. It does not change the aureon bytes this digest measures.
## Closure
Scan symbols: 20185. Inventory symbols: 20121.Unlisted in the inventory: 64.Inventory rows missing from source: 0.Field drift on shared keys: 0.Source boundary closed: `false`.Symbols added since the inventory blob at the pin: 0.Removed since that blob: 0.
A public entry point is a public function or method. A module or class is listed and is not an entry point. `reachable_count` in the census file is null. This stage does not invent one.
### Public entry points added since the pin inventory
| Module | Symbol | Plan stage | Refusal || --- | --- | ---: | --- |
### Other symbols added since the pin inventory
| Module | Symbol | Kind | Server | Full-body stage || --- | --- | --- | --- | ---: |
## Open gaps
- `sweep_not_repeated`. The call sweep was not repeated at pin bb04503119681adcf832f3c3e9b0cbf09fc7a938. measured/aureon_public_call_sweep.json still names pin ad9be6c3179bba140fb7e88d5733616046110da9 and aureon tree 2b89d73db122486e2537047baa9b342f3a0249be. Reachable and tested figures in COVERAGE_PLAN.md are that record plus public_entry_refusal. This stage does not publish a new reachable count.- `brain_proof_blob`. `aureon/evaluation/brain_proof.py` blob at the measured aureon tree is `7c9d20e1e580130e363674894a9c77eef8776e44` and at pin `bb04503119681adcf832f3c3e9b0cbf09fc7a938` is `b24087c3e395a8402fd9a92f03632316ff703525`. Public function source text added: none. Removed: none. Changed: ['evaluate_brain', 'render_brain_markdown']. `render_brain_markdown` is one of those public functions. This stage did not call it and did not call `evaluate_brain`.- `plan_stages_3_and_4_closed`. OPEN_PLAN_THROUGH stays 2. The read gate opens two entry points: miner MinerAIInsight.to_dict and queen compute_zpe_ground. Exchange body_call stays refused. Full-body ENABLED_THROUGH is 6. That full-body number is not the read gate. 0 public entry points added since the pin inventory are refused. evidence is plan stage 4 because render_results matches the scanner key pattern. Harmonic stays plan stage 4. Exchanges stay plan stage 4. Exchange rows stay operator. The matched token in `render_results` is `dotenv`, from the letters inside `python-dotenv`.- `changed_blobs_not_recalled`. These existing files differ in git blob between the measured aureon tree and the pin. The census compares symbol names and scanner fields. It does not re-call them: `aureon/core/aureon_env.py`, `aureon/evaluation/auris_node_eval.py`, `aureon/evaluation/brain_proof.py`, `aureon/evaluation/measured_proof.py`, `aureon/evaluation/qgita_snr_benchmark.py`, `aureon/harmonic/aureon_harmonic_reality.py`, `aureon/saas/domains.py`, `aureon/utils/aureon_queen_hive_mind.py`.- `receipt_5_absent`. Receipt 1 is measured at reports/measured/native_process_containment.json. This stage does not rewrite that record. Receipts 2 and 4 are this remeasurement. Receipt 3 is the DigiCert head anchor in docs/runbooks/GO_LIVE_HARDENING.md. This stage does not append a later head, does not set external_head_anchor_attested, and does not report the system alive. Receipt 5, an authenticated deployment receipt and provider-side read-back, is absent. Decision remains HOLD. go_live_clear is false.- `pin_inventory_predates_closure`. Inventory sha256 at pin bb04503119681adcf832f3c3e9b0cbf09fc7a938 is be5e14d73ae1130a16d04d355478a1474bf1f1b2c405c9d2196444eca8a391dc. The closure inventory sha256 is 66e9e1ba8da5e11b032c0c27656b7847e88734cf3b030f838af2fd7aa1867bfd. Tip b2b0310362597dc520114de86d8700c0c50758d5 did not change the inventory blob. No inventory rows were added since the pin inventory. The pin aureon tree matches the tip aureon tree.- `pin_tree_symbols_outside_inventory`. 64 symbols are in the pin aureon tree and are not in docs/mcp/inventory.json. They were not added. The symbol count is a scan of this checkout, which is later than tip b2b0310362597dc520114de86d8700c0c50758d5. The tip field stays that commit and is not a claim that these counts were measured there. `evaluation/market_series.py` `http_get` is a live public fetch. Listing that row would move the evaluation package from plan stage 2 to plan stage 4 and would change the reachable count. Reachable stays the prior sweep's 69. Plan stages 3 and 4 stay closed. The unlisted paths are `aureon/containment/__init__.py`, `aureon/containment/__main__.py`, `aureon/containment/_child_probe.py`, `aureon/containment/_child_wrapper.py`, `aureon/containment/cold_boot.py`, `aureon/containment/native.py`, `aureon/evaluation/market_series.py`, `aureon/evaluation/qgita_series_rates.py`, `aureon/evidence/hnc_anchor.py`.
## Reproduce
```bashenv -u PYTHONPATH PYTHONPATH=mcp python3.12 scripts/validation/go_live_stage6.py --check```
The check reads git objects for the pin and the tip, scans the checkout files that exist at the pin, and compares these files. Paths added after the pin stay out of the inventory. It does not import a trading package and it does not start a listener.1234567891011121314151617181920# Stage 8 exchanges read surface
Decision: **HOLD**. Live orders: **refused**. Read-gated: yes.Go-live is not clear. This page does not publish a Space.
Pin: `bb04503119681adcf832f3c3e9b0cbf09fc7a938`. Pin moved: no. Badge: unchanged.This receipt was measured before the squash/rebase at `55ab3579e4a1e59b442e46800c5486a270fc5b0c`. That commit is not an ancestor of main. The same work is carried on main by `30d8101b486f6f48b9219a337e2b77808e5038e1` (#263). This page does not remeasure the sweep.Rows: 647. Called: 0. Reachable: 0.Imports performed: 0. Key leak: false.Sockets: 0. Processes: 0. Writes: 0.Entries sha256: `e24be5f6199f39a6ecee510827b5fc155685b37c45ef474b773d44b773b19226`.
`OPEN_PLAN_THROUGH` is 2. `ENABLED_THROUGH` is 6. Plan stages 3 and 4 stay closed.The protocol session and the call sweep were not repeated.
Reproduce:
```bashenv PYTHONPATH=mcp python3 scripts/validation/go_live_stage8_exchanges.py --check```123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282# Harmonic Observer — Production Runbook
This runbook is the operator's reference for deploying theHarmonicObserver + Vote 7 + narrow-band + Kelly-buffer wiring intolive trading. Read it before flipping any switch.
---
## 1. The honest picture
The observer integration was built across Stages A → AA. Every stagewas smoke-tested individually; **none of them have ever influenced areal exchange order**. The decision to flip from `dry_run` to `live`is the first time real money will flow through:
- `queen_gated_buy` Vote 7 (BEARISH consensus → veto bad entry)- `execute_sell_with_logging` Vote 7 (BULLISH consensus → veto premature TP)- multi-brain narrow-band threshold (+1 vote required when coherence < 0.4)- Kelly buffer auto-widening (up to 1.5× safety margin in chaotic fields)- Brain 6 (per-symbol observer) and Brain 7 (bus consensus) +1 votes
The discovery that **Vote 7 was dead code from commit `f5132d9`through `98ecf94`** (a missing `get_hub` import alias swallowed anImportError silently) is exactly the kind of latent bug we're guardingagainst by shipping with `dry_run` default. Stage AB exists so thenext "Vote 7 was dead" situation can be caught from the audit logwithout a single trade going wrong.
---
## 2. The three modes
Controlled by the env var `AUREON_OBSERVER_MODE`. Default = `dry_run`.
### `dry_run` (default — safest)
- Observer + bus consensus + wave predictor all RUN.- Their outputs are recorded in `state/observer_audit.jsonl`.- **Decisions are bit-identical to pre-observer trading**: - Vote 7 buy/sell vetos → recorded only, NOT applied - Narrow-band threshold tightening → recorded only, NOT applied - Brain 6/7 +1 votes → recorded only, NOT applied - Kelly buffer multiplier → stays at 1.0- This is the ONLY mode safe for first deploy. Run it for a verification window (≥ 1 week, more if low-volume) and review the audit log before going further.
### `shadow`
- Same decision behaviour as `dry_run` (no veto, no scaling).- Audit log entries tagged `mode: shadow` so post-trade analysis can separate "shadow recommendations vs actual trades" cleanly.- Use this once `dry_run` has validated: the observer is producing sensible recommendations and the operator wants to start formally comparing them against trade outcomes.
### `live`
- Full Stages L/T/V/Y behaviour.- Vote 7 vetos buys / TP sells when consensus is strongly opposed.- Narrow-band raises the multi-brain threshold by +1 in chaotic fields.- Kelly buffer widens up to 1.5× as coherence drops.- Brain 6/7 +1 votes contribute to multi-brain confirmations.- Only flip to this after `dry_run` and `shadow` have been clean.
---
## 3. How to deploy
### First deploy (with the wiring inactive)
```bash# In the production env file (.env / systemd unit / supervisord conf):export AUREON_OBSERVER_MODE=dry_run
# Restart the daemonsupervisorctl restart aureon```
Confirm in logs:```HarmonicObserver mode resolved: dry_run```
The system now runs identically to pre-observer behaviour. The auditlog fills up. Watch for:- File grows (`tail -f state/observer_audit.jsonl`)- Rows include `would_have_blocked` (true/false) and `actually_blocked: false` (because mode != live)- No regressions in trade volume, P&L, or error rates
### Promote to shadow
After the dry_run verification window:
```bashexport AUREON_OBSERVER_MODE=shadowsupervisorctl restart aureon```
Behaviour is identical to `dry_run` but audit rows now show`mode: shadow`. Run analysis: how often `would_have_blocked: true` forbuys that DID happen and DID profit (false positive — observer wouldhave missed wins) vs DIDN'T profit (true positive — observer wouldhave saved a loss).
### Promote to live
After shadow has shown net-positive divergence:
```bashexport AUREON_OBSERVER_MODE=livesupervisorctl restart aureon```
The observer now influences decisions. Watch the first hour closely.
---
## 4. Rollback
A single env var change + restart:
```bashexport AUREON_OBSERVER_MODE=dry_runsupervisorctl restart aureon```
Or kill the observer entirely (no audit, no veto, no scaling, fullpre-observer behaviour everywhere):
```bash# In the daemon launcherHNCLiveDaemon(attach_observer=False)```
Or disable specific components via the older Stage C env var:
```bash# Disables only the Kelly gate scaling, observer still runsexport AUREON_KELLY_OBSERVE_COHERENCE=0```
Everything is additive and can be turned off without re-deploying code.
---
## 5. Monitoring
### Audit log inspection
```bash# Tail latest decisionstail -f state/observer_audit.jsonl
# Count divergences (would have blocked, didn't)jq -c 'select(.would_have_blocked == true and .actually_blocked == false)' \ state/observer_audit.jsonl | wc -l
# Per-event-type countsjq -r '.event' state/observer_audit.jsonl | sort | uniq -c
# Buy decisions where consensus was BEARISHjq -c 'select(.event == "buy_vote7" and .payload.consensus_direction == "BEARISH")' \ state/observer_audit.jsonl | head```
### Live status
```bashpython -m aureon.status # current snapshotpython -m aureon.observer.run --duration 60 # spot-run```
### Daemon health
```bashpython -m aureon.observer.benchmark --duration 60 --tag prod-health```
---
## 6. Known fragility points
1. **The 9 hub-side predictors return None when their data feeds aren't pulling.** In a sandbox `bus.run_predictions` returns 2 (observer + wave_predictor). In production with the news service / macro feed / whale tracker running, all 11 contribute. Watch the `predictor_breakdown` field in the audit log to confirm density.
2. **Vote 7 BEARISH veto threshold (`conf ≥ 0.6, str ≤ −0.3`) was chosen by judgement, not data fit.** Tighten it via code change if `would_have_blocked: true` correlates with profitable trades in the dry_run audit.
3. **Kelly `MAX_BUFFER_INFLATION = 0.5`** is a heuristic. The 50%- wider safety margin in coherence=0 fields is conservative; loosen if dry_run shows it's blocking too many marginal-but-profitable trades.
4. **WavePredictor weight = 1.0 in `get_consensus`'s `weight_map`**. Lower this in `aureon_autonomy_hub.py` line 395 if the wave predictor's untracked status is producing too much consensus pull relative to validated predictors (nexus_predictor at 3.0, probability_ultimate at 2.5).
5. **HNC parameters are still defaults** (α=0.35, g=2.5, β=1.0, τ=10). Run `python -m aureon.observer.fitter` after collecting ≥ 1 day of trace data to write `state/hnc_fitted_params.json`. Daemon picks up the fitted values on next start.
---
## 7. Wiring index (where each gate lives)
| Stage | Gate | File | Mode flag ||---|---|---|---|| L | Observer narrow-band threshold | `aureon/bots/orca_complete_kill_cycle.py` `queen_gated_buy` | `narrow_band_threshold_active()` || T | Buy-side Vote 7 (consensus veto + +1 vote) | `aureon/bots/orca_complete_kill_cycle.py` `queen_gated_buy` | `gate_buy_veto_active()` / `vote_addition_active()` || V | Sell-side Vote 7 (premature TP veto) | `aureon/bots/orca_complete_kill_cycle.py` `execute_sell_with_logging` | `gate_sell_veto_active()` || Y | Kelly buffer auto-scaling | `aureon/utils/adaptive_prime_profit_gate.py` `_resolve_auto_observer_coherence` | `kelly_buffer_scaling_active()` |
All four switches share `AUREON_OBSERVER_MODE`. Per-component opt-outenv vars exist for fine-grained rollback (see §4).
---
## 8. Promotion criteria
A dry_run window is "clean" if all of these hold:
- ✅ No new exceptions in daemon logs related to `aureon.observer.*`- ✅ Audit log writing without errors (`tail -f` shows steady growth)- ✅ At least 100 rows accumulated for each `event` type (`narrow_band_evaluation`, `buy_vote7`, `sell_vote7`, `kelly_buffer_evaluation`)- ✅ `would_have_blocked / actually_blocked` divergence count is non-zero (proves the gates are firing in their RECORDED capacity)- ✅ Sample-by-sample inspection of 10 random "would have blocked" trades shows the recommendation is sensible (BEARISH consensus during bad news, BULLISH during good)- ✅ Pre-observer P&L over the window matches what you'd expect from the strategy without the observer
A shadow window adds one more:
- ✅ The would-have-blocked-but-didn't trades show a net loss in hindsight (observer veto would have been right)
After both windows pass, `live` is justified.
---
## 9. Stage map for further hardening
If the system runs cleanly for a month in `live`:
- Run the fitter weekly to update HNC parameters from accumulated trace data- Tighten Vote 7 thresholds based on audit-log statistics- Add the news-tone correlations from the parallel research thread (n=30+ once the dataset has grown)- Add a daily P&L attribution: how much of today's P&L was the observer's contribution (vetoed losses, taken-up wins) vs the baseline strategy
---
## 10. Emergency contact
If the observer integration causes anomalous trade behaviour and youcan't tell why:
1. `export AUREON_OBSERVER_MODE=dry_run` then restart — instant rollback to baseline behaviour.2. Capture the last 10k lines of `state/observer_audit.jsonl` for post-mortem.3. Capture `state/lambda_history.json` for kernel-state context.4. Capture the daemon logs around the anomaly window.
The integration is fully additive — every observer-driven decisioncan be turned off without losing the recordings.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209# Investor-copy governance application
This control applies one exact governance-only correction for`DESIGN-COPY-001`. It never edits `website/` or the investor-copy policy andgrants no candidate, package, release, credential, network, or deploymentauthority.
## Accepted immutable V5 pair
Only this final pair is accepted:
- Proposal: `artifacts/website-operator/20260730T094627Z-investor-copy-governance-application-proposal-v5.json` - `CDCC9AB0C38338EB57EDF416ECF9CE52ED3B448C32259EF7190AE0CEAF796897`- Validation: `artifacts/website-operator/20260730T094627Z-investor-copy-governance-application-proposal-validation-v5.json` - `A8BB51803E8A4F476A0C35C09C427D5AC6D0C7C42E147730213F6E9D4343340A`
All four earlier pairs remain immutable evidence but are rejected and notapplicable:
| Generation | Proposal / validation | Reason for rejection || --- | --- | --- || V1 | `F9061D2C2E21C4BF201D2108B931346D19945D2658C78C65ACDE5DB16B3CE072` / `D1FF5A70C0DBC8D59939705539C10395155D12F6AA310D94BCA334886326B6E7` | `incomplete-source-and-feedback-bindings` || V2 | `5111F351D1EAEEAD2E57E4DA372300F5614674920AACD406EE2CA27873A70DCF` / `BDFC1687BB2729ADD52FE9FA52B5531A0197B08A8D04A575EE654D7984EB6D79` | `incomplete-three-file-authority-and-supersession-language` || V3 | `73C53FD9E0087BA371876FFDAB02CF47E980A9472A6F4D656B4761C5E7F317BD` / `538CD6ED13688039C69DDF2A675165E99268B258A86F6029DB48482A7B1E7613` | `ambiguous-claim-route-scope` || V4 | `EB1F8FDAEB6CF5F314502FAAC2ECC46A5AB7D21BE5CB21D1E111FB9873E81448` / `D3F2E10DAC7D2E7182DD2D362B2035A6A4FF7E120194978BC4A64D866438FE5F` | `multi-sentence-permitted-wording-not-renderable-as-one-hash-bound-surface` |
The module rereads all eight earlier artifact hashes and requires these exactsupersession reasons. A decision bound to V1, V2, V3, or V4 is rejected.
## Exact three-file delta
| Path | Before SHA-256 | Proposed SHA-256 || --- | --- | --- || `data/website_operator/public_claim_evidence_register.v1.json` | `78032392BD3ECED2C5C9B294415AD6D2C6380FF903F7E43844C191AFD99C99A7` | `3D24208BB40CCFFC42B9EC70FA46C9226B8FD1B8363A767FC6D5E757C78959BF` || `data/website_operator/design_stakeholder_feedback.v1.json` | `A9DC7F847B926FF7E762A0F01EC58357D084624F05D5529E4A9596A96EF5C4DE` | `28D4F56F87A3133C2A2871303B00BFD0B5A0FAF8CBD71CC6C19034C2E4AAD2E9` || `data/website_operator/investor_site_design_brief.v1.json` | `6BCD1A422A5697CDA7FD94DC1AA8CA428050ABF2F21203460A11D3BD3D794046` | `FDEB5C0070FDFDE4FDC0832852E278D81E63F11C700843878709E6B2565D953C` |
The V5 correction preserves the exact V1 base delta and the source, route,stakeholder, and design-brief bindings proven by V4. It then adds the onesource-backed sentence `One evidence OS.` to both `permitted_wording` and`source.evidence_texts` of claim `aureon-evidence-os-positioning`. The source is`website/projects/index.html`, SHA-256`5D75CF500C4259CC9DCF504A98456034CE03C22080FD4EDB7F4A6C356D7CD893`,at `meta[property="og:title"] and meta[name="twitter:title"]`, with exactly twoanchor occurrences. The claim-record SHA-256 changes exactly from`E275C0C5751ED290A04EECF6DE5AD5B83F306C030FAD169026400CFC8C1AE5BE`to`B8CD9260CA76F0649FA5AB0B94E7D3E3EC674C28804C8FD51178437D5DD673B3`.
The stakeholder file changes only its claim-register SHA-256; its sevencontrolled signals, evidence snapshot, and authority remain unchanged. Thebrief adds the exact `projects-positioning` public source input and binds theproposed claim-register and stakeholder-feedback hashes.
The full shadow replay must report:
- public claims: 16/16 pass and zero errors;- stakeholder feedback: 6/6 checks and seven signal capsules;- design brief: 17/17 checks, nine source inputs, and 18 claim capsules;- investor-copy quality: zero findings, blockers, and warnings;- public claim surface: 6/6 checks and zero invalid or unsafe non-claim surfaces;- investor route capsule: `608B4AA3CF3B3A6909FD24DA370BF0C76346E81A41C55BE41531B62EEA56EEDA`;- satisfied concepts: `commercial-wedge`, `company-category`, `human-control`.
## Separate owner decision
The tool never creates or edits an owner decision. Gary Leckey must supply oneimmutable, single-link JSON file directly under`artifacts/website-operator/owner-decisions/`. It must use schema`aureon.investor-copy-governance-owner-decision.v1`, be no more than 24 hoursold, not be materially future-dated, and bind the exact V5 paths and hashes.Its `decided_at` timestamp must be at or after the V5 validation timestamp,`2026-07-30T09:47:30Z`.The strict ASCII filename must be exactly `<decision_id>.json`; alternate datastreams, reserved names, links, and reparse points are rejected. The bytes mustbe canonical UTF-8, LF-only, two-space-indented JSON with one final newline.A UTF-8 BOM, a filename that does not match the decision id, duplicate keys,`NaN`, and `Infinity` are rejected at every nesting level.
The only approving state is `approve-exact-governance-delta`. A valid `reject`or `request-revision` decision causes no canonical change. General systemaccess, chat approval, or a decision that predates validation is not approvalunder this contract; it is not an approval.
The acknowledgement object must be exactly:
```json{ "governance_files": [ "data/website_operator/public_claim_evidence_register.v1.json", "data/website_operator/design_stakeholder_feedback.v1.json", "data/website_operator/investor_site_design_brief.v1.json" ], "no_policy_change": true, "no_website_change": true, "no_candidate_or_package_authority": true, "no_release_or_deployment_authority": true, "v1_through_v4_superseded_and_rejected": true, "sentence_level_evidence_os_wording": "One evidence OS."}```
The exact owner-decision wording template is below. This is deliberately atemplate, not a decision: the owner must choose the decision state and createthe immutable file. Replace both angle-bracket placeholders; do not save themliterally. For approval, the `decision` value must remain exactly`approve-exact-governance-delta`.
```json{ "schema": "aureon.investor-copy-governance-owner-decision.v1", "decision_id": "<decision_id>", "decided_at": "<owner-issued UTC timestamp at or after 2026-07-30T09:47:30Z>", "owner": "Gary Leckey", "decision": "approve-exact-governance-delta", "proposal": { "path": "artifacts/website-operator/20260730T094627Z-investor-copy-governance-application-proposal-v5.json", "sha256": "CDCC9AB0C38338EB57EDF416ECF9CE52ED3B448C32259EF7190AE0CEAF796897" }, "validation": { "path": "artifacts/website-operator/20260730T094627Z-investor-copy-governance-application-proposal-validation-v5.json", "sha256": "A8BB51803E8A4F476A0C35C09C427D5AC6D0C7C42E147730213F6E9D4343340A" }, "acknowledgements": { "governance_files": [ "data/website_operator/public_claim_evidence_register.v1.json", "data/website_operator/design_stakeholder_feedback.v1.json", "data/website_operator/investor_site_design_brief.v1.json" ], "no_policy_change": true, "no_website_change": true, "no_candidate_or_package_authority": true, "no_release_or_deployment_authority": true, "v1_through_v4_superseded_and_rejected": true, "sentence_level_evidence_os_wording": "One evidence OS." }}```
## Read-only planning
Planning rehashes the decision, the V5 pair, all superseded artifacts, canonicalinputs, policy, target HTML, design-cycle receipt, and public source inputs. Itreconstructs all three exact byte streams and runs full audits in a temporaryshadow repository:
```powershellpython -m aureon.operator.design_investor_copy_governance ` --decision artifacts/website-operator/owner-decisions/<decision_id>.json```
`--as-of` is available only for deterministic read-only verification. Apassing plan remains non-authoritative and changes nothing.It does not apply anything.
## Explicit application and recovery
Application requires `--apply`; mutating use of `--as-of` is rejected so anold decision cannot be replayed against a historical clock:
```powershellpython -m aureon.operator.design_investor_copy_governance ` --decision artifacts/website-operator/owner-decisions/<decision_id>.json ` --apply```
Before the first canonical replacement, the module creates a cooperative lockand a same-volume durable journal under `data/website_operator/`. The journalcontains exact before and after images, their hashes, approval bindings, andthe expected immutable application-receipt hash. Progress moves through:
`PREPARING -> PREPARED -> COMMITTING -> VALIDATING -> VALIDATED -> receipt -> COMMITTED`
The application receipt is the commit marker:
- without the exact receipt, recovery restores every transaction-owned after image from the exact before backups;- with all three exact after images and the exact receipt, recovery completes the committed transaction;- an unexpected hash is preserved, blocks further work, and is never overwritten by recovery.
Readers refuse a pending journal. A dead writer is recovered on the nextexplicit application or by`recover_incomplete_investor_copy_governance_transaction`. Recovery isidempotent and writes a privacy-safe immutable recovery receipt under`artifacts/website-operator/copy-governance-recoveries/`.
This is recoverable cooperative transaction handling, not filesystem-levelmulti-file atomicity against non-cooperating writers or sudden storage failure.The per-file replacements are atomic on the same volume, while the journal andread-back checks make interrupted multi-file progress repairable. If the exactlock or journal cannot be cleaned, the result is`applied-governance-maintenance-required`; the command does not report a plainsuccessful exit.
PID reuse can conservatively leave a dead writer reported as active if theoperating system has already assigned that PID to a different process. This isa fail-closed availability limitation: the transaction remains intact formanual recovery after process identity is confirmed, rather than being deletedon age alone.
The application and recovery receipts remain governance-only. Websitecandidate creation, review, packaging, owner release approval, backup,deployment, and live read-back are separate WebsiteOperator gates.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485# Investor-copy repair contract
Use `aureon.operator.design_investor_copy_repair` only for one bounded`DESIGN-COPY-NNN` task. The control does not choose the source: it binds thecanonical-local or verified-live-backup source already selected by the currentowner/reconciliation and v4 work-order evidence. It then proves the completeselected tree against the v4 baseline and runs the current controlledinvestor-copy rules against that exact source before issuing a source-boundcontract.
The contract binds:
- the immutable design-cycle receipt and exact task hash;- the immutable v4 work order and selected source root, manifest and tree;- one public route, one HTML path and its before SHA-256;- the current policy identity, SHA-256 and freshness window;- a privacy-minimised findings digest, rule histogram and counts;- one route claim-capsule SHA-256 and the exact required claim identifiers;- a required-concept-groups SHA-256 and sorted satisfied concept identifiers.
Before issue, every required concept on the exact policy route—blocker orwarning—must have at least one controlled policy alternative present in anexact `permitted_wording` entry of the sealed claim capsule. This is requiredbecause candidate acceptance is zero-blocker and zero-warning. Unsatisfiedconcepts block creation. Only the digest and concept identifiers enter thecontract; policy alternatives and permitted wording do not.
Before persisting a work order, run`preflight_investor_copy_repair_contract(...)` to verify the exact task,policy route, HTML path and claim-capsule satisfiability without selecting orreading a source tree. Run`preflight_investor_copy_repair_work_order(...)` against the completein-memory v4 work order and its planned controlled path to prove the alreadyselected source is feasible. Both preflights are read-only and grant nodecision, staging, package, release or deployment authority.
Create the in-memory source-bound contract with`create_investor_copy_repair_contract(...)`, then persist it with`write_investor_copy_repair_contract(...)`. The writer accepts only a directJSON child of `artifacts/website-operator/copy-repairs/` and refuses overwrite.
For staged delivery, supply the design-cycle receipt and task id only as apair:
```powershellpython -m aureon.autonomous.aureon_public_website_design_runner ` --repo-root . create ` --goal "<one bounded copy repair>" ` --route-id <audited-route-id> ` --reconciliation <current-live-reconciliation.json> ` --design-cycle-receipt <current-design-cycle.json> ` --design-copy-task-id DESIGN-COPY-001 ` --run-id <new-run-id>```
Either omit both copy arguments for a generic route-bounded job or provide bothfor the exact `DESIGN-COPY-NNN` job. The delivery receipt seals`delivery_contract` as exactly`{"kind":"route-bounded-design","copy_repair_required":false}` or`{"kind":"investor-copy-repair","copy_repair_required":true}`. The latterrequires the immutable `investor_copy_repair` reference at every state; droppingit, retaining it under the generic kind, or carrying copy-candidate evaluationbefore validation fails closed. The staged worker receives only the exact task,contract, route, policy-count digest, claim-control digest and acceptanceprojection. It never receives the selected-source root, manifest path, beforecopy, raw findings, credentials, package or deployment authority.
Before using a contract, call`verify_investor_copy_repair_contract(...)` with the exact route claim capsule.Any task, work-order, selected-source, policy, route, claim or freshness driftblocks the contract.
After the v4 candidate has been staged and its one HTML file repaired, call`evaluate_investor_copy_repair_candidate(...)` against the sealed candidatewebsite root. Acceptance requires:
- exactly the target HTML path changed;- no file addition, removal, link, reparse point or hard link;- a current policy replay against the complete candidate;- zero blockers and zero warnings.
A passing evaluation is local evidence only. It grants no canonical mutation,package, credential, release or deployment authority and must continue throughthe existing claim-surface, browser, accessibility, visual, package, owner,backup and live read-back gates.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130# Investor Narrative and Research Refresh — Draft Work Order
## Status and authority
This is a design-and-evidence brief for a **future, separately authorised**candidate. It does not start a successor to V40–V44; alter canonical websitefiles; create a package; access Home.pl; or authorise deployment.
V44 closed the prior candidate cycle on performance, while V43 establishedthat deferred rendering must not change document geometry. Any futurecandidate needs a new exact-path work order, source-bound initial gate,repeatability evidence, named human visual review and the normal ownerrelease gate.
## The investor story to clarify
The company should read as a serious, research-led systems business with onereusable evidence core—not as a generic AI product and not as an unstructuredcollection of unrelated ideas.
The proposed reading sequence is:
`decision problem → Aureon OS product loop → first commercial wedge →inspectable public evidence → research-to-option discipline → founderconversation`
The internal “Swiss Army knife” idea should be expressed as *one reusablecore, specialised evidence-gated applications*. Do not use the phrase itselfin investor-facing copy: it can imply lack of focus rather than platformleverage.
## Evidence base
- `docs/research/AUREON_INVESTOR_NARRATIVE_ALIGNMENT_20260728.md`- `docs/research/AUREON_WEBSITE_INVESTOR_SWOT_PORTER_20260728.md`- `docs/research/AUREON_INVESTOR_WEBSITE_PEER_BENCHMARK_20260728.md`- `docs/research/AUREON_ORCID_PUBLIC_RECORD_RECONCILIATION_20260728.md`- The company-authored investor deck is a confidential narrative reference, not a source for public figures, funding claims, customer claims or partner claims.
## Two deliberately separate scopes
### A. Investor narrative candidate
Permitted target pages:
- `website/index.html`- `website/funding/investor-deck/index.html`- `website/projects/index.html`- `website/diligence/index.html`
Candidate direction:
1. Make the first screen state the decision problem and the inspectable Aureon OS response before presenting portfolio breadth.2. Place the commercial wedge immediately after the product loop: source-heavy evidence operations for accountable, high-consequence decisions.3. Present HNC as the research and systems-method framework that informs questions and test logic; present Aureon OS as the company-built delivery system; show mission blades only with their explicit proof state.4. Retain a clear source route: Companies House, GitHub, ORCID, Zenodo and the research-note catalogue answer different diligence questions.5. Use a single public-evidence map or source-to-review visual rather than a dashboard mock-up. It must be labelled as a static explanatory graphic if it is not a proven live product surface.
The present public-attention figures are source-qualified but should not beexpanded. Financial, internal company and fundraising figures stay off thesite. Replacing the current attention block with a non-numeric public-sourceroute requires a specific owner choice because verified public signals and ano-figures posture are distinct editorial strategies.
### B. Research source refresh, only when a specific work is selected
Permitted target data, if required by a source-verified spotlight:
- `website/data/research-catalogue.json`- `website/data/research.json`- a narrowly named, existing page reference in `website/research/index.html`
The 28 July reconciliation already confirms that the persistent ORCID linkand three selected ORCID records expose the current public research update.Do **not** bulk-create cards for all 74 groups. A new card must reproduce thesource title, type, date, DOI and URL exactly and state its evidence limit.
Keep this scope separate from the narrative candidate and from the `/research/`performance remediation. It must not change global layout rules,`content-visibility`, containment, scroll height, JS data-loading behaviour orthe research catalogue structure unless the new work order explicitly names atrace-backed performance hypothesis.
## Visual and motion contract
- Take the discipline of Benchling’s research legibility, Vanta’s restrained trust posture and Datasite’s lifecycle clarity—not their claims, imagery, metrics, logos or product terminology.- Existing Substack illustrations may be reused only within their established provenance and editorial-description boundary. Do not introduce unverified artwork or portray an illustration as a facility, experiment or product.- Use sparse editorial layout, measured whitespace, one strong source/evidence visual and high-quality typographic hierarchy.- Motion is optional: opacity/transform only, brief, non-blocking and fully disabled or reduced under `prefers-reduced-motion`. No autoplay video, marquee, scroll-jacking or layout-affecting reveal behaviour.- Do not add a generic card dashboard, a fabricated interface, animated statistics or a “secure/continuous/agentic/data-room” claim.
## Required validation before a human visual decision
1. Record the source files, expected changed paths and candidate tree hash.2. Run the website audit and require no broken local links, metadata, accessibility, schema, claim-boundary or source-consistency regressions.3. Run the source-bound candidate initial gate, then the fixed sequential performance series only if it is eligible. Keep the existing 300 ms long-task budget; do not retry-shop a passing outlier.4. Run the full visual matrix, including the deferred-render geometry gate, keyboard and reduced-motion checks.5. Require named human review of desktop and mobile screenshots for the homepage, investor brief, projects, diligence and research routes.6. Only after all gates pass may an owner consider canonical promotion, package verification, a fresh Home.pl backup and live HTTPS read-back.
## Exclusions
- No financial, valuation, fundraising, revenue, grant, customer, partner or proprietary internal-record disclosure.- No statement that an HNC proposition, public record or commentary is independently validated science or a delivered commercial capability.- No deployment, DNS, hosting, credential, mailbox or Drive action.12345678910111213# Live trading status — HOLD
The current Aureon checkout is not authorized or attested for live trading.Historical stage labels, testnet runs, dry-run results, source-level risk gates,and strategy metrics do not authorize orders or prove production protection.
Do not place credentials in repository files, enable a mainnet route, fund anaccount for this system, or invoke an exchange execution module from thischeckout. Any future live route requires a separately approved release with anative protection boundary, complete source census, externally anchored HNCevidence, exchange-specific controls, and authenticated provider read-back.
Current decision: `HOLD`.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133# Owner Source Reconciliation Decision
Use this only after `aureon-website live-drift` reports`live-drift-detected` and after a fresh Home.pl backup has been verified with`aureon-website verify-backup`.
Its purpose is narrow: the owner may choose either the current **local**canonical source or one exact **fresh verified live backup** as the baselinefor one future staged design candidate. It does not merge, promote, apply,package, upload, publish, delete, access credentials, or mutate `website/`.It is not the package-hash release approval required later in the WebsiteOperator flow.
Create the owner-supplied JSON below at`artifacts/website-operator/owner-source-reconciliations/<decision>.json`.Replace every placeholder with the exact hashes from the two existing receipts.Set `expires_at` no more than four hours after `approved_at`.
## Retain the local canonical source (v1)
This existing contract is unchanged. The verified backup preserves the liverecord, but the candidate is copied from `website/`.
```json{ "schema": "aureon.owner-source-reconciliation-decision.v1", "decision": "approved", "scope": "successor-staged-design-candidate", "source_selection": "retain-local-canonical-source", "reconciliation_receipt_sha256": "<EXACT LIVE-RECONCILIATION RECEIPT SHA256>", "reconciliation_selected_tree_sha256": "<EXACT SELECTED LOCAL TREE SHA256>", "backup_receipt_sha256": "<EXACT VERIFIED-BACKUP RECEIPT SHA256>", "backup_tree_sha256": "<EXACT VERIFIED-BACKUP TREE SHA256>", "approved_at": "<ISO-8601 WITH TIMEZONE>", "expires_at": "<ISO-8601 WITH TIMEZONE, MAXIMUM FOUR HOURS LATER>", "approved_by": "<OWNER NAME>", "note": "Local source is selected only for one staged candidate. The live production record is preserved by the verified backup.", "authority": { "scope": "owner-controlled local-source selection after observed public website drift", "canonical_website_mutation": "none by this decision or a design agent", "release_eligible": false, "package_authority": "none", "deployment_authority": "none", "credential_access": "none", "release_authority": "WebsiteOperator owner gate only" }}```
## Use the exact verified live backup (v2)
Use v2 only when the Website Operator `verified-backup` receipt contains all ofthe following source evidence:
- `schema` is `aureon.website-operator.backup.v1`;- `state` is `verified-backup`;- `method` is `homepl-ftps` under the current exact-identity verifier;- `source_assertion` is `Authenticated Home.pl document-root download`;- `remote_root` is exactly `/`;- an authenticated Home.pl owner-panel read-back identifies the exact non-secret host/account binding and maps that account to the intended domain; matching public bytes without this provider identity evidence remain ambiguous and fail closed;- `backup_directory` is an absolute ordinary directory below the active repository's `artifacts/homepl-backups/` tree;- `manifest` is an absolute ordinary single-link file below the repository's `artifacts/` tree and outside the downloaded document root;- `manifest_sha256`, `tree_sha256`, `file_count`, and `total_bytes` bind the complete download.- `ftp_host_id`, `ftp_host_sha256`, `ftp_account_sha256`, and `ftp_binding_sha256` bind the exact authenticated endpoint without recording the raw account;- `preflight_receipt`, `root_mapping_receipt`, and `transfer_receipt` hashes bind the exact `/`, fresh public reconciliation, audited backup script and read-only source run;- the authenticated root mapping matches public HTTPS `/index.html` byte count and SHA-256, transfer start and end observations match the same listing and root file, and the downloaded `index.html` matches those bytes;- `complete_manifest_membership` and `ordinary_single_link_files_only` are true, while `remote_write_methods_used` and `credentials_recorded` are false.
The backup observation must be no more than four hours before approval.
```json{ "schema": "aureon.owner-source-reconciliation-decision.v2", "decision": "approved", "scope": "successor-staged-design-candidate", "source_selection": "use-verified-live-backup", "reconciliation_receipt_sha256": "<EXACT LIVE-RECONCILIATION RECEIPT SHA256>", "reconciliation_selected_tree_sha256": "<EXACT SELECTED LOCAL TREE SHA256>", "backup_receipt_sha256": "<EXACT VERIFIED-BACKUP RECEIPT SHA256>", "backup_tree_sha256": "<EXACT VERIFIED-BACKUP TREE SHA256>", "backup_directory": "<EXACT ABSOLUTE BACKUP DIRECTORY FROM RECEIPT>", "backup_manifest": "<EXACT ABSOLUTE MANIFEST PATH FROM RECEIPT>", "backup_manifest_sha256": "<EXACT BACKUP MANIFEST SHA256>", "approved_at": "<ISO-8601 WITH TIMEZONE>", "expires_at": "<ISO-8601 WITH TIMEZONE, MAXIMUM FOUR HOURS LATER>", "approved_by": "<OWNER NAME>", "note": "The exact fresh verified live backup is selected only for this staged candidate.", "authority": { "scope": "owner-controlled verified-live-backup source selection after observed public website drift", "canonical_website_mutation": "none by this decision or a design agent", "release_eligible": false, "package_authority": "none", "deployment_authority": "none", "credential_access": "none", "release_authority": "WebsiteOperator owner gate only" }}```
For v2, candidate control rechecks the exact decision and receipt hashes,manifest bytes, every declared file byte count and SHA-256, complete directorymembership, Website Operator tree hash, remote root, expiry, and sourcestability. All source, manifest, decision, receipt, and candidate paths must beordinary non-link/non-reparse paths; files must have one hard link. The workorder binds source kind, absolute source root, manifest, receipt tree andcandidate-baseline tree. Staging copies only those manifest-bound backup filesinto `artifacts/website-candidates/`, then checks the source and candidatetrees again.
The selected document root is also an intake boundary. It may contain only thesupported public static file set plus the intentional public `.htaccess`.Environment-file variants, private-key/container formats, SSH key names,server executables, and files containing recognised private-key or API-keypatterns block the candidate before any bytes are copied. Findings report onlypaths and pattern classes, never credential values.
Any mismatch blocks creation, staging, validation, or later current receiptverification. There is no fallback to `website/`, a different backup, or aguessed production baseline..gitattributes+22
docs/research/whitepapers/Maeshowe_Seer_Decode_Report_rev2.docxAdded
docs/research/whitepapers/Modeling_Light_Dynamics_Through_Astronomical.pdfAdded+3
docs/research/whitepapers/PEFCphiS_Leckey_2026.pdfAdded+3
docs/research/whitepapers/Project_Alfie_A_Theoretical_Framework.pdfAdded+3
docs/research/whitepapers/Project_Druid_Technical_Architecture.pdfAdded+3
docs/research/whitepapers/Quantum_Gravity_in_the_Act_A_Two_Stage.pdfAdded
docs/research/whitepapers/Quantum_Gravity_in_the_Act_QGITA_Lighthouse.pdfAdded+3
docs/research/whitepapers/THE_PHI_SQUARED_CHAIN_Sumer_to_Rome_to_Now.pdfAdded+3
docs/research/whitepapers/Tandem_in_Unity_A_Unified_Framework_v1.pdfAdded+3
docs/research/whitepapers/Tandem_in_Unity_A_Unified_Framework_v2.pdfAdded+3
docs/research/whitepapers/Tandem_in_Unity_Unifying_Resonant_Fields_v1.pdfAdded+3
docs/research/whitepapers/Tandem_in_Unity_Unifying_Resonant_Fields_v2.pdfAdded+3
docs/research/whitepapers/The_Barons_Banner.pdfAdded+3
docs/research/whitepapers/The_Doorbell_Hypothesis_Leckey.docxAdded+3
docs/research/whitepapers/The_Dormant_Seed.docxAdded
docs/research/whitepapers/The_HNC_and_the_Aureon_Trading_Framework.pdfAdded+3
docs/research/whitepapers/The_Harmonic_Nexus_Core_HNC_A_Unified_Framework.pdfAdded+3
docs/research/whitepapers/The_Harmonic_Nexus_Core_and_Auris_Conjecture.pdfAdded+3
docs/research/whitepapers/The_LuminaCell_v2_Architecture.pdfAdded+3
docs/research/whitepapers/The_Math_Angel_Protocol_A_Mathematical_Framework.docxAdded+3
docs/research/whitepapers/The_Sagittarius_Convergence_Leckey_2026.docxAdded+3
docs/research/whitepapers/The_Sagittarius_Convergence_v2_Corrected.docxAdded+3
docs/research/whitepapers/The_Source_Oscillator_Constraint_Whitepaper.docxAdded
docs/research/whitepapers/Unified_Framework_of_Symbolic_Emergence.pdfAdded+3
docs/research/whitepapers/What_Does_Life_Mean_To_You_Validation.pdfAdded+3
docs/rising_star_visual_comparison.txtAdded+251
docs/runbooks/COGNITIVE_FLOW_LIVE_DATA_CHECKLIST.mdAdded+459
docs/runbooks/DESIGN_CANDIDATE_CLAIM_SURFACE.mdAdded+103
docs/runbooks/DESIGN_CANDIDATE_INITIAL_GATE.mdAdded+49
docs/runbooks/DESIGN_CANDIDATE_MOTION_POLICY_COMPILER.mdAdded+154
docs/runbooks/DESIGN_CANDIDATE_STATIC_QA.mdAdded+425
docs/runbooks/DESIGN_CANDIDATE_TEST_EVIDENCE.mdAdded+356
docs/runbooks/DESIGN_CANDIDATE_TEST_POLICY_COMPILER.mdAdded+176
docs/runbooks/DESIGN_LEARNING_LEDGER.mdAdded+67
docs/runbooks/DESIGN_MOTION_PERFORMANCE_BUDGET.mdAdded+263
docs/runbooks/EMERGENCY_TRADING_HALT.mdAdded+114
docs/runbooks/FIX_TRADING_SYSTEM.mdAdded+64
docs/runbooks/GO_LIVE_HARDENING.mdAdded+242
docs/runbooks/GO_LIVE_HNC_HEAD_NEXT.mdAdded+73
docs/runbooks/GO_LIVE_RECEIPTS_REMEASURE.mdAdded+124
docs/runbooks/GO_LIVE_STAGE11_INSTALLER_GATE.mdAdded+126
docs/runbooks/GO_LIVE_STAGE6_SOURCE_CENSUS.mdAdded+60
docs/runbooks/GO_LIVE_STAGE8_EXCHANGES.mdAdded+20
docs/runbooks/HARMONIC_OBSERVER_PRODUCTION.mdAdded+282
docs/runbooks/INVESTOR_COPY_GOVERNANCE_APPLICATION.mdAdded+209
docs/runbooks/INVESTOR_COPY_REPAIR_CONTRACT.mdAdded+85
docs/runbooks/INVESTOR_NARRATIVE_RESEARCH_REFRESH_WORK_ORDER_20260728.mdAdded+130
docs/runbooks/LIVE_TRADING_READY.mdAdded+13
docs/runbooks/OWNER_SOURCE_RECONCILIATION_DECISION.mdAdded+133