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
{{ message }}
Repository navigation
ADR 003: re-evaluate FeeRouter PoC stub allowance under 'production shape from day one' principle #547
ADR 003 § PoC stub allows the PoC wiring layer to deploy a stub FeeRouter performing only the 40% same-tx operator payout and accumulating the other 60% in a single treasury wallet.
This conflicts with the ADR 016 § Tunable Economics and CLAUDE.md commitment that the on-chain surface ships at "full production shape with governance-tunable economics from day one." A stub FeeRouter is not the full six-bucket split.
To lock: decide one of:
Remove the stub allowance — production FeeRouter mandatory from launch.
Keep the stub but pin it strictly to Arbitrum Sepolia testnet deployment with a removal milestone and an interface-contract test that proves stub ↔ production are wire-compatible at the StablePaymentChannel ↔ FeeRouter boundary.
ADR 003's PoC stub section allows a simplified FeeRouter (40% operator payout, 60% to treasury) in the PoC wiring layer. This directly contradicts the "production shape from day one" principle established in ADR 016 §Tunable Economics and affirmed in CLAUDE.md — the full six-bucket split must be present from launch, even if some buckets start at zero share. This is a consistency/design decision that needs to be locked before the contract implementation in #452 proceeds.
📊 Assessment
Dimension
Value
Reasoning
Type
Task
A concrete decision must be recorded — either remove the stub allowance or constrain it to Sepolia testnet with an interface-compat test
Decision required from maintainers: one of two paths must be chosen:
Remove stub allowance — delete or supersede the ADR 003 §PoC stub section. The production FeeRouter (six-bucket, governance-tunable shares per ADR 016 §Tunable Economics) is mandatory from the initial Sepolia deployment. This is the simpler path and aligns cleanly with CLAUDE.md and ADR: unify contract surface; drop PoC/Production phasing in favor of tunable economics #449.
Retain stub, constrain strictly — amend ADR 003 to scope the stub allowance exclusively to Arbitrum Sepolia testnet; add a removal milestone (e.g., mainnet deployment gate); and require a concrete interface-compatibility test proving the stub and production FeeRouter are wire-compatible at the StablePaymentChannel.settleChannel → FeeRouter.routeSettlement boundary.
Recommended path: Option 1. The six-bucket FeeRouter already supports zero-share buckets (per ADR 016 §Tunable Economics §3 — "inactive buckets accumulate zero with no reverts"), so the operational simplicity argument for the stub is moot. The stub adds maintenance burden and audit surface for no real benefit.
Sub-tasks if Option 1:
Strike/supersede the stub allowance text in adr/003-payments.md around line 540
Add a note cross-referencing ADR 016 §Tunable Economics as the authoritative spec for FeeRouter behavior
Activity
github-actions commentedon May 14, 2026
🎯 Triage report
ADR 003's PoC stub section allows a simplified
FeeRouter(40% operator payout, 60% to treasury) in the PoC wiring layer. This directly contradicts the "production shape from day one" principle established in ADR 016 §Tunable Economics and affirmed in CLAUDE.md — the full six-bucket split must be present from launch, even if some buckets start at zero share. This is a consistency/design decision that needs to be locked before the contract implementation in #452 proceeds.📊 Assessment
adr-review,consistency,economics,missing-decision,ADR🔗 Similar issues
FeeRouterscope (six-bucket, tunable shares) directly conflicts with the stub allowance still present in ADR 003. This issue should be resolved before Implement unified deCDN contract surface for audit (full 14-contract scope) #452 proceeds to implementation💡 Notes and suggestions
Decision required from maintainers: one of two paths must be chosen:
Remove stub allowance — delete or supersede the ADR 003 §PoC stub section. The production
FeeRouter(six-bucket, governance-tunable shares per ADR 016 §Tunable Economics) is mandatory from the initial Sepolia deployment. This is the simpler path and aligns cleanly with CLAUDE.md and ADR: unify contract surface; drop PoC/Production phasing in favor of tunable economics #449.Retain stub, constrain strictly — amend ADR 003 to scope the stub allowance exclusively to Arbitrum Sepolia testnet; add a removal milestone (e.g., mainnet deployment gate); and require a concrete interface-compatibility test proving the stub and production
FeeRouterare wire-compatible at theStablePaymentChannel.settleChannel→FeeRouter.routeSettlementboundary.Recommended path: Option 1. The six-bucket
FeeRouteralready supports zero-share buckets (per ADR 016 §Tunable Economics §3 — "inactive buckets accumulate zero with no reverts"), so the operational simplicity argument for the stub is moot. The stub adds maintenance burden and audit surface for no real benefit.Sub-tasks if Option 1:
adr/003-payments.mdaround line 540FeeRouterbehaviorFeeRouteronly (it already appears to, per its body)Sub-tasks if Option 2:
adr/003-payments.mdto scope stub to Sepolia only, add removal milestoneStablePaymentChannel↔FeeRouterboundary)forge testor type-level check to CI that enforces wire compatibility