Jump to content

Tutor/RELEASE: Difference between revisions

From MindAttic Docs
md2wiki: sync from MindAttic.Docs
 
md2wiki: sync from MindAttic.Docs
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Tutor — Release charter =
= Tutor — Release charter =


<blockquote>
<blockquote>
The one finish line this repo is working toward. Every open ticket in this repo sits under one of the epics below, and every epic is part of the milestone. Work that does not fit is out of scope until this milestone is reached (owner, 2026-11-27, MAT-T319).
The one finish line this repo is working toward. Every open ticket in this repo sits under one of the epics below, and every epic is part of the milestone. Work that does not fit is out of scope until this milestone is reached (owner, 2026-11-27, MAT-T319). The complete product, every story built or planned, is in <code>docs/SPEC.md</code>; this charter is its first unbuilt slice. MS-96 and MS-97 follow it (SPEC §7).
</blockquote>
</blockquote>


Line 19: Line 19:
Each line is also a <code>tickets milestone check</code> (build &#124; exists &#124; harness &#124; signoff).
Each line is also a <code>tickets milestone check</code> (build &#124; exists &#124; harness &#124; signoff).


# build — <code>dotnet build Tutor.slnx</code> builds clean on main.
# build — <code>dotnet build Tutor.slnx</code> builds clean on main.
# exists — <code>R:\MindAttic\Apps\Tutor\Release</code> holds a deployed Tutor that starts against local SQL.
# exists — <code>R:\MindAttic\Apps\Tutor\Release</code> holds a deployed Tutor that starts against local SQL.
# signoff — the owner, signed in as two different users, uploads a document, builds a course from it in the web app, and works a lesson, quiz and final exam with separate progress for each user.
# signoff — the owner, signed in as two different users, uploads a document, builds a course from it in the web app, and works a lesson, quiz and final exam with separate progress for each user.


== 4. Epics, in priority order ==
== 4. Epics, in priority order ==
Line 31: Line 31:
! Features
! Features
|-
|-
| 900
| 1000
| TUT-T157 Local runtime
| TUT-T157 Runs locally on the platform
| Runs from R: on local SQL, no Azure config, docs match
| Runs from R: on local SQL, no Azure config, docs match
| TUT-T162 Local SQL config (990), TUT-T163 Deploy to R: (980), TUT-T164 Local docs (970)
| TUT-T162 Local data store (1090), TUT-T163 Deploy to R: (1080), TUT-T164 Docs describe the local app (1070)
|-
|-
| 800
| 900
| TUT-T158 Open bug fixes
| TUT-T158 Every screen trustworthy
| The concrete bugs from the last bug hunts, fixed
| The concrete bugs from the last bug hunts, fixed
| TUT-T165 Admin page safety (890), TUT-T166 Learner UI errors (880), TUT-T167 Storage and concurrency (870), TUT-T168 Service robustness (860)
| TUT-T165 Admin actions authorized and honest (990), TUT-T166 Learner screens never hang (980), TUT-T167 Shared state safe (970), TUT-T168 Failures surface (960)
|-
|-
| 700
| 800
| TUT-T159 Per-user learning state
| TUT-T159 Per-user learning state
| Each signed-in user keeps their own progress, quiz, lesson, course and certificate
| Each signed-in user keeps their own progress, quiz, lesson, course and certificate
| TUT-T169 Per-user progress and quiz (790), TUT-T170 Per-user session state (780)
| TUT-T169 Per-user progress and quiz (890), TUT-T170 Per-user session state (880)
|-
|-
| 600
| 700
| TUT-T160 In-app course building
| TUT-T160 In-app course building
| Upload a document and build and monitor a course in the web app
| Upload a document and build and monitor a course in the web app
| TUT-T171 Web document upload (690), TUT-T172 Build progress in web (680)
| TUT-T171 Web document upload (790), TUT-T172 Watch and control builds (780)
|-
|-
| 500
| 600
| TUT-T161 Engine test coverage
| TUT-T161 Engine proven by tests
| NUnit tests where data loss or a stalled build would hurt most
| NUnit tests where data loss or a stalled build would hurt most
| TUT-T173 Key failover tests (590), TUT-T174 Queue tests (580), TUT-T175 Learner data tests (570), TUT-T176 Bundle path tests (560)
| TUT-T173 Keys and failover from the platform (690), TUT-T174 Queue behaviour proven (680), TUT-T175 Learner records proven (670), TUT-T176 Bundles refuse path escapes (660), TUT-T191 Suite green on main (650)
|}
|}


