Skip to content

Add Not Magic advisory config#1

Open
fentonbenjamin wants to merge 15 commits into
mainfrom
codex/notmagic-github-smoke
Open

Add Not Magic advisory config#1
fentonbenjamin wants to merge 15 commits into
mainfrom
codex/notmagic-github-smoke

Conversation

@fentonbenjamin
Copy link
Copy Markdown
Owner

Summary

  • Add a tiny .notmagic.yaml advisory config for GitHub integration smoke testing
  • Enables release readiness, ownership, observability, and rollback scope checks in advisory mode
  • Leaves the app runtime unchanged

Verification

  • npm run build

fentonbenjamin and others added 14 commits March 27, 2026 09:32
Badges → title → spine lines fade in sequentially, giving
the output a composed-not-dumped feel.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Client was crashing at import time when OPENAI_API_KEY
wasn't available during static page collection.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Users can pick gpt-4.1, local (no LLM), or auto (try LLM,
fall back to local). Fallback reason shown in result badges.
Enables side-by-side comparison of LLM vs heuristic shaping.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Three LLM options in dropdown. Any failure silently falls back to
local heuristic engine with a note explaining why. No explicit
local option in the picker — it's the safety net, not a choice.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Google OAuth + magic link sign-in (wow before login)
- Save button on results — prompts sign-in if anonymous
- Full canonical ShapeResult saved as JSONB
- History page at /history with shape listing
- RLS: users can only see their own shapes
- Schema: shapes, collections, collection_items

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Use getSession() instead of getUser() to avoid hanging
- Add catch/finally so loading always resolves
- Client-only mount for UserMenu to prevent hydration mismatch
- Tagline: "Paste text, get structured meaning."

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Gemini returns evidence as string instead of string[].
Coerce before Zod parse so all three models pass validation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Lazy-load Supabase client in useEffect to avoid SSR/hydration
failures that caused blank white screen in production.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Permalink pages at /s/[id] — shareable links for saved shapes
- RLS: shapes publicly readable, owner-writable
- Save returns permalink, "Copy link" button appears after save
- Auto-save after sign-in if save was pending
- Rich history page with spine preview and badges
- Mobile-responsive: wrapping controls, smaller textarea, fluid layout
- Supabase auth redirects fixed for production URL
- listShapes now returns result JSONB for spine display

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Remove history from UserMenu (header button is enough)
- Allow empty spine from model, fallback to title
- Prevents "Too small: expected array >=1 items" validation error

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@not-a-magic
Copy link
Copy Markdown

not-a-magic Bot commented May 4, 2026

Not Magic — advisory

Stable — all scopes resolved

Resolved: testing, observability, ownership, rollback, general


Show what this relies on · Report · Chain #15 · Advisory only.

@fentonbenjamin
Copy link
Copy Markdown
Owner Author

Added an intentional Not Magic smoke conflict in docs/notmagic-smoke-conflict.md. The PR claims release readiness while declaring unresolved rollback ownership, muted observability, missing production-scale evidence, and no recovery owner. Expected advisory result: build safety may be relied on, release readiness should not be.

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