Jump to content

Dissertation.Tools/SPEC

From MindAttic Docs

Dissertation.Tools — Product specification

The complete product, written down before it is built (owner, 2026-11-30, MAT-T360). Every epic, feature and story the finished product will have is listed here, built or not. The ticket tree mirrors this file one to one: every ID below is a ticket. Nothing gets built unless it is here, and anything taken out of here is closed wont-do in the tree. docs/RELEASE.md says which part of this the current milestone delivers.

1. Product definition

Place in the ecosystem: The owner of scholarly writing (docs/ECOSYSTEM.md §2.1): every manuscript is scaffolded, verified and exported through it.

Dissertation.Tools is the PowerShell toolkit and template the two MindAttic dissertations share: scaffold a manuscript, export it through MindAttic.Export, publish it to exports/ and its Pages article, count words by one rule and keep a source-verification ledger. Its users are the manuscripts (through their scripts\export.ps1 shim) and the agents and author working on them. The finished product is a tagged, documented v1.0.0 that both manuscripts use through submission, with a Pages article that links its downloadable PDF and Word copies.

2. Scope boundary

2.1 In the product

  • Scripts: New-AcademicProject.ps1, Export-Manuscript.ps1, Publish-Exports.ps1, Measure-Words.ps1, Academic.Common.ps1.
  • The manuscript template (template/) and the conventions of record in DESIGN.md.
  • A Pages Download line, current docs, a CHANGELOG and the v1.0.0 tag.

2.2 Never in the product

  • Rendering: MindAttic.Export owns it, figures included.
  • The Pages build: MindAttic.Agency's shared workflows own it.
  • An automatic checker for ledger levels; the ledger stays a convention.
  • Cross-platform (non-Windows PowerShell) support.
  • Figure generation; SET's scripts/figures/ stays SET-specific.
  • Open-ended bughunts (DT-T3, closed wont-do).

3. Users and roles

  • A manuscript repo: calls the toolkit from ..\Dissertation.Tools through its shim, configured by academic.json and export.json.
  • The author and agents: scaffold, export, publish and count words.

4. Requirements

Status is built (closed ticket, with evidence) or MS-54 (the active milestone, which is also the last).

E1. Manuscript toolkit — DT-T14 — built

F1.1 Toolkit scripts — DT-T15 — built

  • S1.1.1 Scaffold a manuscript — DT-T16 — built. As an author, I want New-AcademicProject.ps1 to start a manuscript from template/, so that every manuscript has the same contract. Evidence: scripts/, template/.
  • S1.1.2 Export a manuscript — DT-T17 — built. Export-Manuscript.ps1 exports through MindAttic.Export as export.json says.
  • S1.1.3 Publish exports — DT-T18 — built. Publish-Exports.ps1 copies the newest bundle into exports\ and the Pages article.
  • S1.1.4 Count words by one rule — DT-T19 — built. Measure-Words.ps1, rule in DESIGN.md.
  • S1.1.5 Verification ledger convention — DT-T20 — built. Ledger appendix, VERIFICATION.md, UNRETRIEVED.md and research-notes layout in template/.

F1.2 Repo and docs — DT-T21 — built

  • S1.2.1 Lifted out and renamed — DT-T22 — built. 07b922a, 96a1365, 4e986fe.
  • S1.2.2 Brochure page — DT-T12 — built. S1.2.3 README pointer and docs/overview.md — DT-T13 — built.

E2. Publish pipeline — DT-T4 — MS-54 (priority 900)

F2.1 Article links its downloads — DT-T6 — MS-54 (990)

  • S2.1.1 Pages download line — DT-T2. As a reader of a manuscript's Pages article, I want a Download line linking the PDF and Word copies in exports/ on GitHub, so that I can get the formatted file. Acceptance: given scripts\export.ps1 -Publish runs in Dissertation.SyntheticExchangeTheory, then its Pages Markdown carries the Download line. (Code written, uncommitted, in scripts/Academic.Common.ps1 and scripts/Publish-Exports.ps1.)

E3. Polish and release 1.0 — DT-T5 — MS-54 (polish and release, priority 800)

F3.1 Documentation names what exists — DT-T7 — MS-54 (890)

  • S3.1.1 Fix stale names in docs — DT-T9. docs/overview.md and DESIGN.md name the Dissertation.* repos and Pages URLs, SET's ledger as Appendix D and its body as chapters 01 to 10, and document the Download line.

F3.2 1.0 tag — DT-T8 — MS-54 (880)

  • S3.2.1 CHANGELOG and v1.0.0 — DT-T10. CHANGELOG.md (Provenance lift, rename, env var rename, Download line) and a pushed v1.0.0 tag on main.

Filed after this spec was written (MAT-T478)

Open tickets filed after the last spec pass, listed under their parent until the spec tree is rendered from the plan (M.TIX-T535).

  • Under DT-T5 Polish and release 1.0
    • DT-T23 (feature) One Dissertations repo
  • Under DT-T23 One Dissertations repo
    • DT-T24 (task) Subtree-merge the dissertations

5. Non-functional requirements

  • Windows PowerShell 5.1, no other tooling.
  • DISSERTATION_TOOLS_HOME locates the toolkit (else the sibling folder); DISSERTATION_TOOLS_DRYRUN prints what would run.
  • No credential in any file.

6. Interfaces and dependencies

  • Platform owners it relies on (docs/ECOSYSTEM.md): documents: MindAttic.Export; brochure and docs pipeline: MindAttic.Agency.
  • MindAttic.Export renders every format.
  • Dissertation.SyntheticExchangeTheory and Dissertation.ElenchusAtScale consume it through their shims.
  • MindAttic.Agency builds the Pages brochure.

7. Release sequence

  1. MS-54 Dissertation.Tools 1.0 (active, last): E2 publish pipeline, then E3 docs and the 1.0 tag (polish and release). After it, new work comes only as a request from one of the manuscripts.

8. Change log

Date Change to scope Ticket
2026-11-30 Specification written from DESIGN, overview, RELEASE, scripts and the ticket history; built history filed as DT-T14..T22, DT-T12/T13 reused as stories; DT-T9 retargeted from README to docs/overview.md MAT-T377
2026-11-30 MAT-T462 single-source pass: 3 renamed (Docs and 1.0 is now Polish and release 1.0; Docs match the repos is its documentation feature), 0 buckets, 2 requires added; place in the ecosystem and platform owners named MAT-T467
2026-11-30 MAT-T478 spec drift repaired: 2 open tickets filed after the spec listed in section 4 MAT-T478
From Dissertation.Tools/docs/SPEC.md via MindAttic.Docs; synced automatically, so edit the repo, not this page.