Commit Graph

88 Commits

Author SHA1 Message Date
Devin AI
9ebb056869 docs(chain138): EnhancedSwapRouter deployed (Phase 3) + 3 cBTC pools wired (Phase 3j)
Some checks failed
AI Code Review / claude-review (pull_request) Failing after 59s
Updates ADDRESS_MATRIX_AND_STATUS.md and PMM_DEX_ROUTING_STATUS.md to reflect:

- EnhancedSwapRouter is deployed at 0xE6Cc7643ae2A4C720A28D8263BC4972905d7DE0f
  on Chain 138 (2026-04-22, EVM Paris). Wired immutables: UniV3, Dodoex
  (Stack-A 0x86ADA6Ef...), Balancer, 1inch; Curve disabled. dodoLiquidityProvider
  set to Stack-A 0x3f72963....

- 11 DODO pools registered bidirectionally in dodoPoolAddresses[tokenA][tokenB]:
  8 at deploy + 3 cBTC pools (cBTC/cUSDT, cBTC/cUSDC, cBTC/cXAUC) added
  Phase 3j 2026-04-22 via setDodoPoolAddress(...).

- Multi-provider DEX routing capability summary updated from "No (router not
  deployed)" to "Partial — DODO Stack-A path live; UniV3/Balancer/1inch slots
  wired but inactive (no native pools / no pool ids)."

- Liquidity Engine and DEX routing status rows updated to reflect the partial
  activation state. Balancer pool ids per-pair via setBalancerPoolId(...) and
  native UniV3/1inch pools on Chain 138 remain follow-ups.

Stacks on top of PR #17 (Stack-A canonicalization).

Co-Authored-By: Nakamoto, S <defi@defi-oracle.io>
2026-04-29 10:44:00 +00:00
Devin AI
9286a95fce docs(chain138): canonicalize Stack-A DODO PMM stack (live, traded)
Some checks failed
AI Code Review / claude-review (pull_request) Failing after 1m14s
Validate (PR) / run-all-validation (pull_request) Successful in 26s
On-chain probe (2026-04-22) confirms two parallel DODOPMM deployments on
Chain 138. Stack A is the live, traded one:

- DODOPMMIntegration (Stack A): 0x86ADA6Ef91A3B450F89f2b751e93B1b7A3218895
- DODOPMMProvider    (Stack A): 0x3f729632E9553EBacCdE2e9b4c8F2B285b014F2e
- 8 registered pools, all isKnownPool=true, with traded liquidity
  (cUSDT/cUSDC, cUSDT/USDT, cUSDC/USDC, cBTC/cUSDT, cBTC/cUSDC,
   WETH/USDC, WETH/USDT, cBTC/cXAUC).

Stack B (DODOPMMIntegration=0x5BDc62f1..., DODOPMMProvider=0x5CAe6Ce1...,
pools 0xff8d3b8f.../0x6fc60D.../0x9f74Be...) is a parallel deployment
with seeded but un-traded pools (10M/10M flat or 0/0). Earlier docs that
cited Stack B as canonical are superseded.

Updates:
- .cursor/rules/chain138-tokens-and-pmm.mdc: replace integration + pool
  addresses with Stack A; add provider, cBTC, and full live-pool table.
- docs/11-references/ADDRESS_MATRIX_AND_STATUS.md: re-version to
  2026-04-22; show both stacks with status flags; add 5 cBTC/WETH pools;
  flip EnhancedSwapRouter row from Not deployed to Pending Phase 3.
- docs/11-references/PMM_DEX_ROUTING_STATUS.md: rewrite executive
  summary; refer to Phase 3 LAN deploy command.

No code change. Companion to atomic-swap-dapp PR #4 (frontend
routing-honesty) and the upcoming Phase 3 EnhancedSwapRouter deploy.

Co-Authored-By: Nakamoto, S <defi@defi-oracle.io>
2026-04-29 04:19:06 +00:00
Devin AI
9e0795dbc4 ci(phoenix): workflow_dispatch reinstall for phoenix-deploy-api on CT 5700
Some checks failed
AI Code Review / claude-review (pull_request) Failing after 1m11s
Validate (PR) / run-all-validation (pull_request) Successful in 24s
Closes the gap where phoenix-deploy-api/server.js on master is the real
implementation, but the running service on CT 5700 is the older stub
that returns 'Deploy request queued (stub)' for every target.