== 5. Out of scope (not before this milestone) ==
== 5. Out of scope (not before this milestone) ==


Ideas and systems deliberately left out. A new request that lands here is filed <code>proposed</code>, never approved automatically.
Permanent rejections (hosting, scale-out, a SQL/blob course store, vector database, more LLM providers, News, Tutor.Mcp features, the Tutor.Ingestion package, batch and timing runs, open-ended bug hunts and cleanup sweeps, test back-fill outside Epic 5) are on the <strong>Never in the product</strong> list in <code>docs/SPEC.md</code> §2.2 and are closed wont-do if requested. Deferred to the next milestones (SPEC §7), not before this one:


* Any hosted deployment (Azure, Hetzner, custom domain, deploy workflows, health probes for a host) — Azure is gone and Tutor runs locally.
* MS-96 Tutor 2.0: home and catalogue, visible progress, review and streaks, streaming chat, quiz integrity, printable and verifiable certificates, email invitations (TUT-T234, TUT-T244, TUT-T252).
* Phases 1–3 of <code>docs/plans/tutor-improvement-plan.md</code> beyond what is listed above: a SQL/Blob course store, a vector database, telemetry, rate limits and MFA for a public site — they were for hosting.
* MS-97 Tutor 3.0: phone layout, accessibility, per-user appearance, component split, UI tests, LLM usage page (TUT-T260, TUT-T268).
* More Gutenberg batch builds and timing runs — <code>tutor gutenberg-top</code> already exists (TUT-T50).
* Open-ended bug hunts, "run the suite until green" loops and general clean-up sweeps — bugs are filed as concrete fix tasks instead.
* Test back-fill beyond the four areas in Epic 5 (graph algorithms, parsers, CLI argument parsing, concept-merge and correlation scoring, log storage).
* New LLM providers (Kimi), the News feed, Tutor.Mcp features, the Tutor.Ingestion NuGet for other apps.


== 6. Current verified state ==
== 6. Current verified state ==
Line 75: Line 71:
* <code>tutor gutenberg-top</code> builds the current top Gutenberg books and reports time per stage (06efd6e, TUT-T50).
* <code>tutor gutenberg-top</code> builds the current top Gutenberg books and reports time per stage (06efd6e, TUT-T50).
* The improvement-plan audit is written (<code>docs/plans/tutor-improvement-plan.md</code>, 76e6abd, TUT-T51).
* The improvement-plan audit is written (<code>docs/plans/tutor-improvement-plan.md</code>, 76e6abd, TUT-T51).
* <code>run.ps1</code> is on the shared run menu (e7a6ba6, MAT-T306), but nothing is deployed to <code>R:\MindAttic\Apps\Tutor</code> yet.
* <code>run.ps1</code> is on the shared run menu (e7a6ba6, MAT-T306); its Redeploy puts <code>Tutor.Blazor.exe</code> in <code>R:\MindAttic\Apps\Tutor\Debug</code> (framework-dependent) and <code>\Release</code> (self-contained win-x64), and both start and serve the home page (TUT-T138).


== 7. Decision record ==
== 7. Decision record ==


