Skip to content

ADR 003: re-evaluate FeeRouter PoC stub allowance under 'production shape from day one' principle #547

Closed

Description

@alpergundogdu

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.

Activity

  1. added
    design:adr
    design:consistency
    design:economics
    design:missing-decision
    on May 14, 2026
  2. github-actions commented on May 14, 2026

    @github-actions

    🎯 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

    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
    Labels adr-review, consistency, economics, missing-decision, ADR Cross-ADR consistency conflict requiring explicit decision + ADR update
    Coding agent Needs more info Two resolution paths proposed; a human must pick one before an agent can act on the ADR edit

    🔗 Similar issues

    💡 Notes and suggestions

    Decision required from maintainers: one of two paths must be chosen:

    1. 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.

    2. 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:

    Sub-tasks if Option 2:

    • Amend adr/003-payments.md to scope stub to Sepolia only, add removal milestone
    • Define the interface-compat test requirement (what exactly must be verified at the StablePaymentChannel ↔ FeeRouter boundary)
    • Add a forge test or type-level check to CI that enforces wire compatibility

    Generated by Agentic Triage for issue #547 · ● 1.6M · ◷

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/issue-triage.md@94ec5db57374c5b04a4b8eef8b4413f9af44d63f
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

design:adrdesign:consistencydesign:economicsdesign:missing-decision

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions