From fb82f0414590d77d3218b89fbc1ec61bf6d5f31b Mon Sep 17 00:00:00 2001 From: Seongho Bae Date: Tue, 11 Aug 2026 04:31:10 +0900 Subject: [PATCH 1/4] test(docs): catch stale protected email maturity --- src/protectedEmailDocumentationStatus.test.ts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/protectedEmailDocumentationStatus.test.ts diff --git a/src/protectedEmailDocumentationStatus.test.ts b/src/protectedEmailDocumentationStatus.test.ts new file mode 100644 index 00000000..ca7e4d90 --- /dev/null +++ b/src/protectedEmailDocumentationStatus.test.ts @@ -0,0 +1,20 @@ +import { readFileSync } from 'node:fs'; +import { resolve } from 'node:path'; + +import { describe, expect, it } from 'vitest'; + +const repositoryFile = (path: string): string => + readFileSync(resolve(process.cwd(), path), 'utf8'); + +describe('protected email documentation maturity', () => { + it('does not leave the merged email language/direction capability labeled as active-PR work', () => { + for (const path of [ + 'docs/email-output.md', + 'docs/doctoring/email-document-language-direction.md', + ]) { + const document = repositoryFile(path); + expect(document).toContain('Status: Implemented on protected main'); + expect(document).not.toContain('Status: Implemented on active PR'); + } + }); +}); From c086205c4484aac5da28b062f99e2963928b1dfa Mon Sep 17 00:00:00 2001 From: Seongho Bae Date: Tue, 11 Aug 2026 04:37:08 +0900 Subject: [PATCH 2/4] docs(email): mark language metadata protected --- docs/email-output.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/email-output.md b/docs/email-output.md index 6cb7587b..2de2af4d 100644 --- a/docs/email-output.md +++ b/docs/email-output.md @@ -1,6 +1,6 @@ # Deterministic email HTML output -Status: Implemented on active PR +Status: Implemented on protected main Inkspan's `markdownToEmailHtml()` is a deterministic Markdown-to-HTML bridge for email compose/send integrations. It is not a MIME builder, transport client, mailbox API, authentication surface, or persistence service. Hosts such as naruon own transport, recipients, authorization, tenant isolation, delivery policy, durable audit, retention, and downstream mail-client policy. From ed2fd7f4f031818bd038543feb31aa8b1ff614f1 Mon Sep 17 00:00:00 2001 From: Seongho Bae Date: Tue, 11 Aug 2026 04:37:35 +0900 Subject: [PATCH 3/4] docs(email): reconcile standards record maturity --- docs/doctoring/email-document-language-direction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/doctoring/email-document-language-direction.md b/docs/doctoring/email-document-language-direction.md index 9d66e8a8..080322cd 100644 --- a/docs/doctoring/email-document-language-direction.md +++ b/docs/doctoring/email-document-language-direction.md @@ -1,6 +1,6 @@ # Email document language and direction — standards doctoring -Status: Implemented on active PR +Status: Implemented on protected main ## Decision under review From fbc41013a10cdbbf04d5a150a13a6b48dc7298c0 Mon Sep 17 00:00:00 2001 From: Seongho Bae Date: Tue, 11 Aug 2026 04:42:11 +0900 Subject: [PATCH 4/4] test(docs): align email maturity contract with protected main --- src/emailOutputDocumentation.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emailOutputDocumentation.test.ts b/src/emailOutputDocumentation.test.ts index cececd18..652b5d1d 100644 --- a/src/emailOutputDocumentation.test.ts +++ b/src/emailOutputDocumentation.test.ts @@ -12,7 +12,7 @@ describe('deterministic email document metadata documentation', () => { it('documents full-document language and direction without moving host authority', () => { const guide = repositoryFile('docs/email-output.md'); - expect(guide).toContain('Status: Implemented on active PR'); + expect(guide).toContain('Status: Implemented on protected main'); expect(guide).toContain('languageTag'); expect(guide).toContain('textDirection'); expect(guide).toContain('Intl.getCanonicalLocales()');