MindAttic.Helpers/SPEC
MindAttic.Helpers — 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.mdsays which part of this the current milestone delivers.
1. Product definition
In docs/ECOSYSTEM.md MindAttic.Helpers sits in the platform layer as the home of small, deterministic, dependency-free helpers any repo may use instead of writing its own.
MindAttic.Helpers is a small, zero-dependency .NET 10 library of pure, deterministic helpers: a seeded abstract-art SVG generator, a streaming pi generator, an ASCII diagram aligner (also shipped as the ascii-align dotnet tool), and ASCII/Braille renderers for bar charts, candle charts and app mockups. The code is finished; the finished product is MindAttic.Helpers 1.0.0 and the ascii-align tool on the local feed, frozen until a consumer asks for a new helper.
2. Scope boundary
2.1 In the product
- The library (
MindAttic.Helpers,MindAttic.Helpers.Ascii) and theascii-aligntool, packed toC:\LocalNuGet.
2.2 Never in the product
- Third-party runtime dependencies. A helper that needs one belongs in another package (BIBLE §3).
- Stateful utilities, singletons or configuration. Helpers stay pure static classes.
- Rasterising or rendering.
AbstractArtGeneratoremits SVG markup only. - Speculative helpers. A new helper is added only for a named consumer, as a new story here.
- Generic cleanups, bughunts and repo sweeps.
3. Users and roles
- A MindAttic app needs stable avatars, aligned ASCII diagrams or quick text charts with no dependencies.
- An agent or author runs
ascii-alignto fix a diagram's right edge.
4. Requirements
Status is built (closed ticket, with evidence) or MS-n: the milestone in §7 that delivers it.
E1. Helper library — M.HELP-T37 — built
F1.1 Generators — M.HELP-T38 — built
- S1.1.1 Abstract art generator — M.HELP-T39 — built. As a web app,
AbstractArtGenerator.DataUri(seed)returns the same SVG art as mindattic.com for the same seed. Evidence:AbstractArtGenerator.cs. - S1.1.2 Pi to n places — M.HELP-T40 — built. As a caller,
PiHelper.Calculate(n)returns pi to n places, stopping before memory runs out. Evidence:PiHelper.cs.
F1.2 ASCII toolkit — M.HELP-T41 — built
- S1.2.1 AsciiAligner and ascii-align tool — M.HELP-T13 — built. As an author, every box's right edge lines up.
- S1.2.2 AsciiChart bar chart — M.HELP-T14 — built. As an app, I render labelled horizontal bars as text.
- S1.2.3 AsciiCandleChart — M.HELP-T18 — built. As an app, I render OHLC candles over labelled sessions.
- S1.2.4 BrailleCanvas and AsciiMockup — M.HELP-T20 — built. As an author, I draw Braille-resolution wireframes. Evidence for F1.2: c87e901, cf43842.
F1.3 Repo tooling — M.HELP-T43 — built
- S1.3.1 Build settings and run menu — M.HELP-T44 — built. As a developer,
Directory.Build.propssets shared build settings (nullable, warnings-as-errors, package metadata) andrun.ps1/run.batgive the repo the standard Redeploy/Run Debug/Run Release menu. Evidence:Directory.Build.props,run.ps1. - S1.3.2 Codex documentation pipeline — M.HELP-T45 — built. As an agent,
tools/codex.ps1 doctorvalidates the Codex canon andtools/codex.ps1 digestregeneratesdocs/BIBLE.digest.md, which.claude/hooks/inject-digest.ps1injects as authoritativeSessionStartcontext. Evidence:tools/codex.ps1,.claude/hooks/inject-digest.ps1.
E2. Helpers on the local feed — M.HELP-T29 — built
F2.1 Library package — M.HELP-T30 — built
- M.HELP-T31 — built. As a consuming app, MindAttic.Helpers 1.0.0 with XML docs is on
C:\LocalNuGet. Acceptance: given the feed, when an app references 1.0.0, then it builds with IntelliSense docs.
F2.2 ascii-align tool — M.HELP-T32 — built
- M.HELP-T33 — built. As an author,
dotnet tool install --global --add-source C:\LocalNuGetinstallsascii-align, anddocs/overview.mdsays how.
Membrane: Local feed consumption — M.HELP-T42 — built
- As a consumer, both MindAttic.Helpers 1.0.0 and ascii-align land on
C:\LocalNuGetand restore/install from that feed only, proving E2 end to end. Requires M.HELP-T30, M.HELP-T32.
5. Non-functional requirements
- .NET 10, BCL only; deterministic output for the same input on every machine.
6. Interfaces and dependencies
Platform concerns it uses (docs/ECOSYSTEM.md): none; it depends on no other MindAttic repo.
- No workspace project references the package yet; after MS-53 any app can take it from the local feed.
7. Release sequence
- MS-53 — MindAttic.Helpers 1.0 published (active): E2. Reaching it finishes the product.
8. Change log
| Date | Change to scope | Ticket |
|---|---|---|
| 2026-11-30 | Specification written from the BIBLE, charter, overview, code and ticket history; 1.0 is the finished library | MAT-T397 |
| 2026-11-30 | MAT-T462 single-source pass: 1 renamed, 0 buckets, 0 requires added, 0 platform re-points | MAT-T465 |
| 2026-12-01 | Build-up comb (repo 12 of BUILD_ORDER.md): F1.3 Repo tooling filed as built (M.HELP-T43 to T45; PiHelper.cs/AbstractArtGenerator.cs and their tests assigned to their already-seated stories M.HELP-T39/T40); E2's membrane M.HELP-T42 taken from tickets gaps
|
MAT-T484 |
| 2026-12-01 | Membrane M.HELP-T42 built: library and ascii-align tool proven consumable from C:\LocalNuGet in one joined flow; E2 (M.HELP-T29/T30/T31/T32/T33/T42) filed as built
|
M.HELP-T42 |