* 2026-11-27 — charter drafted from README/BIBLE/docs/tickets; Legion vote: <strong>Approve</strong> (5 of 5 answering voters, plurality quorum reached, 9 asked, 4 failed on missing keys or model errors); dissent: none.
* 2026-11-27 — charter drafted from README/BIBLE/docs/tickets; Legion vote: <strong>Approve</strong> (5 of 5 answering voters, plurality quorum reached, 9 asked, 4 failed on missing keys or model errors); dissent: none.
* Triage: 57 open (plus this job ticket) → done 5, duplicate 0, wont-do 28, kept 24; 9 new gap tasks filed (TUT-T177..T185). Tree: 5 epics, 15 features, 33 tasks, all approved; MS-11 active with build, exists and signoff checks.
* Triage: 57 open (plus this job ticket) → done 5, duplicate 0, wont-do 28, kept 24; 9 new gap tasks filed (TUT-T177..T185). Tree: 5 epics, 15 features, 33 tasks, all approved; MS-11 active with build, exists and signoff checks.
* 2026-11-30 — MAT-T360 consolidation (MAT-T364): 63 open → done 0, superseded 0, wont-do 1 (TUT-T15), kept 62 (TUT-T21 reworded to docs/overview.md, TUT-T188 placed under new feature TUT-T191); spec: built 41, MS-11 34 tasks, next milestones 31 stories (MS-96 18, MS-97 13). New planned milestones MS-96 and MS-97, all approved; priorities re-stamped down the whole sequence (MS-11 epics 1000-600, MS-96 500-300, MS-97 200-100).
* 2026-11-30 — MAT-T462 source-to-sea pass (MAT-T469): epics and features renamed to outcomes and capabilities; see SPEC.md section 8.


<div class="md2wiki-crumb">Part of [[Tutor]].</div>
<div class="md2wiki-crumb">Part of [[Tutor]].</div>

Latest revision as of 22:48, 1 December 2026

Tutor — Release charter

The one finish line this repo is working toward. Every open ticket in this repo sits under one of the epics below, and every epic is part of the milestone. Work that does not fit is out of scope until this milestone is reached (owner, 2026-11-27, MAT-T319). The complete product, every story built or planned, is in docs/SPEC.md; this charter is its first unbuilt slice. MS-96 and MS-97 follow it (SPEC §7).

1. What this is

Tutor turns books and documents into structured courses (concept graph, learning path, grounded quizzes, final exam, certificate) through a Blazor Server app and a CLI that share one engine, and packages each course as a portable .tutor bundle.

2. The milestone: Tutor 1.0 Local Release

  • Milestone: MS-11, "Tutor 1.0 Local Release"
  • Published means: an internal app deployed by run.ps1 to R:\MindAttic\Apps\Tutor\Debug and \Release, signing in against local SQL Server. No hosted site (Azure was decommissioned 2026-11-26).
  • The natural stopping point: Tutor runs from R: with no Azure configuration left; several people signed in to the same local instance each keep their own progress, quiz, lesson and certificate; an author can upload a document in the web app and build a course from it without the CLI; the open correctness bugs from the last bug hunts are fixed; and the services most likely to lose data or stall a build have NUnit coverage. That closes the two gaps the BIBLE's active frontier names (per-user attribution, in-app building) on top of an engine that already works end to end, which is a coherent 1.0.

3. Done when (acceptance checks)

Each line is also a tickets milestone check (build | exists | harness | signoff).

  1. build — dotnet build Tutor.slnx builds clean on main.
  2. exists — R:\MindAttic\Apps\Tutor\Release holds a deployed Tutor that starts against local SQL.
  3. signoff — the owner, signed in as two different users, uploads a document, builds a course from it in the web app, and works a lesson, quiz and final exam with separate progress for each user.

4. Epics, in priority order

