Skip to content

D108 — site: the export card promises Markdown alone, and the site declares no contract of the export's - #1284

Merged
napkinstack-agent[bot] merged 2 commits into
mainfrom
d108-site-export-words
Nov 27, 2026
Merged

napkinstack-agent[bot] merged 2 commits into
mainfrom
d108-site-export-words

Conversation

@kitokey-marc

@kitokey-marc kitokey-marc Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

For the decider, in one sentence: the landing's export card now says « En Markdown. », the one format the window offers today, instead of promising HTML, Word and subtitles ahead of it, and the site no longer declares that it reads the export's contract.

Module

site, exactly one: MANIFEST.yaml, src/lib/landing.mjs, tests/landing.test.mjs.

  • This pull request touches a single module

Deliverable

Out of cycle: D108, deferred at cycle 11's closure. This change holds its third criterion (« the contract consumed by the shell alone »), with #1283 making export active. It also takes up the site's independent audit, which judged the export card's promise ahead of the window. The coordinator's decision of 2026-11-26: small, as the site will be redone in cycle 12.

What it changes

  • The export card, in both languages: « As Markdown, HTML, Word or subtitles. » → « As Markdown. »; « En Markdown, HTML, Word ou sous-titres. » → « En Markdown. ». The shell asks the export for Markdown and .ics alone today. HTML, Word, subtitles and PDF come back to the page with the screen that offers them (D121).
  • Its keeps: « exporting/v1, md html docx srt vtt » → « the window's export, Markdown alone (D108) ».
  • consumes: exporting removed. The site never read the contract: it cited formats in words.

Compared. Apple's App Review Guidelines (§2.3, Accurate Metadata) ask that a listing describe what the app does, no more. Granola's help page names its one export, a CSV (docs.granola.ai, Exporting notes, read 2026-11-24, #1212). The smallest change kept is one sentence and one manifest entry. Left out: redesigning the card, which goes with the site's redo.

Oracle

  • the export card promises Markdown alone, the one format the window offers (tests/landing.test.mjs): each language's card says « As Markdown. » / « En Markdown. » and names neither HTML, Word, subtitles nor PDF; the keeps names no docx, srt or vtt.
  • Seen failing on main's words: « AssertionError: en · actual: 'As Markdown, HTML, Word or subtitles.' · expected: 'As Markdown.' ».
  • At fdfc33b: npm test in modules/site: 29 of 30 passed. Not verified here: « no page requests another host », which Chromium cannot run in this session's sandbox (« socket() failed: Operation not permitted »). The attest runs it on the machine.
  • nstack manifests: compliant; nstack fitness: no failure (B1 and B2 seen and removed: a first comment of the test cited the shell's path and the contract).

Kind of oracle: the site's tests and the framework's boundary checks.

Review budget

  • 3 files, 17 lines added, 7 removed.
  • Within budget

Contracts

  • exporting no longer declared consumed by site; the contract itself is unchanged.

Definition of Done

  • Oracle written, seen failing, then green
  • The attest
  • The review by a verifier who did not write it (site is prototype: no sheet is owed; the coordinator names sam)

🤖 Generated with Claude Code

…clares no contract of the export's

The window offers one export format today, Markdown; HTML, Word and subtitles were promised ahead of it
(the site's independent audit). The site reads no contract: it cited formats in words, so `exporting`
leaves its consumes, as the coordinator decided on 2026-11-26 for D108's third criterion.

Agent-Session: ded33d1e-2365-4bc0-8cb3-436491dc8e25
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@napkinstack-agent napkinstack-agent Bot added the out-of-cycle Work outside the current cycle: an incident, a production defect; justified in the PR label Nov 26, 2026

@kitokey-sam kitokey-sam Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer, session 38db7d1e-59fa-4391-82c7-0065319d590b (sam; the site, its tests and copy), at fdfc33b. Read: the diff (MANIFEST.yaml, src/lib/landing.mjs, tests/landing.test.mjs) and what the window offers on main 03247a3. Run in a clone of my own: node --test tests/landing.test.mjs; nstack boundaries.

  1. The export card says « En Markdown. » / "As Markdown." in both languages, and keeps no longer names docx, srt or vtt. That is true of the product: the shell asks the export for --format md alone (modules/shell/src/exporting.rs:69 on main).
  2. exporting/v1 is no longer consumed. The site's sources read no export contract (git grep exporting under modules/site/src on main finds only the keeps sentence this PR rewrites).
  3. The new test is red on main and green at the head. « the export card promises Markdown alone… » is ok at fdfc33b. With main's landing.mjs put back it fails: actual: 'As Markdown, HTML, Word or subtitles.', expected: 'As Markdown.'. Tests 1–12 of the file read the built site (dist/), which my clone did not build (no node_modules): they were not run by me. The forge's Module checks, still pending, run them.
  4. Fitness: nstack boundaries at fdfc33b is compliant (site → -), with no B1 or B2. The forge's Fitness functions check is still pending.

Remark, optional: the card now carries one short line where its neighbours carry a promise (« Repartez avec le plan. »). That is honest today; once D121's « Exporter en PDF » lands, the card can say what the PDF is for.

Agent-Session: ded33d1e-2365-4bc0-8cb3-436491dc8e25
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@kitokey-sam kitokey-sam Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by the reviewer, session 38db7d1e-59fa-4391-82c7-0065319d590b (sam; expert here in the site's copy and its tests, and in what the window offers), at 889138c, the head that will merge (always.md rule 2). modules/site is prototype and no sheet is owed; my review is 6080079800 at fdfc33b. Checked at this head: git diff fdfc33b 889138c -- modules/site is empty, so the four points of that review stand. The PR's diff against main is the three site files alone, none of them named by CODEOWNERS. The forge's checks are green, nstack / local checks included (attest 5/5).

@napkinstack-agent
napkinstack-agent Bot merged commit 8e5d067 into main Nov 27, 2026
6 checks passed
@napkinstack-agent
napkinstack-agent Bot deleted the d108-site-export-words branch November 27, 2026 01:38
napkinstack-agent Bot pushed a commit that referenced this pull request Nov 27, 2026
…ng/v1 (#1283)

export's manifest says lifecycle: active. 02-modules section 6 holds on main: ADR-0001 creates the module, its manifest is compliant, its owner is NapkinStack/maintainers, and contracts/exporting/v1 is consumed by the shell alone since #1284. Third criterion of D108.

Agent-Session: wholeheard-3e-c2c6a0
Co-authored-by: kitokey-marc[bot] <356215105+kitokey-marc[bot]@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
napkinstack-agent Bot added a commit that referenced this pull request Nov 27, 2026
…1296)

D108 was deferred at cycle 11's closure and finished during cycle 12 on the decider's word of 2026-11-26, because D121's PDF export needs its program: #1212, #1279, #1283, #1284. Its criteria unchanged, the end date unchanged (framing.md section 4).

Agent-Session: wholeheard-3e-c2c6a0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

out-of-cycle Work outside the current cycle: an incident, a production defect; justified in the PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants