Skip to content

Commit 38b97fa

Browse files
committed
docs: mark branch implementation phase complete
1 parent ea86c3a commit 38b97fa

1 file changed

Lines changed: 23 additions & 12 deletions

File tree

‎plans/README.md‎

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,47 @@
22

33
This folder tracks remaining DebateLab product work. The source tree is the authority: a plan is active only when it describes work that is not already present on the current branch.
44

5-
## NOW
5+
## Current branch status
66

7-
1. **Sparring v1** — turn DebateLab from a preparation toolbox into a repeatable training loop: motion → side → opponent exchange → qualitative scorecard → targeted next drill.
8-
2. **Verification loop** — keep PR CI deterministic, add browser coverage for the critical product journeys, and prepare authenticated staging E2E without applying or deploying any Supabase changes from this branch.
9-
3. **Post-remediation security validation** — verify the August security findings against current source and add regression tests around the remediated trust boundaries.
7+
`feature/sparring-verification-retention-loop` implements the planned product/verification source work:
108

11-
## NEXT
9+
- Sparring v1: four-speech practice loop, transcript-grounded qualitative scorecard, retry recovery, local history, exports, analytics, and handoffs into Ask/Attack/Brainstorm/Factoids.
10+
- Verification loop: one `npm run verify` gate covering lint, typecheck, coverage, build, and deterministic Playwright browser journeys with retained failure evidence.
11+
- Authenticated staging E2E: prepared as a separate opt-in stateful suite, deliberately excluded from PR CI and not executed while remote Supabase mutation is prohibited.
12+
- Post-remediation security validation: original August findings mapped to current source, regression tests strengthened, and branch-only backend hardening recorded under `security/reviews/`.
13+
- Search Quality: first-class Exa domain/category filters, raw request tests, handler-boundary research coverage, and Factoids consulted-source provenance/UI are implemented in source.
1214

13-
- [Ask and sitewide search quality](./search-quality.md): finish the remaining Exa domain-filter verification, handler-level integration coverage, and Factoids consulted-source UI.
14-
- Sparring follow-ups driven by product data: format presets, richer drills, voice/live-round experiments, and longitudinal progress only after the core loop proves useful.
15-
- Conversion and retention work based on measured activation and repeat usage.
15+
No branch migration or Edge Function has been applied/deployed to Supabase.
16+
17+
## NEXT — data and authorized deployment, not another feature pile
18+
19+
- Run the full verification gate on an available runner and fix any executed failures.
20+
- When explicitly authorized, review/apply the pending Supabase migrations and deploy changed functions to a controlled staging environment, then execute the separate stateful staging suite.
21+
- Run a fresh official security scan against the deployment candidate after those backend changes are actually active.
22+
- Measure Sparring activation, completion, rematch/revisit behavior, feedback-action usage, and conversion before expanding the training product.
23+
- Choose follow-up Sparring work from evidence: format presets, richer drills, voice/live-round experiments, and longitudinal progress only if the core loop proves useful.
24+
- Conversion/retention work should follow observed funnel behavior rather than assumed feature demand.
1625

1726
## LATER
1827

1928
- [Admin announcements](./admin-announcements.md)
2029
- [Animation polish](./animation-polish.md)
2130
- [Rate-limit UI cleanup](./rate-limit-ui-cleanup.md)
22-
- Further model/prompt experiments that are supported by evaluation data.
31+
- Further model/prompt experiments supported by evaluation data.
2332

2433
## Historical / substantially implemented
2534

2635
These files are kept for implementation history. Do not treat them as current instructions without checking the source tree first.
2736

37+
- [Ask and sitewide search quality](./search-quality.md) — implementation record; formerly deferred domain filtering, handler coverage, and Factoids consulted-source UI are now present on this branch.
2838
- [Streaming AI](./streaming-ai.md) — Ask streaming endpoint/client/tests are already present.
29-
- [Source auto-import](./source-auto-import.md) — import endpoint, validation, schema, Library integration, and tests are already present.
39+
- [Source auto-import](./source-auto-import.md) — import endpoint, validation, schema, Library integration, and tests are present; this branch further hardens its network egress in source.
3040
- [Control honesty and deterministic toggles](./control-honesty.md) — core enforcement is implemented and tested.
41+
- [Debate sparring and streaming](./sparring-and-streaming.md) — original design record; Sparring v1 is implemented with a deliberately narrower four-speech loop.
3142
- [Model cost accounting](./model-cost-accounting.md) — accounting helpers, audit metadata, and tests are present; remaining work is operational validation.
3243
- [System prompt improvement](./system-prompt-improvement.md) — layered shared prompt architecture is present.
33-
- [Quality & Truth release checklist](./release-checklist.md) — use as a release-history checklist, not a live roadmap.
34-
- [Supabase staging](./supabase-staging.md) and [Agent verification loop](./agent-verification-loop.md) — still useful design references, but any migration/function/secret deployment is explicitly out of scope for this feature branch.
44+
- [Quality & Truth release checklist](./release-checklist.md) — use as release history/checklist, not a live roadmap.
45+
- [Supabase staging](./supabase-staging.md) and [Agent verification loop](./agent-verification-loop.md) — useful design references, but migration/function/secret deployment is explicitly outside the current branch execution boundary.
3546

3647
## Done
3748

0 commit comments

Comments
 (0)