Skip to content

refactor: delete stale app surfaces#262

Merged
jon-devlapaz merged 1 commit into
devfrom
feat/ponytail-deletions
Jun 17, 2026
Merged

refactor: delete stale app surfaces#262
jon-devlapaz merged 1 commit into
devfrom
feat/ponytail-deletions

Conversation

@jon-devlapaz

Copy link
Copy Markdown
Owner

Context & Intent

  • This removes dead app surfaces found by the supergoal ponytail audit.
  • Stems from the deletion/cleanup track executed from .supergoal/ROADMAP.md.

Implementation Details

  • Removed unused dependency declarations, disabled magic-auth endpoints, duplicate source input UI, legacy /api/extract text payload support, stale frontend storage migration, and the one-provider LLM adapter seam.
  • Kept blocker-documented compatibility where product truth still depends on it: remaining drill_status fallbacks and direct Gemini drill/repair paths.
  • Also fixed scripts/agent-push.py so first pushes of new feat/* branches work through the repo-owned authorization wrapper.

MVP / Deployment Risk Check

  • Does this logic rely on local behavior that might fail in Vercel serverless? No new local-only runtime dependency added.
  • Are there SSRF or error leakage risks in new external calls? No new external calls added.
  • If dealing with ingestion (e.g., YouTube), is the manual fallback preserved? Source/manual path preserved; unused YouTube transcript dependency declaration removed.

UX Framework Alignment (For UI/Drill changes)

  • Does this strictly enforce "Generation Before Recognition"? No learner-evidence shortcut added.
  • Does the graph still tell the truth (no faking mastery)? Yes; compatibility fallbacks retained where deletion would risk graph truth.
  • Is the active cognitive target explicitly clear to the user? Source attachment UI is unified, behavior preserved.

Verification:

  • bash scripts/doctor.sh
  • .venv/bin/pyrefly check
  • .venv/bin/mypy .
  • .venv/bin/pytest -q --ignore=tests/e2e
  • bash scripts/check-coverage.sh — 100% diff coverage
  • tests/test_agent_push.py -q — 27 passed

Remove dead dependency declarations, disabled magic-auth endpoints, the duplicate source attachment module, legacy extract text payload support, stale frontend storage migration, and the single-provider LLM adapter seam.

The previous code kept compatibility and abstraction surfaces that no longer had a live product path. This keeps the app's proof boundary smaller without adding new behavior.

Verified with doctor, pyrefly, mypy, targeted pytest/e2e groups, full non-e2e pytest, and scripts/check-coverage.sh at 100% diff coverage.
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
learn-ops-tamagachi Ready Ready Preview, Comment Jun 17, 2026 5:36am

@coderabbitai

coderabbitai Bot commented Jun 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e883a311-1db7-4dce-b770-4d8d92b632d8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/ponytail-deletions

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d13fecf125

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread main.py
return {"path": "extract", "text": req.text}

# New shape: name is mandatory
name = (req.name or "").strip()

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Migrate the remaining text-only smoke caller

Text-only requests now fall through to missing_concept here because the legacy branch was removed, but scripts/b9-python-smoke.py still documents and executes scenario 3 as POST /api/extract with only {"text": ...} and expects HTTP 200. That repo-owned smoke command will now report a failure even when extraction is healthy; update/delete that scenario or keep compatibility until the smoke is migrated.

Useful? React with 👍 / 👎.

@jon-devlapaz jon-devlapaz merged commit 0fcef05 into dev Jun 17, 2026
5 checks passed
@jon-devlapaz jon-devlapaz deleted the feat/ponytail-deletions branch June 17, 2026 05:45
jon-devlapaz added a commit that referenced this pull request Jun 17, 2026
Remove dead dependency declarations, disabled magic-auth endpoints, the duplicate source attachment module, legacy extract text payload support, stale frontend storage migration, and the single-provider LLM adapter seam.

The previous code kept compatibility and abstraction surfaces that no longer had a live product path. This keeps the app's proof boundary smaller without adding new behavior.

Verified with doctor, pyrefly, mypy, targeted pytest/e2e groups, full non-e2e pytest, and scripts/check-coverage.sh at 100% diff coverage.
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.

1 participant