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.
E2. Helpers on the local feed — M.HELP-T29 — MS-53
F2.1 Library package — M.HELP-T30 — MS-53
- M.HELP-T31 — MS-53. 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 — MS-53
- M.HELP-T33 — MS-53. As an author,
dotnet tool install --global --add-source C:\LocalNuGetinstallsascii-align, anddocs/overview.mdsays how.
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 source-to-sea pass: 1 renamed, 0 buckets, 0 requires added, 0 platform re-points | MAT-T465 |