chore: sync the frontend template from 5434760 to ebea300
Carries 21 template commits: the shared IndexedDB connection/transaction
kernel and the four runtimes moved onto it, the adapter barrel boundary and
the architecture rule that enforces it, the feature adapter contribution
model, `feature-http-binding`, the split of several oversized test files,
and the release identity now derived from the package name.
Product identity is unchanged. The three hard-coded `tech-log-frontend/…`
verifier ids are gone because the template derives them from the package
name and this package is `tech-log-frontend`.
Two decisions worth naming. The platform HTTP executor is the template's
verbatim — it now takes the installed contract so a feature's types flow
through the binding — and TechLog's four gateways, which address operations
by id, reach it through one adapter at the composition root instead of being
rewritten here. And the three derived CI baselines were recomputed from the
merged `config/ci/gates.json` rather than taken from either side: 94 command
definitions, 106 references, 141 artifacts, gate shape `629e5898…`. The
method was checked by first reproducing the pre-merge values from the
pre-merge file.
Verified here: types, lint, architecture, adapter inventory, CI contract,
design system, diagnostics, remediation ledger, browser security and build
all pass; 1789 unit, 152 component, 415 TechLog, 102 integration, 19
reference-feature, 17 recipe and 7 contract tests pass. Five gates stay
red and every one was reproduced at b297d65 first: `check:i18n`,
`check:registries`, `test:runtime-schema`, `verify:documentation` and
`test:sample-removal`.
Full decision record, including what was deliberately not carried and the
five open follow-ups, in `docs/operations/template-sync-2026-09-21.md`.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
b297d659f5
commit
afde2b1da1
@@ -482,7 +482,13 @@ const CANONICAL_GATE_SHAPE_SHA256 =
|
||||
// 주제 화면 셋(`/topics`, `/topics/:slug/:variant`, `/studio/topics/:id`): FE-GATE-009 가 각
|
||||
// 라우트의 수동 접근성 증거를 얻어 다시 계산했다. 같은 방법이다 — 87a22f68… 을 이전
|
||||
// gates.json 에서 먼저 재현해 계산이 맞는지 확인한 뒤 새 파일을 해싱했다.
|
||||
"8a1a5479041cbce479b59d669c97921a5ba83dd7cac309131723acc221903528";
|
||||
// Template sync (ebea300). Both sides again carried a digest of their own
|
||||
// gate set — 8a1a5479… here, 43dc4ed1… upstream — and neither describes the
|
||||
// merged config/ci/gates.json. Recomputed from the merged file by the same
|
||||
// method: 8a1a5479… was first reproduced from the pre-merge gates.json, so
|
||||
// the computation that produced this value is the one the constant is
|
||||
// pinned under.
|
||||
"629e5898f6a38d5056fc6a4bee834c47f363669ce9925a2c0dabeddd64d11879";
|
||||
|
||||
function canonicalGateShapeSha256(gates: CiGateContract["gates"]): string {
|
||||
const normalized = gates.map(
|
||||
@@ -527,9 +533,11 @@ function canonicalAuthorityBaselineFailures(contract: CiGateContract): string[]
|
||||
// `check-dev-release-manifest`. No gate read `public/*.json` at all, so a
|
||||
// fixture that did not declare the compiled contract set broke `pnpm dev`
|
||||
// outright while every static gate stayed green.
|
||||
if (contract.commands.length !== 85 || commandReferenceCount !== 97) {
|
||||
// Template sync (ebea300). The template's own baseline was 91/103; this
|
||||
// product's was 85/97. Recomputed from the merged config/ci/gates.json.
|
||||
if (contract.commands.length !== 94 || commandReferenceCount !== 106) {
|
||||
failures.push(
|
||||
`command authority baseline must contain exactly 85 definitions and 97 references; received ${contract.commands.length} definitions and ${commandReferenceCount} references`,
|
||||
`command authority baseline must contain exactly 94 definitions and 106 references; received ${contract.commands.length} definitions and ${commandReferenceCount} references`,
|
||||
);
|
||||
}
|
||||
// Template merge. 126 product artifacts plus the two the template added.
|
||||
@@ -548,8 +556,10 @@ function canonicalAuthorityBaselineFailures(contract: CiGateContract): string[]
|
||||
// 그리고 Studio 의 주제 편집 `/studio/topics/:id`.
|
||||
// 환경 구성(SETUP) 문서 종류가 `/setups/:slug` 를 더했다 — 설치된 라우트마다 수동 접근성
|
||||
// 증거를 하나씩 갖는 규칙이 그대로 적용된다.
|
||||
if (contract.artifacts.length !== 139) {
|
||||
failures.push(`artifact authority baseline must contain exactly 139 artifacts; received ${contract.artifacts.length}`);
|
||||
// Template sync (ebea300). The template's own baseline was 109 artifacts;
|
||||
// this product's was 139. Recomputed from the merged config/ci/gates.json.
|
||||
if (contract.artifacts.length !== 141) {
|
||||
failures.push(`artifact authority baseline must contain exactly 141 artifacts; received ${contract.artifacts.length}`);
|
||||
}
|
||||
if (contract.stages.length !== 5) {
|
||||
failures.push(`stage authority baseline must contain exactly 5 stages; received ${contract.stages.length}`);
|
||||
|
||||
Reference in New Issue
Block a user