Priority Epic (ticket) What it delivers Features
1000 TUT-T157 Runs locally on the platform Runs from R: on local SQL, no Azure config, docs match TUT-T162 Local data store (1090), TUT-T163 Deploy to R: (1080), TUT-T164 Docs describe the local app (1070)
900 TUT-T158 Every screen trustworthy The concrete bugs from the last bug hunts, fixed TUT-T165 Admin actions authorized and honest (990), TUT-T166 Learner screens never hang (980), TUT-T167 Shared state safe (970), TUT-T168 Failures surface (960)
800 TUT-T159 Per-user learning state Each signed-in user keeps their own progress, quiz, lesson, course and certificate TUT-T169 Per-user progress and quiz (890), TUT-T170 Per-user session state (880)
700 TUT-T160 In-app course building Upload a document and build and monitor a course in the web app TUT-T171 Web document upload (790), TUT-T172 Watch and control builds (780)
600 TUT-T161 Engine proven by tests NUnit tests where data loss or a stalled build would hurt most TUT-T173 Keys and failover from the platform (690), TUT-T174 Queue behaviour proven (680), TUT-T175 Learner records proven (670), TUT-T176 Bundles refuse path escapes (660), TUT-T191 Suite green on main (650)

5. Out of scope (not before this milestone)

Permanent rejections (hosting, scale-out, a SQL/blob course store, vector database, more LLM providers, News, Tutor.Mcp features, the Tutor.Ingestion package, batch and timing runs, open-ended bug hunts and cleanup sweeps, test back-fill outside Epic 5) are on the Never in the product list in docs/SPEC.md §2.2 and are closed wont-do if requested. Deferred to the next milestones (SPEC §7), not before this one:

  • MS-96 Tutor 2.0: home and catalogue, visible progress, review and streaks, streaming chat, quiz integrity, printable and verifiable certificates, email invitations (TUT-T234, TUT-T244, TUT-T252).
  • MS-97 Tutor 3.0: phone layout, accessibility, per-user appearance, component split, UI tests, LLM usage page (TUT-T260, TUT-T268).

6. Current verified state

  • The full pipeline (parse, chunk, embed, concept maps, knowledge graph, course structure, baked quizzes, .tutor export and install) runs from the CLI; ten bundled courses ship in Courses/.
  • Course lifecycle (mastery-gated unlock, final exam, certificate, unload) is pinned by FullCourseLifecycleTests.
  • QuizService and FinalExamService are scoped per circuit (ccde0ba, TUT-T152).
  • tutor gutenberg-top builds the current top Gutenberg books and reports time per stage (06efd6e, TUT-T50).
  • The improvement-plan audit is written (docs/plans/tutor-improvement-plan.md, 76e6abd, TUT-T51).
  • run.ps1 is on the shared run menu (e7a6ba6, MAT-T306); its Redeploy puts Tutor.Blazor.exe in R:\MindAttic\Apps\Tutor\Debug (framework-dependent) and \Release (self-contained win-x64), and both start and serve the home page (TUT-T138).

7. Decision record

  • 2026-11-27 — charter drafted from README/BIBLE/docs/tickets; Legion vote: Approve (5 of 5 answering voters, plurality quorum reached, 9 asked, 4 failed on missing keys or model errors); dissent: none.
  • Triage: 57 open (plus this job ticket) → done 5, duplicate 0, wont-do 28, kept 24; 9 new gap tasks filed (TUT-T177..T185). Tree: 5 epics, 15 features, 33 tasks, all approved; MS-11 active with build, exists and signoff checks.
  • 2026-11-30 — MAT-T360 consolidation (MAT-T364): 63 open → done 0, superseded 0, wont-do 1 (TUT-T15), kept 62 (TUT-T21 reworded to docs/overview.md, TUT-T188 placed under new feature TUT-T191); spec: built 41, MS-11 34 tasks, next milestones 31 stories (MS-96 18, MS-97 13). New planned milestones MS-96 and MS-97, all approved; priorities re-stamped down the whole sequence (MS-11 epics 1000-600, MS-96 500-300, MS-97 200-100).
  • 2026-11-30 — MAT-T462 source-to-sea pass (MAT-T469): epics and features renamed to outcomes and capabilities; see SPEC.md section 8.
Part of Tutor.
From Tutor/docs/RELEASE.md via MindAttic.Docs; synced automatically, so edit the repo, not this page.