Skip to content

Fold recursion in the HUD breadcrumb and open the local map at start - #42

Merged
valuecodes merged 1 commit into
mainfrom
feat/breadcrumb-recursion
Oct 13, 2026
Merged

valuecodes merged 1 commit into
mainfrom
feat/breadcrumb-recursion

Conversation

@valuecodes

Copy link
Copy Markdown
Owner

What

  • Part 1/5 of Post-MVP additions: direct recursion folds into one breadcrumb entry, main() → countdown() ×3 ↻, instead of repeating the function once per frame.
  • Mutual recursion (a → b → a) stays spelled out, because its frames are not consecutive.
  • Stacks deeper than six entries keep the first caller, … and the last four, so the HUD line stays short.
  • The local map (M) is open at start; M hides it. The README controls table says so.

How to test

pnpm test
pnpm --filter web dev

Open http://localhost:3000/?code=portals, walk from main() through its door into countdown(), take the recursive portal twice and read the breadcrumb.

Security review

No security-impacting changes.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings October 13, 2026 18:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T18:41:40.668266Z 2755ca9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@valuecodes
valuecodes merged commit 6824f39 into main Oct 13, 2026
10 checks passed
@valuecodes
valuecodes deleted the feat/breadcrumb-recursion branch October 13, 2026 18:42
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.

2 participants