Python port rewritten to match spec:
- Added Q0_16, PUSH_Q0, PUSH_BOOL as separate opcodes
- Added V6 comparison (lt_q16_v6)
- Added floor division (Lean Int.ediv)
- Added stack depth limit (AVM_MAX_STACK = 1024)
- Added type checking in exec_prim
- All 10 tests passing
Go AVM port: added test_avm_test.go with 8 test cases
Milestone: Python → ✅, Go → 🔄
Julia port:
- Extended type tracking from Bool (is_q16) to Int8 tri-state (TYPE_BOOL/Q16/Q0)
- Added ADD_SAT_Q0 / SUB_SAT_Q0 primitive handling
- Added avm_q0_clamp for symmetric Q0_16 range [-32767, 32767]
R port:
- Added PRIM_ADD_Q0 / PRIM_SUB_Q0 primitives
- Added push_q0 instruction, make_q0 / is_q0 helpers
- Added avm_q0_clamp for symmetric Q0_16 range
- Fixed LOAD to preserve type tag on restore
All three ports now support the full AVM ISA type universe (Q0_16, Q16_16, Bool).
Fixes applied to Rust, Julia, and R AVM ISA ports:
1. Division rounding: use floor division (matching Lean Int.ediv)
2. Clamp range: symmetric [-2147483647, 2147483647] for Q16_16,
[-32767, 32767] for Q0_16 (preserves negation involution)
3. V6 sign-decomposition comparison for ltQ16
4. Stack depth limit: maxStackDepth = 1024 with StackOverflow error
5. Added AVM-specific constants and helpers to each port
All three ports now match the Lean reference specification.
- neon-startup.py: pre-creates one_time_tokens table to work around
GoTrue migration ordering bug
- Postgres podman lock contention resolved via system reset
- Infrastructure recovery documented
- neon-startup.sh: bash script for post-reboot recovery
- neon-startup.py: Python version with GoTrue migration fix
- Handles dependency order: Postgres → Redis → DB setup → GoTrue → AppFloyo → other
- Known issue: GoTrue migration ordering bug requires pre-running migrations
from the Docker image with template expansion before starting the container
New problems from outside the project:
- Catalan-Mihailescu: 3^2-2^3=1 only consecutive powers λ=6.18
- Fermat-Wiles: x^n+y^n=z^n no solutions n>2 λ=7.02
- Ramanujan taxicab: 1729=1^3+12^3=9^3+10^3 λ=4.85
All 21 deterministic, 21/21 signal detected
- HachimojiN8: n8_is_minimum had inverted truth (claimed allOk=true for N<8
but the theorem proves allOk=false for all N<8). Fixed statement.
- Tests: 9/9 Lean module tests passing (FeasibleSet, RRC Emit, Q16_16Manifold,
FixedPoint, SidonSets, InteractionGraphSidon, GoormaghtighEnumeration, HachimojiN8)
- Entry gate now checks GoormaghtighEnumeration (2 known Goormaghtigh collisions:
31 and 8191) as a cached-artifact check (heavy decide ~480K quadruples)
- SidonSets added to entry gate (Erdos bounds on Sidon sets)
SSO is handled by Authentik outpost on racknerd Caddy at
auth.researchstack.info. Homarr sits behind this outpost and
only sees already-authenticated traffic from the public URL.
Direct access via tailnet port 7575 uses credentials.
- scripts/install-hooks.sh: installs post-commit hook that runs
lake_build_ingest.py after each commit (async, non-blocking)
- Build results ingested into Postgres on neon-64gb
- Also: ii-agent systemd user service on port 8001, Authentik admin setup
Use object_id from invariant_receipt as the lookup key instead of
equation_id from equation_record. This aligns the predictions JSON
with the manifold findMatrix calls. Build passes 3307 jobs.
- Maps twisted trilayer graphene MLR defect classes (plaquette,
soliton, twiston) onto BraidStateN 3 / scar structure
- References Hartree-Fock crossing energy renormalization as
validation for interaction-aware Q16_16 crossing energy
- Filed under Post-Stability Refinements — not a blocker, but a
concrete n=3 physical test case for the generic modules
- Root cause: search_path=auth,public caused AppFloyo unqualified
CREATE TABLE statements to land in auth schema (shadowing public)
- Fix: APPFLOWY_DATABASE_URL with options=-c%20search_path=public
- Ran all 144 SQLx migrations from binary (clean state + fragment type
pre-cleanup)
- GoTrue/AppFloyo user sync: created af_user record for admin
- Port 8000 freed from ii-agent (moved to 8001 permanently)
- Deployment receipt updated: signatures/appflowy_deployment_status.json
Services on neon-64gb:
GoTrue :9999 ✅ auth working (admin@researchstack.info / admin123)
AppFloyo :8000 ✅ REST API operational
Authentik :30001 ✅ SSO admin created
ii-agent :8001 ✅ restarted
- GoTrue v0.15.1 running on port 9999 with admin auth working
- Fixed migration ordering bug: ran all 70 migrations via psql
with template expansion, removed stale auth.schema_migrations
- AppFlowy Cloud v0.16.5 deployed on port 8000 but has embedded
SQLx migration ordering bug (ADD COLUMN conflicts)
- Gremlin bridge blocked: v0.16.5 lacks /api/databases endpoint
- Documented in signatures/appflowy_deployment_status.json
Unified spatial-topological-dynamic system combining octree spatial
subdivision (Euclidean), BraidTree interaction topology (Artin B8),
and COUCH chaotic oscillator dynamics into a single formal framework.
Includes Lean structure definitions, adaptive refinement strategy,
rendering pipeline, subdivision theorem, and FAMM gate boundary
checker. All Q16_16 fixed-point, no floats.