Files
my-NexusTradingForexBot/docs/guides/common-workflows.md
T
gavindiazandClaude Code 3a005ddcc6
Docs / Validate documentation (push) Canceled after 0s
Docs / Deploy GitHub Pages (push) Canceled after 0s
CI Final Summary (AI) / AI Final Summary (push) Canceled after 0s
CI Final Summary (AI) / Push/PR event feed (push) Canceled after 0s
CI / CI Integrity and Change Classification (push) Canceled after 0s
CI / Code Quality & Tests (push) Canceled after 0s
Dependency Lock & Migration Safety / Dependency drift (lock vs pyproject) (push) Canceled after 0s
Dependency Lock & Migration Safety / Migration safety (fail-loud + version postconditions) (push) Canceled after 0s
JS Tests / Frontend JS Unit Tests (push) Canceled after 0s
Security / CodeQL Analysis (push) Canceled after 0s
Security / Trivy Vulnerability Scan (push) Canceled after 0s
Tests (OS Matrix) / Py Tests (macos-latest) (push) Canceled after 0s
Tests (OS Matrix) / Py Tests (windows-latest) (push) Canceled after 0s
CI / Extended Validation (Tier 2) (push) Canceled after 0s
CI / Heavy CI (database-provider) (push) Canceled after 0s
CI / Heavy CI (e2e) (push) Canceled after 0s
CI / Heavy CI (integration) (push) Canceled after 0s
CI / Heavy CI (model-validation) (push) Canceled after 0s
CI / Heavy CI (research-backtest) (push) Canceled after 0s
CI / Aggregate CI Results (push) Canceled after 0s
chore(repo): initial import of Nexus Trading Forex Bot into self-hosted hosting
Full project import for the self-hosted code hosting
(https://code.aifunny.ltd/gavindiaz/my-NexusTradingForexBot.git).

Includes the live-freshness + scaler-hash fixes for the permanent
STALE dashboard (tick_pipeline now_utc stamps; infer_probabilities
computes model_input_hash on the actual scaled 70D tensor), the
data-fetch default-path fix, the g29 web-auth test fixes, and a
Chinese user manual (使用手册.md) for the web dashboard.

Scratch diagnostic scripts (check*.py, contain a live web-auth token)
and the .kilo/ agent-worktree directory are gitignored, not committed.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 23:24:54 +08:00

1.8 KiB

title, description, lang
title description lang
Common Workflows Everyday operating recipes — run, verify, research a candidate, read evidence, update. en

Common Workflows

1. Daily development loop

git pull && .venv/Scripts/Activate.ps1        # Windows dev
nexus test --mode quick                        # fast sanity
# ... edit ...
pytest tests/unit -q -k "70 or schema"         # targeted suite
./beforePush.ps1 -SkipPush                     # full gate before pushing

2. Evaluate the engine on real data (risk-free)

nexus start --mode shadow      # live feed, zero order authority
# observe Control Center → SHADOW section: disagreement analysis, drift, health
nexus stop

3. Research a candidate

nexus model-dataset-build      # canonical dataset (fingerprinted)
nexus model-experiment-create  # fair A/B/C protocol
nexus model-train              # deterministic, seeded
nexus model-validate           # walk-forward + OOS gate + robustness
nexus model-replay             # bit-exact parity proof

Anything that fails the OOS gate is REJECTED — that is the system working.

4. Read the evidence

  • nexus forensic — health engine verdicts
  • nexus incidents list — correlated incidents
  • Control Center → Debug Hub — /api/debug/state snapshot (18 sections)
  • artifacts/forensics/, artifacts/validation/ — machine-readable evidence

5. Update the installation

nexus update check → download → install → verify
nexus rollback                 # if a release misbehaves

6. Database care

nexus db hygiene status        # what would be cleaned
nexus db hygiene run --dry-run --deep
nexus db migrate               # additive migrations

7. Docker

docker compose up -d --build   # PAPER mode; :9090; /health readiness