You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`npm run flowchain:product-e2e`| Implemented product testnet gate | Wraps the full smoke and proves local account funding, token launch, DEX pool/liquidity/swap receipts, bridge-test records, control-plane product queries, workbench product surfaces, and no-secret API boundaries. |
|`npm run flowchain:bridge:live:check`| Implemented fail-closed readiness check | Checks Base `8453` readiness only when env names are present; prints names, never values, and broadcasts nothing. |
248
+
|`npm run flowchain:emergency:stop-local`| Implemented emergency local stop wrapper | Requests node stop and prints/manualizes local service stop commands. |
249
+
|`npm run flowchain:emergency:export-evidence`| Implemented secret-scanned evidence export | Writes an ignored local evidence bundle under `devnet/local/production-l1-e2e/evidence/`. |
240
250
|`npm run flowchain:real-value-pilot:ops`| Branch-local dry-run pilot ops proof | Parser-checks pilot scripts, proves dry-run needs no RPC or keys, verifies missing live env refusal, checks emergency-stop dry-run, and writes sanitized evidence export. |
241
251
|`npm run flowchain:real-value-pilot:emergency-stop`| Branch-local guarded pause wrapper | Routes to the live `Pause` action after explicit acknowledgement, Base `8453` chain check, cap check, lockbox address check, and owner key check. |
242
252
|`npm run flowchain:real-value-pilot:export`| Branch-local pilot evidence exporter | Writes a sanitized ignored bundle excluding Git metadata, dependency folders, build targets, local vaults, private-key files, and env files. |
@@ -346,3 +356,36 @@ This setup guide is complete for the HQ/Ops wrapper layer and current
346
356
private/local acceptance gate. The next evidence step is running
347
357
`npm run flowchain:full-smoke` on a clean second computer and recording the
Copy file name to clipboardExpand all lines: docs/FLOWCHAIN_TROUBLESHOOTING.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ From the repo root:
38
38
39
39
```powershell
40
40
npm run flowchain:prereq
41
+
npm run flowchain:doctor
41
42
```
42
43
43
44
If that fails, fix the missing prerequisite before running init, demo, smoke,
@@ -64,6 +65,12 @@ or workbench commands.
64
65
| Cargo cannot overwrite a Windows `.exe` under `target`| A running node, old test process, or stale shell is locking Cargo build output. | Run `npm run flowchain:node:stop`, close old PowerShell windows, and retry. If the lock remains, reboot before deleting ignored local build output. |
65
66
| Existing state blocks init |`devnet/local/state.json` already exists. | Run `npm run flowchain:demo`, or force reset with `powershell -NoProfile -ExecutionPolicy Bypass -File infra/scripts/flowchain-init.ps1 -Force`. |
66
67
| Import refuses to overwrite state | Import protects existing local state by default. | Run `npm run flowchain:import -- --BundlePath <zip> -Force`. |
68
+
| Final wrapper says dashboard dependencies are missing | Dashboard package dependencies have not been installed. | Run `npm install --prefix apps/dashboard`. |
69
+
| Final wrapper says crypto package dependencies are missing | Crypto package dependencies have not been installed. | Run `npm install --prefix crypto`. |
70
+
| Final wrapper reports live readiness `blocked`| Live Base pilot env values are intentionally absent. | Run `npm run flowchain:bridge:live:check` after setting the required env names locally. |
71
+
| Final wrapper reports missing strict live proof commands | Contracts, bridge, or runtime proof commands have not merged yet. | Read `devnet/local/production-l1-e2e/flowchain-production-l1-e2e-report.json` and the owner rows for issues #133, #138, and #134. |
72
+
| Evidence export refuses a path | The export stage found an excluded or secret-shaped file. | Move env, vault, key, seed phrase, mnemonic, RPC credential, API key, or webhook files outside the evidence source and rerun `npm run flowchain:emergency:export-evidence`. |
73
+
| Import root mismatch | Restored state does not match the exported root. | Rerun `npm run flowchain:export`, import to a fresh state path, and inspect `devnet/local/production-l1-e2e/export-import-root-compare.json`. |
67
74
68
75
## Clean Local Reset
69
76
@@ -186,6 +193,17 @@ npm run flowchain:real-value-pilot:ops
186
193
| Pause or resume cannot broadcast |`cast` is missing, the owner key is missing, or the key is not the lockbox owner. | Install Foundry, verify `$env:FLOWCHAIN_BASE8453_DEPLOYER_PRIVATE_KEY` in the local shell, and rerun the action. |
187
194
| Evidence export refuses a file | The evidence directory contains an env file, local vault, private-key file, build output, or secret-named path. | Move that file outside the evidence directory and rerun `npm run flowchain:real-value-pilot:export`. |
188
195
196
+
Current ops readiness check:
197
+
198
+
```powershell
199
+
npm run flowchain:bridge:live:check
200
+
```
201
+
202
+
This command refuses missing acknowledgement, missing RPC URL, wrong Base chain
203
+
ID, missing or malformed lockbox, missing token address when token mode requires
204
+
one, missing or oversized caps, unsafe confirmation depth, and broad block
|`npm run flowchain:node:logs`| runtime/ops | observability | command exists |`infra/scripts/flowchain-node-logs.ps1`|
17
+
|`npm run flowchain:wallet:e2e`| wallet/crypto | wallet | passed |`devnet/local/production-l1-e2e/wallet-e2e-report.json`|
18
+
|`npm run flowchain:wallet:transfer:e2e`| wallet/runtime | transfer | passed |`devnet/local/production-l1-e2e/wallet-transfer/wallet-transfer-e2e-report.json`|
19
+
|`npm run flowchain:product:e2e`| runtime/product | product flow | passed with `-SkipFullSmoke` after baseline |`devnet/local/product-e2e/flowchain-product-e2e-report.json`|
20
+
|`npm run flowchain:dex:e2e`| runtime/token-dex | token/DEX | passed |`devnet/local/production-l1-e2e/dex/dex-e2e-report.json`|
21
+
|`npm run flowchain:bridge:mock:e2e`| bridge-relayer | mock bridge | passed | final report step `Bridge mock pilot E2E`|
22
+
|`npm run flowchain:bridge:live:check`| bridge/ops | Base 8453 readiness | blocked on env |`devnet/local/production-l1-e2e/bridge-live-readiness-report.json`|
23
+
|`npm run flowchain:bridge:evidence:export`| ops/security | evidence | passed through emergency alias |`devnet/local/production-l1-e2e/evidence/flowchain-production-l1-evidence-export-report.json`|
|`npm run flowchain:export`| storage | backup/export | passed | final report step `Export local state`|
29
+
|`npm run flowchain:import`| storage | restore/import | passed | final report step `Import local state`|
30
+
|`npm run flowchain:restart:verify`| runtime/storage | restart recovery | passed |`devnet/local/node-smoke/one-node-smoke-report.json`|
31
+
|`npm run flowchain:l1:e2e`| integration | full local gate | passed |`devnet/local/full-smoke/flowchain-full-smoke-report.json`|
32
+
|`npm run flowchain:l1-e2e`| integration | compatibility alias | passed | explicit verification run passed |
33
+
|`npm run flowchain:real-value-pilot:e2e`| HQ/ops + subsystem owners | live pilot proof | incomplete by design | missing contracts, bridge-relayer, and runtime proof commands |
34
+
|`npm run flowchain:production-l1:e2e`| ops | final wrapper | passed with live blockers |`devnet/local/production-l1-e2e/flowchain-production-l1-e2e-report.json`|
35
+
|`npm run flowchain:no-secret:scan`| security | secret hygiene | passed |`devnet/local/production-l1-e2e/no-secret-scan-report.json`|
36
+
|`npm run flowchain:emergency:stop-local`| ops | emergency | command exists | stop-node plus port stop plan |
37
+
|`npm run flowchain:emergency:pause-bridge`| bridge/ops | emergency | command exists | guarded Base 8453 pause wrapper |
-`flowchain:emergency:stop-local`: requests local node stop and prints/manualizes control-plane and dashboard port stop commands unless `-StopKnownPorts` is explicitly passed to the script.
16
+
-`flowchain:bridge:emergency-stop`: routes to the guarded Base 8453 pause action.
17
+
-`flowchain:emergency:pause-bridge`: same guarded pause path.
18
+
-`flowchain:emergency:export-evidence`: writes a secret-scanned evidence bundle.
19
+
-`flowchain:emergency:print-recovery`: writes and prints recovery commands.
This file records commands run while building the `flowchain:production-l1:e2e` ops wrapper. The wrapper is a private/local gate and does not claim production readiness.
4
+
5
+
| Time | Command | Result | Notes |
6
+
| --- | --- | --- | --- |
7
+
| 2026-05-14 |`npm install`; `npm install --prefix apps/dashboard`; `npm install --prefix crypto`| passed | Installed local dependencies needed for strict smoke and dashboard build. |
| 2026-05-14 |`npm run flowchain:wallet:transfer:e2e`| passed | Local test-unit transfer recorded in devnet state. |
10
+
| 2026-05-14 |`npm run flowchain:dex:e2e`| passed | Product smoke proved token and DEX records. |
11
+
| 2026-05-14 |`npm run flowchain:production-l1:e2e`| passed with live blockers | Mock path passed; live Base pilot blocked on env and missing proof commands. |
12
+
| 2026-05-14 |`npm run flowchain:l1-e2e`| passed | Explicit compatibility alias verification. |
13
+
| 2026-05-14 |`npm run flowchain:real-value-pilot:e2e`| incomplete | Strict live pilot gate blocked by missing contracts, bridge, and runtime proof commands. |
0 commit comments