mirror of
https://github.com/bitbaum/heidi.git
synced 2026-12-04 21:39:32 +01:00
George's direction, 2026-09-25: Heidi is built as a solid, high-tech product for individuals AND organisations; the public pages say where it is going, and never publish internal constraints. Streaks are wanted — only the guilt is refused. ONE ROADMAP. `lib/config/roadmap.ts` is now the only list. HEIDI.md §9 used to keep a second, numbered "Next, in order" that went stale twice without anybody noticing: its first item had largely shipped in #117, and its refusal of "percentages and levels" contradicted §3 while "10 of 10 lines" was live. §9 now holds the REASONING behind the order and links here; `roadmap.test.ts` refuses a numbered list growing back, keeps de and en the same plan, and keeps dates and quarters out. THE ROADMAP ITSELF — In progress: streaks and weekly goals without guilt, the dialect detector, deeper and new situations (doctor, Gemeinde, laundry room, apéro, when «no» does not sound like no), a Zurich lexicon against invented facts. Next: Heidi for Teams, per-situation certificates, progress on every device, having your say on the roadmap. After that: the listening lab, more dialects, saying it yourself, Heidi Pro, learning together. The lede no longer opens "Heidi is twelve days old"; the "blocked on…" and "deliberately not built" buckets are gone from the public page. HEIDI.md §3 REVISED: "counts of capability, framed as gain, never loss" stands, and a streak of days is allowed on exactly those terms — shown as what you built, never as what you are about to lose; no shaming reminder, no paying to repair one, a free freeze. What stays refused is the guilt, not the count. THE INVESTORS PAGE led with absences — "Pre-revenue … honest about what is not built yet", metrics opening on customers: none / revenue: none / capital: none, sections called "What is wrong with it" and "What money would buy". Parts were also FALSE: "There is no learner model" (there is, persisting since #111, driving per-situation mastery), and every count was stale. Now: current, verifiable numbers (119 PRs, 897 tests in 111 files, 14 situations, 164 words, 743 questions); what exists; the engine; a new "Two kinds of customer, one product" section on the B2B case — care homes, hospitals recruiting from Germany, relocation firms, employers, integration programmes, and why a SITUATION is the unit an employer already thinks in; speech; where it goes. The rule that holds: nothing untrue, nothing inflated. Omitting a figure is not claiming it. THE SITUATION NOTICE said what had not happened ("noch von keiner Muttersprachlerin gegengelesen") in a red warning rule. It now says what has, which is true: every line is machine-verified against Zurich forms and its words are attested in the Idiotikon — the `source` every phrase carries. Key renamed `unreviewed` -> `verified`, neutral styling, all seven languages. The chat's AI note loses its "aber nicht von einem Menschen gegengelesen" the same way. Internal notes on review stay in HEIDI.md §9, nowhere public. Verified: verify exit 0 — 924 tests; /roadmap renders in de, en, rm. Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
39 lines
1.8 KiB
TypeScript
39 lines
1.8 KiB
TypeScript
import { test, describe } from "node:test";
|
|
import assert from "node:assert/strict";
|
|
import { readFileSync } from "node:fs";
|
|
import { ROADMAP } from "./roadmap.ts";
|
|
|
|
/**
|
|
* One roadmap. `lib/config/roadmap.ts` is the list; HEIDI.md §9 keeps only
|
|
* the reasoning. §9 used to carry a second, numbered "Next, in order" copy that
|
|
* went stale twice without anybody noticing — an item that had shipped, and a
|
|
* refusal that contradicted §3. A list in prose drifts; this one cannot grow
|
|
* back without failing here.
|
|
*/
|
|
describe("the roadmap has one home", () => {
|
|
const spec = readFileSync("HEIDI.md", "utf8");
|
|
const s = spec.indexOf("What comes next lives in one place");
|
|
|
|
test("HEIDI.md points at the roadmap instead of restating it", () => {
|
|
assert.ok(s > 0, "§9 no longer points at lib/config/roadmap.ts");
|
|
assert.ok(spec.slice(s, s + 400).includes("lib/config/roadmap.ts"));
|
|
assert.ok(!spec.includes("Next, in order"), "the numbered copy of the roadmap is back in HEIDI.md");
|
|
});
|
|
|
|
test("§9's reasoning holds no numbered list of items", () => {
|
|
const section = spec.slice(s, spec.indexOf("Two loops explain Heidi", s));
|
|
assert.ok(!/^\d+\. \*\*/m.test(section), "a numbered roadmap list has grown back in §9");
|
|
});
|
|
|
|
test("both languages list the same items in the same order", () => {
|
|
// Two documents on purpose (see roadmap.ts); they must still be one plan.
|
|
const shape = (l: "de" | "en") => ROADMAP[l].buckets.map((b) => b.items.length);
|
|
assert.deepEqual(shape("de"), shape("en"));
|
|
});
|
|
|
|
test("nothing is dated", () => {
|
|
const text = JSON.stringify(ROADMAP.de.buckets) + JSON.stringify(ROADMAP.en.buckets);
|
|
assert.ok(!/\bQ[1-4]\b|\b20\d\d\b|coming soon|demnächst/i.test(text), "a date or a quarter crept into the roadmap");
|
|
});
|
|
});
|