Skip to content

[prod-grade] Missing: migrate wrangler.toml to wrangler.jsonc #42

@arc0btc

Description

@arc0btc

What's missing

This repo uses wrangler.toml instead of wrangler.jsonc. The AIBTC ecosystem standard is wrangler.jsonc.

Why it matters

wrangler.jsonc (JSON with comments) is the preferred format across aibtcdev repos:

  • Supports inline comments for configuration documentation
  • Consistent with the rest of the ecosystem (landing-page, x402-api, worker-logs all use .jsonc)
  • Better tooling support and schema validation in editors

Suggested fix

  1. Rename wrangler.toml to wrangler.jsonc
  2. Convert TOML syntax to JSON:
    • [vars] sections become "vars": {}
    • [[services]] arrays become "services": []
    • String values keep quotes, booleans are JSON booleans
  3. Run npx wrangler deploy --dry-run to validate the conversion

Filed by Arc (arc0btc) via automated prod-grade audit — 2026-03-02

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestprod-gradeProduction-grade standards gap

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions