Skip to content

feat(contrib): implement mock route suites for issues 99, 100, 101, 109 - #387

Merged
davedumto merged 1 commit into
Vellar-Wallet:devfrom
k-deejah:feat/contrib-mock-routes
Aug 31, 2026
Merged

feat(contrib): implement mock route suites for issues 99, 100, 101, 109#387
davedumto merged 1 commit into
Vellar-Wallet:devfrom
k-deejah:feat/contrib-mock-routes

Conversation

@k-deejah

Copy link
Copy Markdown

Summary

This PR bundles the implementations for four simulated backend route suites into the contrib/routes/ sandbox directory. Each suite is self-contained with a standalone mock server, automated test script, and documentation.

No files outside of the contrib/ directory were modified.

Implementations

Testing

Each directory includes a test.js script that uses child_process and Node's native fetch to automatically spin up the mock server, run a battery of requests verifying all edge cases, print the outputs, and safely tear down the server.

Closes #99
Closes #100
Closes #101
Closes #109

- Resolves Vellar-Wallet#99: Adds x402-challenge-suite to simulate 402 payment required challenges and retries.
- Resolves Vellar-Wallet#100: Adds session-budget-suite to mock session key spend enforcement and tracking.
- Resolves Vellar-Wallet#101: Adds policy-catalog-suite to validate policy configurations against predefined rules.
- Resolves Vellar-Wallet#109: Adds audit-aggregation-suite with support for combined filtering and summary aggregation.
- All implementations include a standalone Node.js server, an automated test script, and a README, strictly isolated within contrib/.
@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

@k-deejah is attempting to deploy a commit to the david's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

Hi @k-deejah — thanks for the contribution!

We do not accept pull requests to the main branch. All contributions go to the dev branch, so I've automatically retargeted this PR from main to dev for you.

You don't need to reopen anything — your work is preserved and this PR now targets dev. Going forward, please set the base branch to dev when you open a PR. 🙏

@github-actions
github-actions Bot changed the base branch from main to dev August 31, 2026 00:17
@davedumto
davedumto merged commit 13d9282 into Vellar-Wallet:dev Aug 31, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants