Repository navigation
PR #33 — Kuan Central Estratégica do Guardião - #33
Merged
NomosLudens merged 2 commits intoJul 12, 2026
Merged
Conversation
Contributor
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
kuan | 5a547ae | Jul 12 2026, 03:05 AM |
NomosLudens
deleted the
codex/integrate-kuan-strategic-plan-functionality
branch
September 4, 2026 00:22
NomosLudens
pushed a commit
that referenced
this pull request
Sep 4, 2026
…-plan-functionality PR #33 — Kuan Central Estratégica do Guardião
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
aea896809fd1f4d6e4f050468742cc264e04d870(checkout local sem remoteorigin).Description
supabase/migrations/20260712001000_repair_pr32_security_boundaries.sqlque revoga grants globais inseguros e restabelece policies/grants coerentes para threads públicas e mensagens (ownership viaauth.uid()), sem editar a migration histórica do PR PR #32 — Security Boundaries & Database Canon #32.supabase/migrations/20260712002000_create_kuanyin_strategic_plan.sqlcriando as tabelaskuanyin_business_plans,kuanyin_plan_decisions,kuanyin_plan_milestones,kuanyin_plan_review_cycles,kuanyin_plan_reviewsekuanyin_plan_linkscom constraints, índices, triggersupdated_ate RLS baseada emkuanyin_guardians.user_id = auth.uid().src/lib/kuan-plan.functions.ts(workspace, upsert plan, propose/transition/supersede decisions, milestones, review cycles, reviews, link/unlink entities) e helper de ownership; regras de transição e validações emsrc/lib/kuan-plan.transitions.ts./kuan/planoviasrc/routes/_authenticated/kuan.plano.tsxe implementação da página emsrc/features/kuan-plan/KuanPlanPage.tsxcom componentes auxiliaresPlanDecisionCardePlanDialogse entrada noAPP_REGISTRYe CTA no cabeçalho de/kuan.src/lib/kuan/plan-context.server.ts) e inclusão condicional emsrc/routes/api/chat.tssomente paraaudience === guardian_privateusandoguardianId/businessContextIdconfiáveis.KuanyinActionSchemaeKuanyinActionCardpara suportarkuanyin.plan.direction.propose,kuanyin.plan.decision.proposeekuanyin.plan.milestone.propose, todas com preview/ confirmação manual antes de persistir.src/lib/kuan-plan.transitions.test.ts,src/lib/kuan-plan-context.test.ts) e extensão dos testes de extração de ações (src/lib/kuanyin-action.test.ts), e checklist de QA manual emdocs/qa/PR33_KUAN_CENTRAL_ESTRATEGICA.md.Testing
bun run test— all tests passed: 242 tests (22 files) — ✅bun run typecheck(tsc --noEmit) — succeeded — ✅bun run lint— succeeded after formatting fixes (warnings foranyremain as non-blocking lints) — ✅bun run build— production build completed successfully — ✅bun run format:check— failed due to unrelated legacy docs (docs/qa/KUAN_CALENDAR_PRIVACY_RUNTIME_CHECKLIST.mdanddocs/qa/KUAN_COMMERCIAL_CONTEXT_INTERPRETER_CHECKLIST.md) outside this diff —bun run start— failed in this environment becauseserve.mjsexpected/workspace/kuan/server.jswhile build emitsdist/server/server.js; runtime startup issue detected (environment/serve script mismatch), treated as an environment limitation —Notes: security migration was committed as the first isolated change; QA with a real Supabase instance is required before final approval (checklist added in docs).
Codex Task