Published working dnQuant baseline — October 30, 2026
This publication records the running Linux application. It does not deploy, restart, migrate, change policy, replay alerts, or merge GitHub main.
Inspected source and compatibility
The engine and DD image revision is
033164cf773bcfb32bbb26778d3e8f2d5f96ccd4. The Linux checkout is clean at
ee373d2e5e86963ef7ca51e072efe72c0c203a31, which records the newer dashboard
fixes. A checkout revision alone does not describe these independently pinned
services. Exact source and inspected image identities are in
working-source-pins.json.
| Service | Source recipe |
|---|---|
| AlfaEngine | 033164c |
| Dashboard/portal | ee373d2 |
| DD | 035adf7, ddEngine/capacity.py from 1a19f80, and intelEngine/ plus ddEngine/intelligence.py from 033164c |
| Chat and consumer-fence image | 035adf7; fence mounts the committed deploy/linux_handoff_fence.py |
| Local inference | Committed deploy/inference/ recipes, pinned llama.cpp and model manifest |
| Tunnel | Pinned cloudflared image in compose.yaml |
All source revisions in these recipes are retained in this publication's Git ancestry. Clone with history; a shallow or single ZIP checkout alone cannot assemble the older DD/chat contexts. The root source combines the validated engine/intelEngine with the deployed dashboard files for subsequent development. The service-specific recipes below reproduce the actual deployed source mix without silently upgrading the older DD/chat workers.
AlfaEngine retains discovery, collection, coordinator/scheduler, LTF/HTF and Small-Cap calculations, safety/exit gates, decisions and alert delivery. DD retains its independent Quick/Deep research and current security checks. Chat, callback routing, feedback, accounting, source budgets and retry behavior are preserved. Production policy remains the existing privately provisioned policy and SQLite schema 11: Ethereum, Robinhood Chain and Solana Tier 1; Base inactive. Emerging and Pons are not activated by this publication; Pons shadow is disabled in the live engine.
intelEngine owns one compact file per exact chain/address, with separate
pool/quote contexts, incremental updates and direct reads. The production root is
/data/dnQuant/data/runtime/intelEngine, mounted at /state/runtime/intelEngine.
It is outside images/Git; the directory is 0700 and files 0600, owned by UID 1000.
DD reads the same histories. The portal's explicit history mount is read-only.
Its Token Info view uses those summaries, newest-first token discovery remains,
and intelligence appears inside expanded details. Whole-dollar USD display,
public wiki/search, shortened dashboard links and the subsequent removed market
notice are included.
GitHub main comparison
Main inspected for publication is dd47656e36d07a46051bf78f0344a9b633763a83.
It includes the operational PostgreSQL conversion and later PostgreSQL-specific
namespace/CI/paper changes, while production remained on the verified SQLite
runtime. This PR explicitly restores the deployed SQLite source and adds the
accepted compact-file intelligence implementation and dashboard fixes. The
PostgreSQL runtime, migration dependencies and their tests are not part of the
published working tree. Existing commits, remote main, local research branches
and recovery material remain intact. Review this storage difference before
merging; this is not a claim that the two architectures are interchangeable.
The existing SQLite schema-11 installer and migration source remain committed.
Recreate service build contexts
Run from a full clone, using an empty directory outside the checkout. These commands assemble/build source only; they do not launch services or obtain provider data. Image IDs can differ with build tooling even when source matches.
release_dir=$(mktemp -d)
for service in engine portal dd chat; do mkdir "$release_dir/$service"; done
git archive 033164cf773bcfb32bbb26778d3e8f2d5f96ccd4 | tar -x -C "$release_dir/engine"
git archive ee373d2e5e86963ef7ca51e072efe72c0c203a31 | tar -x -C "$release_dir/portal"
git archive 035adf7eeb1294ecf519b46de1a40bb2cd8fcb7e | tar -x -C "$release_dir/chat"
git archive 035adf7eeb1294ecf519b46de1a40bb2cd8fcb7e | tar -x -C "$release_dir/dd"
git archive 1a19f80bb6a77543c7477e7cafc38a4a101ac27f ddEngine/capacity.py | tar -x -C "$release_dir/dd"
git archive 033164cf773bcfb32bbb26778d3e8f2d5f96ccd4 intelEngine ddEngine/intelligence.py | tar -x -C "$release_dir/dd"
For the DD context add COPY intelEngine /app/intelEngine before the existing
Dockerfile USER instruction. The engine's deployment also copied
scripts/export_intelligence.py into /app/scripts/; add
COPY scripts/export_intelligence.py /app/scripts/export_intelligence.py before
USER in that context. Both files already exist in the archived source; neither
is a provider acquisition entrypoint. Build the four contexts as
dnquant-published-engine:20261030, dnquant-published-portal:20261030,
dnquant-published-dd:20261030 and dnquant-published-chat:20261030 respectively,
with docker build --platform linux/amd64 -t TAG CONTEXT. Before building, copy
the publication root .dockerignore into each context: the historical ignore
files predate the added intelEngine/docs/export-script COPY inputs. This is a
build-context exclusion correction, with no change to application code. The dependency and
base-image hashes are pinned in their original Dockerfiles. The portal requires
its committed Markdown requirements file. Root .dockerignore permits the docs
and intelEngine sources required by the combined future-development Dockerfile.
Startup and private inputs
The Compose example combines
current service images, existing feature flags, inference network, ownership
fence and persistent read-only portal history mount with compose.yaml. It is a
credential-free template and has not been installed. Its required interpolation
variables deliberately prevent an unprovisioned launch. Use the repository root
as Compose's project directory so relative mounts resolve correctly. Set the
existing private paths/hash/socket group in ignored deployment.env; do not
commit that file or substitute a new ownership/account authorization.
Validate a provisioned copy with:
docker compose --project-directory "$PWD" --env-file deployment.env \
-f compose.yaml -f deploy/published-runtime.compose.example.yaml \
--profile remote config --quiet
An operator must supply the existing data/config/, entire operational runtime,
account/budget and continuous-operation receipts, transfer/ownership receipts,
provider/bot/destination credentials, tunnel token, local inference key/weights,
and public-docs snapshot. These are deliberately absent from Git. Source defaults
are not authority to replace the live policy or renew quotas. The local inference
service has its existing separate Compose recipe. scripts/sync_public_docs.py
retains its private deploy-key/known-host requirements and publishes only
main/docs; keep its existing five-minute crontab entry and last-good snapshot. Publishing this branch
does not switch the public wiki to the unmerged branch. Its existing startup
entry is */5 * * * * /usr/bin/python3 /data/dnQuant/scripts/sync_public_docs.py > /home/justinlwtf/.local/share/dnquant-docs-sync/last-sync.log 2>&1
in the production user crontab. Adjust those paths only for a separately
provisioned installation; do not install a second sync job.
Service creation remains an operator action with the validated private inputs. Preserve ownership/fresh safety checks, existing cadence and delivery ledgers; never replay delivery or run historical import at startup. The importer remains an explicit offline operation. Ordinary raw research has its separate 30-day policy; required accounting/execution evidence remains operational data.
Existing acceptance and recovery
The accepted consolidation receipt records 188 focused Linux amd64 tests passing in 35.106 s, with the final 12 importer tests passing in 0.650 s. The completed production import added 99,382 market observations and reached 6,881 histories (173,177,024 bytes at that receipt), retaining all 365 pre-cutover histories. Post-cutover scores held 0–6 benchmark references; 27 sampled records averaged 5,301 bytes. These are the existing receipts, not new benchmark results. Normal collection, Alfa/DD reads, decisions, chat and public portal checks passed; 20 original alert/delivery records remained identical with no replay delivery. See the committed engineering receipt for isolated measurements, not a claim of new production throughput.
The verified operational backup, fresh pre-cutover histories, previous images and rollback commands remain on the Linux host. Publication does not copy or modify them. Roll back code using the saved compatible images while preserving current histories, accounting, decisions and delivery state; never restore an old ledger over newer charges. The consolidation report predates activation; its "not deployed" statements describe its isolated engineering phase. The production facts above supersede those statements for operational status.
Publication-only checks matched the source recipes against all 1,033 inspected
application entries (excluding four .DS_Store metadata files), including the
Dockerfile credential-path rewrite. The committed inference/fence files matched
the host. Eighteen focused dashboard/history tests passed on Linux amd64 Python
3.11 in 0.868 s; source parsing and Compose-template validation passed. No full
suite, benchmark, new deployment or provider request was run.
The live engine, DD, chat, portal, ownership fence and local inference were healthy at publication inspection; the tunnel was running, and all restart counts were zero. No production source, service, policy or data was changed by publication.