The new workflow .gitea/workflows/bootstrap-phoenix-deploy-api.yml is
manual-only (workflow_dispatch). When triggered it:

  1. Validates the repo layout (phoenix-deploy-api/server.js MUST NOT
     contain the stub string).
  2. Tars phoenix-deploy-api/ + config/public-sector-program-manifest.json
     into a deploy bundle.
  3. scp's the bundle to the PVE node that hosts CT 5700 using a
     dedicated deploy SSH key (PHOENIX_PVE_SSH_KEY repo secret).
  4. pct push / pct exec the bundle into the CT and runs the existing
     phoenix-deploy-api/scripts/install-systemd.sh which already drops
     /opt/phoenix-deploy-api/, writes the systemd unit, and restarts
     the service.
  5. Health-checks GET http://<dev-vm>:4001/health (with retry).
  6. Posts a non-stub probe: POST /api/deploy with target __bootstrap_probe__
     + the deploy bearer token. Fails the workflow if the response body
     still contains 'Deploy request queued (stub)' or any auth-rejection
     signal. That gives an unambiguous post-bootstrap health signal in
     CI logs without depending on a successful real deploy.

Required new secrets (documented in docs/04-configuration/DEVIN_GITEA_PROXMOX_CICD.md
section 3a):
  PHOENIX_PVE_HOST, PHOENIX_PVE_USER (default root), PHOENIX_PVE_SSH_KEY,
  PHOENIX_PVE_KNOWN_HOSTS (optional), PHOENIX_DEV_VM_VMID (default 5700),
  PHOENIX_DEPLOY_DEV_VM_IP (default 192.168.11.59).

Triggered manually only — bootstrap is sensitive enough that we do NOT
fire on every master push. Once the running service on CT 5700 is
post-stub, the existing deploy job in deploy-to-phoenix.yml will
actually execute scripts/deployment/deploy-atomic-swap-dapp-5801.sh on
each push instead of returning a 202 stub.

Co-Authored-By: Nakamoto, S <defi@defi-oracle.io>
2026-04-28 19:05:36 +00:00
defiQUG
d9a3053a58 Harden deployment env flows and surface external blockers
Some checks failed
Deploy to Phoenix / validate (push) Failing after 10s
Deploy to Phoenix / deploy (push) Has been skipped
Deploy to Phoenix / deploy-atomic-swap-dapp (push) Has been skipped
Deploy to Phoenix / cloudflare (push) Has been skipped
2026-04-22 14:47:52 -07:00
defiQUG
b8613905bd chore: sync workspace — configs, docs, scripts, CI, pnpm, submodules
Some checks failed
Deploy to Phoenix / validate (push) Failing after 15s
Deploy to Phoenix / deploy (push) Has been skipped
- Submodule pins: dbis_core, cross-chain-pmm-lps, mcp-proxmox (local, push may be pending), metamask-integration, smom-dbis-138
- Atomic swap + cross-chain-pmm-lops-publish, deploy-portal workflow, phoenix deploy-targets, routing/aggregator matrices
- Docs, token-lists, forge proxy, phoenix API, runbooks, verify scripts

