Skip to content

chore(docs): remove tmp-builder-codes-outline.mdx from repo root#1716

Open
Kewe63 wants to merge 1 commit into
base:masterfrom
Kewe63:fix/1472-delete-tmp-builder-codes-outline
Open

chore(docs): remove tmp-builder-codes-outline.mdx from repo root#1716
Kewe63 wants to merge 1 commit into
base:masterfrom
Kewe63:fix/1472-delete-tmp-builder-codes-outline

Conversation

@Kewe63

@Kewe63 Kewe63 commented Jul 13, 2026

Copy link
Copy Markdown

Summary

Closes #1472

The file tmp-builder-codes-outline.mdx is committed at the repository root with a tmp- prefix that signals "temporary working draft." It is publicly visible on master.

The draft content is also factually incorrect: it renders capabilities as an array:

capabilities: [{ dataSuffix }]

when the actual ERC-5792 spec defines capabilities as an object. This contradicts the canonical docs/apps/builder-codes/ pages (lines verified — builder-codes.mdx:98, wallet-developers.mdx, app-developers.mdx:201), which correctly use the object form throughout. A developer copy-pasting the draft example would produce invalid ERC-5792 calls that spec-compliant wallets reject.

Deleted the draft. Production docs under docs/apps/builder-codes/ have no dependency on it, so removal is safe.


Changes

  • tmp-builder-codes-outline.mdx — deleted (342 lines removed, no additions). Contained "Builder Codes Implementation" and "Implementation for Wallets" draft sections.

Verification

  • Confirmed file is NOT referenced from any other file: grep -rn tmp-builder-codes-outline docs/ returns zero hits — no internal links depend on it.
  • Confirmed canonical docs (docs/apps/builder-codes/builder-codes.mdx, wallet-developers.mdx, app-developers.mdx) already use the object-form capabilities. Deleting the draft is consistent with that.
  • File diff: git diff --stat HEAD shows only this single file deletion (-342).

Side Benefit

This transitively resolves issue #1473 ("[Bug] capabilities field incorrectly shown as array in ERC-5792 code examples"), which referenced only tmp-builder-codes-outline.mdx — there is no other in-tree location using the array form. The canonical docs/builder-codes files already use the object form, so the array-form bug is fully removed by this deletion.


Checklist

  • Single-file deletion
  • grep confirms no refs from other files
  • git diff --stat shows 1 file, -342 lines
  • Pre-merge: Mintlify build should reflow correctly with the draft removed (no nav references since the file was at repo root, outside docs/)

Risk & Impact

None. Deletion of an unreferenced, factually incorrect draft file at the repo root. No canonical docs, nav config, or code depend on it.

Type: 🧹 Chore
Closes: #1472

The file `tmp-builder-codes-outline.mdx` (prefixed with `tmp-`, indicating
a temporary working draft) is committed at the repository root and publicly
visible on master. The draft content is also factually incorrect: it
renders `capabilities` as an array (`capabilities: [{ dataSuffix }]`) when
the actual ERC-5792 spec defines it as an object — contradicting the
canonical `docs/apps/builder-codes/` pages (which correctly use the
object form throughout).

Production documentation already lives under `docs/apps/builder-codes/`
and has no dependency on this draft, so removing the draft file:

- Prevents developers from copy-pasting the array-form example, which
  would produce invalid ERC-5792 calls rejected by spec-compliant wallets
- Cleans up the repo root from non-production files
- Resolves the duplicate of issue base#1473 (capabilities field format)
  transitively, since the only canonical place the array form appeared
  was this draft

Closes base#1472
@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/2
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Temporary file tmp-builder-codes-outline.mdx committed to master branch

2 participants