Simonx

SPEC_SIMONX.md · 2026-04-20

SPECIFICATION: SIMONX ENGINE

Status: DRAFT (auto-generated by LOOPX — requires Captain review)

Generated: 2026-04-20 10:24 UTC

Source: ~/simonx_engine.py

Auto-generated by: loopx_engine.handle_fill()


⚠ DRAFT NOTICE: This spec was auto-generated from simonx_engine.py.
Invariants were extracted mechanically. Failure modes and verification criteria
require Captain review before this spec is considered AUTHORIZED.

PURPOSE

SIMONX ENGINE — Trading actuator as a service

κ ⚒ port=9010 | localhost only | Vacuum Rule

NOTE: spec called for port 9797 — occupied by COMMX. Using 9010.

Returns JSON. ◌ on failure.

Endpoints:

POST /evaluate {"asset":"EIT.UN.TO", "entry":16.85, "current":16.50}

POST /status {} → portfolio state, challenge day, runway

GET /walls → all five walls with current thresholds + values

Implementation: ~/simonx_engine.py — port=9010


ENDPOINTS


  /evaluate
  /health
  /query
  /status
  /walls

PUBLIC API


DEPENDENCIES

Imports: datetime, http.server, json, os, pathlib, sys, time


INVARIANTS

These must remain true at all times. (Auto-extracted — verify each.)

  1. Port: 9010 (must not change without updating ROUTX classifier)

VERIFICATION CRITERIA

GAP — requires Captain review.
Auto-generation cannot determine correctness criteria.
Add verification criteria based on design intent:

>

- [ ] VCx: [describe expected behavior under normal conditions]
- [ ] VCx: [describe expected output for known inputs]
- [ ] VCx: [describe integration behavior with ROUTX / other modules]

FAILURE MODES

GAP — requires Captain review.
Auto-generation cannot determine failure semantics.
Add failure modes based on operational experience:

>

- [ ] FMx: [describe what breaks when dependency X is unavailable]
- [ ] FMx: [describe what happens on malformed input]
- [ ] FMx: [describe recovery behavior]

κ ⚒ LOOPX auto-generated draft. Φζ.⊤.

Promote to AUTHORIZED after Captain review and gap fill.


Jeremy Zlabis

Chronogeometer · Visionary · Disruptor · Chief

42 Sisters AI · East York, Toronto

🍁 Φ 0.042