Made-with: Cursor
2026-04-21 22:01:33 -07:00
defiQUG
4fab998e51 chore: sync workspace docs, configs, and submodules
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 9s
2026-04-18 12:07:15 -07:00
defiQUG
ee95e980e9 Add RTGS later-phase sidecar deployment scaffolding
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 6s
2026-03-29 02:28:15 -07:00
defiQUG
179798a9df Add RTGS control-plane deployment scaffolding
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 7s
2026-03-29 02:24:12 -07:00
defiQUG
c25344abdf Add RTGS custody and liquidity operating models
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 5s
2026-03-29 02:12:45 -07:00
defiQUG
1b74070674 Add RTGS depository custody FX and liquidity layers
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 5s
2026-03-29 02:10:40 -07:00
defiQUG
5618f95426 Add Gitea act runner bootstrap tooling
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 4s
2026-03-29 01:23:57 -07:00
defiQUG
e70964ef2d Document RTGS FX and Indonesia banking integration
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 7s
2026-03-29 00:41:48 -07:00
defiQUG
d513ac35c0 Freeze OMNL-backed SCSM first-slice status
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 6s
2026-03-29 00:29:29 -07:00
defiQUG
4ef9ca58ef Deploy DBIS RTGS first-slice sidecars
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 6s
2026-03-29 00:01:34 -07:00
defiQUG
3f8d1a1e2c Freeze DBIS RTGS first production slice
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 5s
2026-03-28 23:49:59 -07:00
defiQUG
dfe81767e3 Add DBIS RTGS integration decision artifacts
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 5s
2026-03-28 23:44:30 -07:00
defiQUG
01b3ead3ef Add DBIS RTGS E2E requirements matrix
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 7s
2026-03-28 23:36:43 -07:00
defiQUG
fba855ec9e Add DBIS RTGS and Hyperledger integration TODOs
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 7s
2026-03-28 23:33:25 -07:00
defiQUG
d6aebf3c43 Reclassify DBIS placeholder Hyperledger CTs
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 6s
2026-03-28 23:21:51 -07:00
defiQUG
7d0462c1c1 Clarify DBIS Hyperledger runtime dispositions
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 6s
2026-03-28 23:17:48 -07:00
defiQUG
3ae57191b5 Add DBIS phases 1-3 production gate
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 5s
2026-03-28 23:08:39 -07:00
defiQUG
6f53323eae Finalize DBIS infra verification and runtime baselines
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 6s
2026-03-28 19:18:32 -07:00
defiQUG
7e546ec9e3 feat(e2e): add SSO, docs.d-bis, blockscout.defi-oracle to routing verifier
- DOMAIN_TYPES_ALL: keycloak/admin/portal/dash, docs.d-bis.org,
  blockscout.defi-oracle.io (web)
- E2E_OPTIONAL_WHEN_FAIL: same set for soft failures off-LAN
- Optional Blockscout /api/v2/stats for blockscout.defi-oracle.io
- print-gitea-actions-urls.sh: browser URLs (Actions API not relied on)
- E2E_ENDPOINTS_LIST + FQDN inventory alignment updated

Made-with: Cursor
2026-03-28 17:29:50 -07:00
defiQUG
7245e3e9d4 docs(fqdn): align SSO/dash/blockscout rows with EXPECTED_WEB_CONTENT v1.5
- Link Deployment Status matrix; portal 7801 + sync script; admin/dash intent
- blockscout.defi-oracle.io as full table row (VMID 5000, not canonical 138)
- Tighten inventory alignment footer

Made-with: Cursor
2026-03-28 16:49:26 -07:00
defiQUG
f7c9f8a069 docs(storage): 7811 logrotate hardening; post-fstrim r630-01 %; cloudflared token note
Made-with: Cursor
2026-03-28 16:30:43 -07:00
defiQUG
da93f8dbb6 fix(storage-monitor): subshell-safe ALERTS, ordered node loop; doc fleet pass
- Replace pipe-while with process substitution so alerts accumulate.
- Iterate ml110→r630-04 in fixed order; tolerate unreachable optional nodes.
- STORAGE_GROWTH_AND_HEALTH: 2026-03-28 follow-up (7811 syslog, 10100 resize,
  I/O pass, ZFS scrub, md0 healthy, table refresh for r630-01/02/ml110).

Made-with: Cursor
2026-03-28 16:15:59 -07:00
defiQUG
e0bb17eff7 ops: oracle publisher LXC 3500/3501, CT migrate docs, Besu/RPC maintenance
- Provision oracle-publisher on CT 3500 (quoted DATA_SOURCE URLs, dotenv).
- Host-side pct-lxc-3501-net-up for ccip-monitor eth0 after migrate.
- CoinGecko key script: avoid sed & corruption; document quoted URLs.
- Besu node list reload, fstrim/RPC scripts, storage health docs.
- Submodule smom-dbis-138: web3 v6 pin, oracle check default host r630-02.

