From d63a3f7f3782016af1e31d688b202a2a41f02e4c Mon Sep 17 00:00:00 2001 From: mintaka Date: Sat, 21 Nov 2026 11:26:22 -0500 Subject: [PATCH 1/2] docs(meissa): tick M4 to M8 and record the merged Go API (RIG-8124) Tick the M4, M5, M6a, M6b, M7 and M8 boxes in ts-to-go-migration.md. Their PRs merged: meissa#66 (M4), meissa#56 (M5), meissa#74 (M6a to M8). Add an erratum after M8. The merged Go splits the ledger gate into ledgergate/core, ledgergate/run and ledgergate/claim. The runner is run.Once, Deps gains BaseRef(), and claim.CheckIDs replaces ClaimCheckIDs. Error and diagnostic text is unchanged from TS. Refs RIG-8124 Refs RIG-8125 Refs RIG-8126 Refs RIG-8127 Co-authored-by: Matt Wilkinson --- docs/designs/meissa/ts-to-go-migration.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/docs/designs/meissa/ts-to-go-migration.md b/docs/designs/meissa/ts-to-go-migration.md index 0ea1a4b7..9a4b100e 100644 --- a/docs/designs/meissa/ts-to-go-migration.md +++ b/docs/designs/meissa/ts-to-go-migration.md @@ -881,6 +881,13 @@ func Main(ctx context.Context, args []string, env func(string) string, stdout, s `--glob` uses `doublestar.Match`. `--grep` stays a case-insensitive substring match, lowercased with `jstext.ToLower`. +**Erratum (RIG-8124 to RIG-8127, meissa#74).** The merged Go differs from the +interface blocks above in three ways. The packages are `ledgergate/core`, +`ledgergate/run` and `ledgergate/claim`, not one `ledgergate` package. The +runner is `run.Once`, not `RunOnce`. `Deps` gains `BaseRef() string`, as in TS. +The M7 claim client is `claim.NewClaimClient`, and `claim.CheckIDs` replaces +`ClaimCheckIDs`. Error and diagnostic text is unchanged from TS. + ### M9: `length-gate` comment ratchet Port `config.ts` and the comment half of `core.ts` to `go/internal/lengthgate`, @@ -1162,12 +1169,12 @@ the meissa `README.md` install section to the flake `tools` package and - [x] M1b `commentscan` scanners part 1 (scan, languages, comment blocks, routing) - [ ] M2 `commentscan` Markdown, TSX and Astro; release-please `go` package; first `go/v*` tag - [x] M3 flake `tools` package and `ref-gate` -- [ ] M4 Renovate hash refresh in Go, `gomod` manager, Renovate config test -- [ ] M5 `ledger` public package -- [ ] M6a `design-ledger-gate` pure core -- [ ] M6b `design-ledger-gate` runner and validation legs -- [ ] M7 `design-ledger-gate` claim check and CLI in `tools` -- [ ] M8 `dl-claim`, `dl-list`, `dl-reconcile` in `tools` +- [x] M4 Renovate hash refresh in Go, `gomod` manager, Renovate config test +- [x] M5 `ledger` public package +- [x] M6a `design-ledger-gate` pure core +- [x] M6b `design-ledger-gate` runner and validation legs +- [x] M7 `design-ledger-gate` claim check and CLI in `tools` +- [x] M8 `dl-claim`, `dl-list`, `dl-reconcile` in `tools` - [ ] M9 `length-gate` comment ratchet - [ ] M10 `length-gate` document ratchet - [ ] M11 `length-gate` git, runner and CLI in `tools` From f1772f6e8009b24056459672256861086f408e34 Mon Sep 17 00:00:00 2001 From: mintaka Date: Sat, 21 Nov 2026 11:49:51 -0500 Subject: [PATCH 2/2] =?UTF-8?q?docs(meissa):=20move=20the=20M6=E2=80=93M8?= =?UTF-8?q?=20API=20notes=20into=20the=20errata=20section?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The inline erratum paragraph in the M6b section is replaced by the repository's errata form: an Errata marker in the header and a final ## Errata section. The stale M6b to M8 interface names stay as frozen text, and the errata entry quotes them. The entry now covers the three renames the review found (claim.Verdict, claim.ServiceError, claim.Fetch) and drops the wrong count of differences. The error text claim is narrowed to the JSON syntax exception. Co-Authored-By: Matt Wilkinson --- docs/designs/meissa/ts-to-go-migration.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/docs/designs/meissa/ts-to-go-migration.md b/docs/designs/meissa/ts-to-go-migration.md index 9a4b100e..91bd8e6f 100644 --- a/docs/designs/meissa/ts-to-go-migration.md +++ b/docs/designs/meissa/ts-to-go-migration.md @@ -1,5 +1,7 @@ # meissa: TypeScript to Go migration +Errata: E1 (2026-11-21) — see §Errata + Linear: RIG-5901. Matt's ruling B (2026-10-19): every non-frontend TypeScript surface ports to Go now, not on touch. Ruling of 2026-11-01: the old product is archived and tabit is deleted, so neither is a consumer this record waits on. Matt ruled @@ -881,13 +883,6 @@ func Main(ctx context.Context, args []string, env func(string) string, stdout, s `--glob` uses `doublestar.Match`. `--grep` stays a case-insensitive substring match, lowercased with `jstext.ToLower`. -**Erratum (RIG-8124 to RIG-8127, meissa#74).** The merged Go differs from the -interface blocks above in three ways. The packages are `ledgergate/core`, -`ledgergate/run` and `ledgergate/claim`, not one `ledgergate` package. The -runner is `run.Once`, not `RunOnce`. `Deps` gains `BaseRef() string`, as in TS. -The M7 claim client is `claim.NewClaimClient`, and `claim.CheckIDs` replaces -`ClaimCheckIDs`. Error and diagnostic text is unchanged from TS. - ### M9: `length-gate` comment ratchet Port `config.ts` and the comment half of `core.ts` to `go/internal/lengthgate`, @@ -1183,3 +1178,14 @@ the meissa `README.md` install section to the flake `tools` package and - [ ] M14 npm publish tool in Go; Bun leaves meissa - [ ] M15 RigelBuild/docs cutover - [ ] M16 npm deprecation + +## Errata + +### E1 — 2026-11-21 (RIG-8124) + +Stale: "`RunOnce` treats `Legs.ClaimCheck`" (M6b), and the M6b to M8 names. The merged Go at meissa#74 (`aacea5c2`) differs in these ways. + +- The packages are `ledgergate/core`, `ledgergate/run` and `ledgergate/claim`, not one `ledgergate` package. `LoadConfig` and `ClassifyDesignPath` are in `core`. `ReadDLClaimToken` is in `claim`. +- The runner is `run.Once`, not `RunOnce`. `Deps` gains `BaseRef() string`, as in TS. +- `ClaimVerdict`, `ClaimServiceError`, `ClaimFetch` and `ClaimCheckIDs` are `claim.Verdict`, `claim.ServiceError`, `claim.Fetch` and `claim.CheckIDs`. `claim.NewClaimClient` returns `claim.Fetch`. +- Error and diagnostic text matches TS, except JSON syntax errors, which come from `encoding/json`. That covers `LoadConfig` and the claim client's `malformed response body`.