burn_dragon is the dragon model + training workspace.
it pairs the dragon model stack with burn_p2p for native + browser p2p training, deployment, and live network operation.
the model shape follows the dragon hatchling / bdh paper.
crates/burn_dragon_core: core model, state, and configcrates/burn_dragon_language: language training + inference adapterscrates/burn_dragon_p2p: p2p runtime, browser ui, deployment, and integration testsxtask: build, smoke, deploy, and release helpers
- model + language code: crates/burn_dragon_core, crates/burn_dragon_language
- p2p + deployment: crates/burn_dragon_p2p, crates/burn_dragon_p2p/deploy/README.md
- protocol/runtime layer:
burn_p2p
cargo run -p xtask -- local-browser-e2e
cargo run -p xtask -- smoke
cargo run -p xtask -- deploy-checkUse local-browser-e2e as the first browser/p2p production-parity gate. It runs
the deployment config drift checks, a local edge/auth/browser training receipt
e2e, and the smallest real Chrome/WebGPU browser training smoke without forcing
the full CI build matrix.
For the slow browser peer loop, run the lane you need instead of waiting for a Pages deploy. The offline default remains:
cargo run -p xtask -- local-browser-e2e --lane allTo test the exact browser artifact locally against a live or staging edge, set the browser canary edge/principal/callback environment variables and run:
cargo run -p xtask -- local-browser-e2e --lane canary-webrtc-direct-training --build-siteCanary artifacts are written under target/test-artifacts/browser-peer-e2e/.
If the local ../burn_p2p checkout is on an in-flight branch that does not
match Dragon's pinned CI version, use cargo run -p xtask -- local-browser-e2e-ci-sibling
with the same lane flags. It runs the command in a temporary Dragon worktree
paired with the CI-pinned burn_p2p sibling and applies the current Dragon diff.