Harden the production RFQ host boundary - #85
Open
0xMuang wants to merge 1 commit into
Open
Conversation
…observable host boundary Constraint: Demo backend remains unchanged and no new runtime dependency was added. Rejected: Hardening the demo backend | mixes local-only and production boundaries. Confidence: high Scope-risk: moderate Directive: Production deploy must replace reference bearer auth, in-memory limiter, and file store with operator auth, shared limiter, transactional DB, TLS, and WORM audit. Tested: RFQ/host/demo tests, hostile auth/rate/freshness/signer/audit/reserved recovery, diff Not-tested: scripts/check blocked by pre-existing forge fmt drift in script/DeployProductionCore.s.sol and script/DemoScenarios.s.sol; E2E skipped to preserve untracked deployments.
This was referenced Aug 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked dependency
Depends on #84 (
feature/rfq-durable-coordinator). This PR is intentionally based onfeature/rfq-durable-coordinator, notmain.Scope
scripts/check.shto include the production host while keeping the local demo backend unchanged.Tests / validation
npm test --prefix services/rfq— passes.npm test --prefix services/rfq-host— passes.npm test --prefix services/rfq-demo-backend— passes.npm test --prefix services/testnet-rfq-demo— passes.git diff --cached --check— clean before commit.contracts.md,deployments/, anddesc.mdwere preserved and not staged.Known blocker / not tested
scripts/check.shremains blocked by pre-existing forge fmt drift inscript/DeployProductionCore.s.solandscript/DemoScenarios.s.sol.deployments/artifacts.Production replacements required
This PR keeps reference implementations intentionally narrow. Production deployment must replace:
No merge into
mainis requested here.