Made-with: Cursor
2026-03-28 15:22:23 -07:00
defiQUG
70efa081fe Use Gitea as explorer primary and harden wallet metadata
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
2026-03-28 13:40:44 -07:00
defiQUG
023603e0c2 chore(besu,docs): node lists (.237/.238), deploy scripts, 2138 wallet + MetaMask JSON
- static-nodes.json + permissions-nodes.toml: add enodes for 192.168.11.237–238
- deploy-besu-node-lists-to-all.sh / restart-besu-reload-node-lists.sh: tighten Besu deploy/restart flow
- CHAIN2138_WALLET_CONFIG_VALIDATION.md, METAMASK_NETWORK_CONFIG_2138.json
- Cross-links: CHAIN138 wallet validation, MASTER_INDEX, runbook, meta fixes
- NEXT_STEPS_INDEX + TODOS_CONSOLIDATED: 2026-03-28 completable + operator run note

Made-with: Cursor
2026-03-28 00:25:13 -07:00
defiQUG
918dc3e75b docs(web): complete deployment table for portal, blockscout.defi-oracle.io
- Replace TBD rows with portal 7801 typical upstream + sync script ref
- admin/dash: intent + explicit non-pinned VMID until NPM inventory
- blockscout.defi-oracle.io: VMID 5000 / .140:80 per routing docs, not canonical 138 brand
- Table footnote + doc version 1.5

Made-with: Cursor
2026-03-28 00:08:15 -07:00
defiQUG
c3219c0a0c docs: 2138 runbook E4 reflects Wagmi toggle; bump explorer + smom SHAs
Made-with: Cursor
2026-03-27 22:22:34 -07:00
defiQUG
1f308fb24b docs(testnet): 2138 runbook + link from TESTNET_DEPLOYMENT
Made-with: Cursor
2026-03-27 22:14:22 -07:00
defiQUG
e01c906e56 docs(ops): submodule hygiene guide, verify script, rule/doc alignment
- Add docs/00-meta/SUBMODULE_HYGIENE.md (detached HEAD, remotes, JSON refs)
- Add scripts/verify/submodules-clean.sh (labeled dirty-tree report)
- AGENTS.md + CONTRIBUTOR_GUIDELINES + OPERATOR_READY_CHECKLIST + MASTER_INDEX
- chain138-tokens-and-pmm: DODOPMMIntegration 0x5BDc62… per ADDRESS_MATRIX
- Bump smom-dbis-138 + explorer-monorepo (config READMEs, explorer env loading)

Made-with: Cursor
2026-03-27 22:12:46 -07:00
defiQUG
1e27cc83c2 docs: EXPECTED_WEB_CONTENT — The Order (10210), studio, www 301
- Hostname model + §2b deployment (HAProxy → portal), alignment summary, diagram, deployment table
- Version 1.3; matches FQDN_EXPECTED_CONTENT and live NPM routing

Made-with: Cursor
2026-03-27 19:10:37 -07:00
defiQUG
d38581f04a docs: README, master index, Cursor rules, summary reports
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Made-with: Cursor
2026-03-27 18:50:37 -07:00
defiQUG
cc6d0705da docs: references, network, besu, CCIP, troubleshooting, archive, quick ref
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Made-with: Cursor
2026-03-27 18:50:28 -07:00
defiQUG
dedb55e05c docs(03-deployment): runbooks and deployment status updates
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Made-with: Cursor
2026-03-27 18:48:41 -07:00
defiQUG
eeef9cce3e docs(02-architecture): hostname model, intent, and architecture updates
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Made-with: Cursor
2026-03-27 18:47:18 -07:00
defiQUG
563729aa19 docs(00-meta): refresh task lists, gaps, and operator indexes
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Made-with: Cursor
2026-03-27 18:47:08 -07:00
defiQUG
790e489538 docs: FQDN matrix, public-sector baseline, Chain138 runbooks, eIDAS repo reference
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Made-with: Cursor
2026-03-27 18:46:56 -07:00
defiQUG
2a5748ddc0 chore(docs): prune E2E verification dirs older than 30d; sync evidence tree
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Made-with: Cursor
2026-03-27 18:46:17 -07:00
defiQUG
2d4b35c3ee docs(stage4): archive deployment-reports README + E2E evidence hygiene
- deployment-reports: historical notice + SOT links (no per-file edits)
- archive README: link deployment-reports folder
- E2E_ENDPOINTS_LIST: evidence retention + prune script pointer
- prune-e2e-verification-evidence.sh: dry-run default, --apply + KEEP_DAYS

