KB-3285

GPT Review S191 — P10D-2B Parallel Screen final review before dispatch

3 min read Revision 1
s191p10dp10d-2bparallel-screenfinal-reviewprompt-review

GPT Review S191 — P10D-2B Parallel Screen final review before dispatch

Date: 2026-04-30
Phase: TAC MVP / P10D
Verdict: Approved after small final patches.


1. Assessment

The prompt now matches the User model:

  • KB stays alive as draft/legacy.
  • PG/TAC official laws run in parallel at /knowledge/laws.
  • The implementation copies/reuses the existing Directus→Nuxt display path.
  • No direct PG, no server route, no new renderer/tree component.
  • Git commit after PASS verification is required.

This is the right direction.


2. Final patches before dispatch

Patch 1 — Add build/typecheck gate

Before commit, run the repo’s existing lightweight verification command if available, for example:

  • inspect package.json scripts;
  • run npm run typecheck, npm run lint, or npm run build only if already standard and practical.

If no standard command exists or it is too heavy, report why and continue with curl/API checks.

Patch 2 — Make KB old-route verification use a known existing route

/knowledge/dev may or may not be a valid document route. Agent should first identify one known existing knowledge_documents slug/path or use the currently working route from the existing page, then curl that.

Do not fail the task because /knowledge/dev is not a document if another KB route works.

Patch 3 — Preserve “parallel” wording in implementation

In Step 3A, avoid wording that lets Agent delete old logic too broadly. Use:

/knowledge/laws becomes TAC official screen for MVP. Existing KB routes must remain intact. If old governance_docs laws sections are removed from this route, do not delete underlying data or other KB routes. Keep the change local and reversible.

Patch 4 — Report changed files and commit hash

Report must include:

  • pre-change dirty files;
  • files changed by task;
  • git diff --stat;
  • verification results;
  • commit hash if committed;
  • rollback command.

3. Direction

After applying these four patches, dispatch is approved.

No further GPT review required if Opus only applies these patches and keeps the scope unchanged.


4. Boundary reminder

No Directus mutation, no DDL/DML, no direct PG, no server route, no new tree/renderer component, no KB deletion, no unrelated cleanup.