Made-with: Cursor
2026-03-27 16:41:49 -07:00
defiQUG
f0fb00987a docs(stage3): MASTER_PLAN/TODO + NOT_IMPLEMENTED — R21 complete
- MASTER_PLAN gaps + §3.1 table rows for the-order / cutover
- MASTER_TODO_EXPANDED: R21 [x]; Config/DNS GAPS tasks [x]
- NOT_IMPLEMENTED: Sankofa/Order row = routing done, scope note
- HIGH_PRIORITY R21–R24 line; BLITZKRIEG R21–R22 blurb

Made-with: Cursor
2026-03-27 15:41:47 -07:00
defiQUG
70a6d66e4d docs(stage2): mark R21 / Sankofa cutover done across 00-meta checklists
- REMAINING_TASKS_BREAKDOWN_MISSING_INFO §2 + step 4
- REMAINING_WORK_BREAKDOWN_AND_ANSWERS Sankofa Q&A + one-line summary
- REMAINING_COMPONENTS R21; operator-only + improvements + checklists

Made-with: Cursor
2026-03-27 15:40:45 -07:00
defiQUG
21c839b9b5 docs(stage1): GAPS + placeholders master — The Order / cutover live
- GAPS §2.1: replace TBD table with 2026-03 live routing + cutover v1.1 note
- PLACEHOLDERS: Sankofa cutover row matches SANKOFA_CUTOVER_PLAN v1.1

Made-with: Cursor
2026-03-27 15:38:40 -07:00
defiQUG
4f383490a3 docs(A): sync high-value runbooks for The Order (10210 HAProxy)
- SANKOFA_CUTOVER_PLAN: live backends table, fix TBDs, historical step labels
- SANKOFA_THE_ORDER_CHECKLIST: replace with done + bypass + pointers
- DNS comprehensive + streamlined tables: the-order row and sankofa zone live
- E2E Cloudflare runbook: the-order backend column

Made-with: Cursor
2026-03-27 15:24:54 -07:00
defiQUG
a086c451c3 docs: sync The Order routing (10210 HAProxy) and fix stale TBDs
- E2E, ALL_VMIDS, operator checklist, RPC_ENDPOINTS_MASTER, DNS/NPM architecture
- PROXMOX deployment template: the-order wired via 10210
- Placeholders master + r630-02 incomplete summary for 10210
- CT 10210: chown /var/cache on host idmap (mandb clean) — applied on cluster

Made-with: Cursor
2026-03-27 15:06:06 -07:00
defiQUG
430431f2f6 feat(order): HAProxy on 10210, NPM → 192.168.11.39:80
- Add order-haproxy config template and provision-order-haproxy-10210.sh (SSH to r630-01)
- Document one-time unprivileged CT idmap chown repair when apt fails
- Default THE_ORDER_UPSTREAM_* to IP_ORDER_HAPROXY:80; portal bypass via env
- Align update-sankofa-npmplus-proxy-hosts.sh, AGENTS, ALL_VMIDS, E2E notes

Made-with: Cursor
2026-03-27 14:05:37 -07:00
defiQUG
436b13ad3d docs: E2E evidence after operator NPM sync (2026-03-27)
- Public + private verification reports (e2e-verification-20260327_134032 / _134137)
- E2E_ENDPOINTS_LIST: refresh stats and note rpc.defi-oracle.io optional-when-fail behavior

Made-with: Cursor
2026-03-27 13:42:50 -07:00
defiQUG
a2645b5285 NPM: validate canonical_https for www redirects; docs and env example
- Reject non-https, paths, and injection-prone chars in advanced_config 301 targets
- E2E list: phoenix marketing note, the-order HAProxy remediation, 2026-03-27 passes
- AGENTS.md: scoped Cloudflare token pointer; smom-dbis-138 dotenv load note
- .env.master.example: DNS script flags and scoped token guidance

Made-with: Cursor
2026-03-27 12:29:40 -07:00