Harness Intelligence Wiki
SpecsCLIFrontend Composition Layer

Frontend Composition Layer

Architecture: Frontend Composition Layer

Context and Scope

  • Capability identity: apps/wiki/content/docs/project/specs/cli/frontend-composition-layer. The capability gives the shared frontend-domain-structure skill one fixed layer model with a top Composition layer, and enforces that model with a managed oxlint asset that HI installs through the react Pack.
  • Actors and outcome: an operating agent applies the skill while it plans or implements frontend work; the managed lint run reports every layer violation; a project maintainer reads the errors and may turn a rule off. The outcome: shells, providers and page templates have one legal owner, and the structure that the skill describes is the structure that lint checks (Q1, Q3, Q9, Q21).
  • In scope: the skill in wearedevpunks/skills (skills/agnostic/frontend/frontend-domain-structure/** and its contract test); its consumers create-plan, implement-spec, ask-hi, hi-cli; the react-frontend-layers lint asset, its frontend-layers plugin and the react Pack entry in apps/cli; the parity test; wiki pages and BASELINE_CHANGELOG.md (Q18).
  • Non-goals: migration of pegasus, apito, emera or assolombarda in this delivery; a violation baseline or ratchet; a mechanism that refuses local rule overrides; per-project layer names or route folder options (Q10, Q16, Q20, Q23).
  • Spec: sibling SPEC.md (not yet compiled).

Canonical Terms

Source: glossary, Glossary Q15, Q24.

  • Composition: the top frontend layer. It combines features and modules into providers, surface shells, page templates and registries. Avoid: abstractions, root, templates, shell layer.
  • Surface: one part of an app that a distinct user group sees through its own shell. Avoid: area, portal, section, sub-app.
  • Feature: a user-facing capability with its own workflow, policy or state. Avoid: page, screen, widget.
  • Module: an app-local capability that several features use. It owns no user workflow. Avoid: shared, lib, utils, common.
  • Integration: an adapter to an outside system, client setup, or a fake or mock runtime. Avoid: infra, adapters, mock, prototype.
  • UI: primitives and shadcn components; the shared UI package in a monorepo, src/ui/ in a single-package repository.
  • Relationships: a Surface is a subfolder of Composition; Composition imports Feature and Module.
  • Axioms: each layer imports only lower layers; a Feature never imports another Feature; in a monorepo, primitives and shadcn components live only in the shared UI package.

Sources

SourceRoleExact location and anchorImmutable revision or content hash
S1Grill status and closureapps/wiki/content/docs/project/grilling/frontend-composition-layer-grill-status.md #branch-dashboard, #technical-grounding, #current-round, #glossarycommit fad22f140861; sha256 693c7380ea424dda…
S2Grill decision logapps/wiki/content/docs/project/grilling/frontend-composition-layer-grill-log.md Q1–Q35, #glossary-q15, #q35-r5, #closurecommit fad22f140861; sha256 071a0e08e77ef4ad…
S3Published glossaryapps/wiki/content/docs/project/domains/frontend-composition-layer-glossary.mdxcommit 99fa23fe313e; sha256 2f242755ee1c9c6c…
S4Brainstorm Briefapps/wiki/content/docs/project/grilling/frontend-composition-layer-brainstorm-brief.mdcommit 99fa23fe313e; sha256 3b6981ffb2bf4745…
S5Current skill (observed)wearedevpunks/skills skills/agnostic/frontend/frontend-domain-structure/{SKILL.md,references/structure.md,references/react/structure.md,agents/openai.yaml}; tests/frontend-domain-structure.contract.test.mjscommit 21a3cac7cff1
S6Skill consumers (observed)wearedevpunks/skills skills/agnostic/planning/create-plan/references/architecture-convergence.md:37; skills/agnostic/planning/implement-spec/references/architecture-conformance.md:23-30; skills/agnostic/cli/ask-hi/references/{discovery-and-docs.md:215,baseline.md:78}; skills/agnostic/cli/hi-cli/references/managed-lint.mdcommit 21a3cac7cff1
S7Managed lint (observed)apps/cli/src/data/catalog/packs.ts:201-235,328,337; apps/cli/src/data/catalog/lint.ts:99-132; apps/cli/src/registry/builders/lint.ts:100-108,215-218,369-372,455-466; apps/cli/src/registry/publisher/sources/lint.ts:92-105; apps/cli/src/registry/publisher/sources/lint.test.ts:41-62; apps/cli/src/data/scripts/managed-lint.mjs:688-712commit 99fa23fe313e
S8Repository detector (observed)apps/cli/src/integrations/repository-detector.ts:141-158,221-222,440-446,547-590commit 99fa23fe313e
S9Oxlint plugin API (observed)@oxlint/plugins@1.86.0 index.d.ts:3801-3823 (filename absolute, cwd), :1763-1821 (ImportExpression, ImportDeclaration, ExportNamedDeclaration, ExportAllDeclaration sources), :2520-2570 (visitor keys)package version 1.86.0
S10Evidence repositories (observed)pegasus@bf896c7 ARCHITECTURE.md, apps/web/src/architecture.test.ts; apito@3b59cee, emera@b1e86e1, assolombarda@0da85a7 apps/web/src; ci-app@973e1843 apps/backend/AGENTS.md:9, apps/dashboard/src/routeslisted commits
S11Issue-224 managed lint decisionapps/wiki/content/docs/project/grilling/issue-224-managed-lint-grill-log.md:228-239 (Q8 owner-local evidence)commit 99fa23fe313e

Source Disposition

Question / entryDispositionAccepted detail, replacement, or unresolved pointEvidenceParked owner / resume trigger
Q1–Q8, Q10acceptedBrief decisions, Source: Brainstorm BriefS2, S4—
Q9accepted, refined"lint asset of the frontend Pack" refined by Q19 to the react PackS2 Q9, Q19—
Glossary Q15, Q11–Q14, Q16–Q35acceptedUser answers R1–R4S2—
Q35 path .agents/skills/frontend-domain-structure/...supersededReplaced by Q35-R5: parity test reads apps/cli/skills/agnostic/frontend/frontend-domain-structure/references/structure.mdS2 Supersession R5—
Current skill: "These labels may differ between projects" (references/structure.md:24-25)supersededFixed names (Q8)S5—
Current skill: framework composition owns shells, layouts and providers (references/structure.md:17-18)supersededComposition owns them; routes import only composition (Q2, Q3)S5—
Current skill: narrow peer-feature exception (references/structure.md:115-118)supersededNo peer-feature import (Q5)S5—
Current skill: modules own integrations and client setup (references/structure.md:19,78-80)supersededIntegration layer (Q1, Q7)S5—
Current skill: "does not mandate architecture tests" (references/react/structure.md:68-71)supersededMandatory lint asset (Q9)S5—
Current skill: app-wide providers in an app-local module (references/react/structure.md:44)supersededProviders in composition/providers/ (Q3, Q29)S5—

Whole System

The skill reference is the single authority. The lint plugin implements its Lint Rules table, a parity test proves the two match, and managed lint runs the plugin in every React package that has a route layer. Agents read the skill through planning and implementation skills.

Anchors: Q9, Q18, Q19, Q20, Q21, Q27, Q31, Q35; S5–S8. Conclusion: because the plugin and the skill meet only in the parity test, a change to either one without the other fails CI, so the agent guidance and the lint result cannot drift.

Block selector / component / levelOwnerState and authorityInterface / dependencySupported constraint and source
ARC-001 Layer modelskills repo references/structure.mdAuthority for layer order, domains, entrypoints and the Lint Rules tableRead by agents; parsed by ARC-008One fixed model with a legal owner for shells and providers; Q1, Q2, Q3, Q8, Q21, Q27
ARC-002 Composition layeradopting app composition/First level fixed: providers/ plus one folder per SurfaceImports features, modules, integrations, uiShells and page templates out of features/; Q3, Q4, Q6, Q14, Q29
ARC-003 Domain and public entrypointadopting app layer foldersA domain is the first folder under a layer; index.ts or index.tsx is its entrypointCross-domain imports only through the entrypoint; ui/ exemptDeep imports and peer cycles rejected; Q5, Q11, Q28
ARC-004 Layer root and applicabilityfrontend-layers pluginLayer root src/ else package root; package checked only with app/ or routes/; monorepo by detector signalsReads filesystem at lint timeNo false errors in packages/ui, video or extension packages; Q22–Q26, Q33
ARC-005 Server boundaryadopting app server/Outside the frontend layers; effect-backend-structure governs itapp/api imports only server/; only integrations/ imports server public entrypointsBackend is an outside system for the frontend; Q13
ARC-006 Lint asset and pluginapps/clireact-frontend-layers asset in the lint catalog; react Pack lintAssets; plugin frontend-layers with seven rulesdefinePlugin from @oxlint/plugins; installed at <scope>/tools/oxlint/frontend-layers/index.mjsOwner-local applicability (issue-224 Q8); Q9, Q11, Q19, Q31
ARC-007 Import resolutionfrontend-layers pluginNo resolver in the plugin API; the plugin resolves relative and @/ specifiers itselfcontext.filename absoluteRelative imports cannot bypass the rules; Q11, Q32
ARC-008 Rule–skill parityapps/cli testCompares Lint Rules ids in the synced skill copy with plugin rule namesReads apps/cli/skills/agnostic/frontend/frontend-domain-structure/references/structure.md and the pluginSkill and lint never disagree; Q21, Q35
ARC-009 Skill files and consumersskills repo and HI wikiSKILL.md, both references, agents/openai.yaml, contract test; consumer references; wiki pages; BASELINE_CHANGELOG.mdSynced to HI by bun run sync:skillsOne delivery moves every consumer; Q18, Q27
ARC-010 Adoption behavioradopting repository and agentEvery violation is an error; no baseline; oxlint.local.ts may turn a rule off; the agent applies the pattern only to its invoking scopeExisting managed-lint override contractMandatory without new machinery; Q16, Q17, Q20

Critical Flows and Boundaries

FLOW-001 Lint run on one Software Scope

  • FLOW-001-STEP-001: managed lint runs oxlint once per Software Scope with cwd = scope (S7 managed-lint.mjs:688-712). The asset applies where the react Pack applies: the scope's own manifest declares react, react-dom or next; wiki manifests are skipped (S8 :141-158,221-222,440-446; Q19).
  • FLOW-001-STEP-002: layer root is src/ when it exists, else the package root (Q26).
  • FLOW-001-STEP-003: a package without app/ or routes/ under its layer root is not checked (Q25).
  • FLOW-001-STEP-004: the first path segment under the layer root gives the layer; the second gives the domain (Q28). Root files proxy.ts, middleware.ts, instrumentation.ts count as the route layer (Q22). Test and story files get no exemption (Q30).
  • FLOW-001-STEP-005: specifiers from ImportDeclaration, ExportNamedDeclaration and ExportAllDeclaration with source, ImportExpression with a string literal, and a CallExpression of require with a string literal (Q32; S9).
  • FLOW-001-STEP-006: relative specifiers resolve against the absolute context.filename; @/ resolves against the layer root; every other specifier is a package and is ignored (Q32; S9 :3801-3803).
  • FLOW-001-STEP-007: rules evaluate the (source layer, source domain) → (target layer, target domain, target file) edge and the folder names (Q11, Q31).
  • FLOW-001-STEP-008: each violation is an error; no baseline exists; a project may set a rule off in oxlint.local.ts, using the renamed plugin prefix in nested scopes (Q16, Q20; S7 builders/lint.ts:215-218,369-372).

Conclusion: because the plugin resolves every relative and @/ specifier and classifies by path only, one pass per file decides every rule without a module resolver or project options (Q32, Q23).

FLOW-002 Agent applies the skill

create-plan (architecture-convergence) | implement-spec (architecture-conformance)   FLOW-002-STEP-001
  read SKILL.md -> references/structure.md (+ react/structure.md for React)          FLOW-002-STEP-002
  place each changed responsibility in its honest layer, only in the invoking scope  FLOW-002-STEP-003
  run managed lint (frontend-layers rules)                                           FLOW-002-STEP-004
  fix violations in the touched scope; existing violations elsewhere stay errors     FLOW-002-STEP-005
  • FLOW-002-STEP-001: planning and conformance skills route frontend scope to the skill (S6; Q18).
  • FLOW-002-STEP-002: structure.md is the authority; react/structure.md holds React placement (Q27).
  • FLOW-002-STEP-003: the agent applies the pattern only to the scope of the implementation that invoked it (Q17).
  • FLOW-002-STEP-004 and FLOW-002-STEP-005: lint proves the touched code; whole-app migration is not part of this flow (Q10, Q16).

Conclusion: because adoption is scoped and violations are plain errors, a non-conforming repository adopts the model one implementation at a time and lint shows the remaining distance.

FLOW-003 Rule–skill parity

skills repo: edit structure.md Lint Rules table          FLOW-003-STEP-001
HI: bun run sync:skills -> apps/cli/skills copy           FLOW-003-STEP-002
HI: parity test reads table ids and plugin rule names    FLOW-003-STEP-003
CI: unequal sets fail                                    FLOW-003-STEP-004
  • FLOW-003-STEP-001 to FLOW-003-STEP-004: Q21, Q35. The skills contract test cannot see the plugin; HI sees both (Q35 rejected alternative).
  • Steps 2 and 3 read the synced copy, not the skills repo.

Conclusion: because the HI test reads both sides, a skill sync that changes the table without the plugin fails CI before release.

Layer import direction

Anchors: Q1, Q2, Q5, Q12, Q13, Q22, Q24. Conclusion: every arrow points to a lower layer, so the graph is acyclic by construction; a higher layer may also import any layer below its direct neighbour.

Modules and Interfaces

wearedevpunks/skills: skills/agnostic/frontend/frontend-domain-structure/
├── SKILL.md                      workflow; adds "run the frontend-layers lint rules"
│                                 and "apply only to the invoking scope"        (Q17, Q27)
├── agents/openai.yaml            default prompt follows the new model           (Q18)
├── references/structure.md       AUTHORITY: layer table, import rules,
│                                 "## Lint Rules" table (rule id per row)         (Q21, Q27)
└── references/react/structure.md providers, shells, page templates, hooks       (Q27)
wearedevpunks/skills: tests/frontend-domain-structure.contract.test.mjs           (Q18)

harness-intelligence apps/cli/src/
├── data/lint/frontend-layers/
│   ├── index.mjs                 definePlugin({ meta: { name: "frontend-layers" }, rules })  (Q31)
│   └── (fixtures + tests)        real oxlint on pass/fail trees per rule       (Q34)
├── data/catalog/lint.ts          asset id "react-frontend-layers"; jsPlugins
│                                 [{ name: "frontend-layers",
│                                    specifier: "./tools/oxlint/frontend-layers/index.mjs" }]
├── data/catalog/packs.ts         react Pack: lintAssets += "react-frontend-layers"   (Q19)
└── parity test                   Lint Rules ids == plugin rule names            (Q35)

adopting Software Scope:
└── tools/oxlint/frontend-layers/index.mjs   copied by the registry (S7 sources/lint.ts:92-99)

Rule interface (Q31): plugin frontend-layers exports exactly these rules.

RuleError whenSource
layer-orderan import targets a higher layer, or a file outside integrations/ and app/api/ imports server/Q1, Q11 check 1, Q13
route-importsa route-layer file imports anything other than composition/; an app/api/ handler imports anything other than server/Q2, Q11 check 2, Q13
no-peer-featurea file in features/<a> imports features/<b>Q5, Q11 check 3
public-entrypointa cross-domain import targets a file other than the domain's index.ts/index.tsx (ui/ exempt)Q11 check 4, Q28
no-prototype-foldera folder named *prototype* or mock* exists outside integrations/Q7, Q11 check 6
known-top-levela top-level folder under the layer root is not app, routes, composition, features, modules, integrations, ui, serverQ22, Q23
ui-placementan app-local ui/ folder exists in a monorepoQ24, Q33

Shared mechanics (Q11 check 5, Q32, Q33): every rule uses one specifier resolver (relative + @/) and one monorepo probe (walk up from the package root for pnpm-workspace.yaml or a package.json with workspaces, read once per run).

Accepted Detail Coverage

Question + exact entry/evidence anchorExact accepted choice and supplied detailProvided rationale / alternativesArchitecture selector + applicable visualSystem constraint served
Q1app → composition → features → modules → integrations; lower-only importsRejected abstractions/, root/+templates/, no integrations/ARC-001; layer import direction viewAcyclic layer graph
Q2Routes import only composition/Rejected module readers in routesARC-001, ARC-006 route-importsThin routes
Q3Composition owns providers, surface shells, page templates, registriesnot recordedARC-002Legal owner for combining code
Q4Surface is a subfolder of composition/ only; features flatRejected features nested by surface, surface mini-appsARC-002One owner per feature
Q5No peer-feature imports; nearest composition wires themRejected narrow exception; rejected pegasus "move down" onlyARC-003, ARC-006 no-peer-featureNo feature cycles
Q6Consumable shell parts are modules; assembly is compositionnot recordedARC-002Removes shell↔feature cycles
Q7Mock/demo/fake runtimes are integrations; no production UI in "prototype" foldersnot recordedARC-006 no-prototype-folderPrototype code off production paths
Q8Fixed layer namesDrops "labels may differ"ARC-001Lint needs fixed names
Q9Mandatory lint asset (refined by Q19)Rejected recommended-only; rejected skill-shipped scriptARC-006Enforcement
Q10Skill and enforcement only; repos migrate by running the skillRejected repo migration plansContext and Scope; FLOW-002Bounded delivery
Q11Six checks: layer order, routes→composition, no peer feature, public entrypoint, relative imports, prototype/mock foldersRejected checks 1–3 onlyARC-006 rule table; FLOW-001-STEP-007Full structure enforcement
Q12ui/ holds primitives and shadcn; other presentation with its ownerRejected no ui/ARC-004; layer viewPrimitive placement
Q13server/ outside layers, effect-backend-structure; app/api → server/; only integrations import server public entrypointsRejected modules import server readersARC-005; layer viewBackend as outside system
Q14Page template exports component + optional generateMetadata and loaders; framework packages importable everywhereRejected routes import module readersARC-002; FLOW-001-STEP-006 (packages ignored)Routes stay adapters
Glossary Q15Composition, Surface, Feature, Module, Integration; relationships; axiomsRejected two-term variantCanonical TermsShared vocabulary
Q16Every violation an error; no baselineRejected ratchetARC-010; FLOW-001-STEP-008No new mechanism
Q17Skill applies pattern only to the invoking implementation scopeRejected one-shot migration and review inventoryARC-010; FLOW-002-STEP-003Incremental adoption
Q18One delivery: skill files, contract test, create-plan, implement-spec, ask-hi, hi-cli, apps/cli asset, wiki, BASELINE_CHANGELOG.mdRejected split deliveryARC-009; system mapConsumers move together
Q19Asset on react Pack; skill stays in frontend PackRejected detection data on frontend PackARC-006; FLOW-001-STEP-001Owner-local applicability (S11)
Q20Local off allowed through existing override contractRejected override-refusal mechanismARC-010; FLOW-001-STEP-008Existing contract reused
Q21Skill reference is authority; lint implements and links it; no disagreementRejected lint as authorityARC-001, ARC-008Single authority
Q22Unknown top-level folder is an error; proxy.ts, middleware.ts, instrumentation.ts are route layerRejected ignoreARC-006 known-top-level; FLOW-001-STEP-004No catch-all folders
Q23Route layer enum app/ or routes/; no optionRejected per-project optionARC-004, ARC-006Next and TanStack Router
Q24Monorepo: only packages/ui; app-local ui/ is an error; single repo: src/ui/ lowest layerRejected both; rejected no single-repo src/ui/ARC-004, ARC-006 ui-placementOne primitive home
Q25Checked only with app/ or routes/ under layer rootRejected exemption listsARC-004; FLOW-001-STEP-003No false errors in libraries
Q26Layer root src/ else package rootRejected require src/ARC-004; FLOW-001-STEP-002No project option
Q27structure.md rewritten with layer table + Lint Rules table; react/structure.md React placement; SKILL.md adds lint + scoped applicationRejected new layers.mdARC-001, ARC-009; module treeOne authority file
Q28Domain = first folder under a layer; entrypoint index.ts/index.tsx; free inside; ui/ exemptRejected public.tsARC-003; public-entrypointDeliberate boundaries
Q29Composition first level fixed: providers/ + surfaces; inside surface guided (shell/, pages/<page>/), not lintedRejected linted surface internalsARC-002Light constraint
Q30Tests and stories follow the rulesRejected pegasus exemptionFLOW-001-STEP-004No test-only back edges
Q31Asset react-frontend-layers; plugin frontend-layers at apps/cli/src/data/lint/frontend-layers/index.mjs, installed <scope>/tools/oxlint/frontend-layers/index.mjs; seven rulesRejected single ruleARC-006; module tree; rule tablePer-rule control
Q32Resolve relative vs absolute context.filename, @/ vs layer root, others ignored; five node kindsRejected tsconfig pathsARC-007; FLOW-001-STEP-005/006Simple, deterministic resolution
Q33Walk up for pnpm-workspace.yaml or package.json workspaces, once per runRejected per-package generated settingARC-004No builder change
Q34Vitest runs real oxlint on pass/fail fixture trees per rule, beside packaging testRejected fake-context unit testsARC-006; module treeProves oxlint wiring
Q35, Q35-R5HI test parses the Lint Rules table in apps/cli/skills/agnostic/frontend/frontend-domain-structure/references/structure.md and compares with plugin rule namesRejected skills contract test pinARC-008; FLOW-003Exact parity

Spec Traceability

  • State: complete. Every OUT-### and AC-### of the sibling SPEC.md maps to architecture selectors and accepted grill entries.
Spec code / section selectorArchitecture selectorsAccepted grill Q / exact log-entry and evidence anchorsCoverage explanation
OUT-001ARC-001, ARC-002, ARC-003, ARC-005Q1, Q3, Q5, Q8, Q13, Q21; S2Skill reference owns the fixed layer model
AC-001ARC-001, ARC-005; layer import direction viewQ1, Q8, Q12, Q13, Q23; S2Layer names, order and server/ boundary
AC-002ARC-002Q3, Q4, Q29; S2Composition ownership and first-level layout
AC-003ARC-002, ARC-003Q5, Q6, Q7; S2No peer features, shell split, mocks as integrations
AC-004ARC-003, ARC-004, ARC-005Q13, Q22, Q24, Q26, Q28; S2Domains, entrypoints, layer root, root files, UI and server placement
AC-005ARC-001, ARC-006 rule tableQ27, Q31; S2Lint Rules table lists the seven rule ids
OUT-002ARC-002, ARC-009Q3, Q14, Q27; S2React placement lives in the React addendum
AC-006ARC-002, ARC-009Q3, Q14, Q27; S2Providers, shells, page templates and route adapters in React terms
OUT-003ARC-009, ARC-010, FLOW-002Q17, Q18, Q27; S2Agents and consumer skills follow the new model
AC-007ARC-010, FLOW-002-STEP-003, FLOW-002-STEP-004Q17, Q27, Q30; S2SKILL.md runs lint and applies only to the invoking scope
AC-008ARC-009, FLOW-002-STEP-001Q18; S2Consumer references and contract test move together
OUT-004ARC-006, FLOW-001-STEP-001Q9, Q19, Q31; S2Asset reaches React scopes through the react Pack
AC-009ARC-006; module treeQ19, Q31; S2Catalog and Pack entries
AC-010ARC-006, FLOW-001-STEP-001Q19, Q31; S2Byte-identical install path and owner-local applicability
OUT-005ARC-004, ARC-006, ARC-007, FLOW-001Q11, Q22, Q23, Q24, Q25, Q26, Q31, Q32, Q33; S2Plugin enforces the model
AC-011ARC-006 rule table, FLOW-001-STEP-007, FLOW-001-STEP-008Q11, Q31, Q34; S2Each rule fails its failing fixture and passes its passing fixture
AC-012ARC-004, FLOW-001-STEP-003Q25; S2Packages without a route layer are not checked
AC-013ARC-004, ARC-007, FLOW-001-STEP-002, FLOW-001-STEP-005, FLOW-001-STEP-006Q26, Q32; S2Layer root and specifier resolution
AC-014ARC-004, ARC-006 ui-placementQ24, Q33; S2Monorepo probe and UI placement
AC-015FLOW-001-STEP-004Q30; S2Tests and stories are checked
AC-016ARC-010, FLOW-001-STEP-008Q16, Q20; S2Plain errors; local off honored
OUT-006ARC-008, FLOW-003Q21, Q35, Q35-R5; S2Skill and plugin cannot drift
AC-017ARC-008, FLOW-003-STEP-003, FLOW-003-STEP-004Q21, Q35, Q35-R5; S2Parity test fails on mismatch
OUT-007ARC-009Q18; S2Docs and release notes move with the change
AC-018ARC-009Q18; S2Wiki pages and BASELINE_CHANGELOG.md entry

Flow Failure Coverage

LensEvidence / unknown / justified not applicableGuarantee at stakeMaterial unresolved gap
Entry points and path convergenceAgents enter through create-plan, implement-spec or direct invocation (FLOW-002, S6); lint enters per Software Scope (FLOW-001-STEP-001); both converge on ARC-001 through ARC-008 parity (Q21, Q35); non-app React packages gated (Q25); wiki manifests skipped (S8)Guidance and lint apply the same rulesNone
Critical execution pathsFLOW-001 steps 1–8 ordered; skip branch at STEP-003 (Q25)Every checked file classified before rules evaluateNone
State ownership and authoritystructure.md owns the rules (Q21, Q27); asset applicability owned by the react Pack (Q19); local override owned by the project (Q20)One authority per decisionNone
Transaction and side-effect boundariesNot applicable: static source analysis with no writes; registry copies files through existing installer (S7)—None
Concurrency and stale stateStale synced skill copy vs plugin caught by parity test (FLOW-003; Q35); otherwise not applicable (read-only lint)Parity at releaseNone
Idempotency and retriesLint and parity test are pure reads; reruns give the same resultDeterministic resultNone
Partial failure and recoveryPartially migrated repositories stay red until each scope adopts (Q16, Q17); a project may turn a rule off (Q20)Visible remaining distanceNone
Execution lifetime and durabilityNot applicable: no long-running work; monorepo probe cached per lint run only (Q33)—None
Lifecycle and dependency transitionsSingle repo converted to monorepo makes src/ui/ an error (Q16, Q24); nested scopes rename the local plugin prefix, so overrides use frontend-layers-<scope> (S7 builders/lint.ts:215-218)Overrides keep workingNone — documentation detail for hi-cli managed-lint reference
Completion and observabilityLint errors name the rule; parity test and fixture tests prove the plugin (Q34, Q35)Operator sees which rule failedNone

Parked Work and Non-material Unknowns

Question / sourceDisposition and scope consequenceOwner / resume triggerWhy current guarantees remain closed
Repository migrations (pegasus, apito, emera, assolombarda)Out of scope by Q10Each repository's next frontend implementation that invokes the skill (Q17)Lint reports the distance; no guarantee depends on migration
ImportExpression with a non-literal sourceNot resolved by the rule (Q32 covers string literals only)Future grill if dynamic specifiers appearNon-material: no evidence repository uses computed import paths across layers

Validation

  • Decision/source/glossary reconciliation: status closed R4 with quoted confirmation; log Q1–Q35 and Glossary Q15 each mapped; published glossary matches status glossary terms, relationships and axioms (S1–S3).
  • Exact-detail and cross-level coverage: every accepted entry has a row in Accepted Detail Coverage with a selector.
  • Relative links, selector targets, and visual source/order checks: grill log anchors follow its ### Q<N> headings; ARC/FLOW anchors are explicit <a id> elements; views follow accepted order.
  • Spec-code -> architecture -> grill coverage: complete; 7 outcomes and 18 criteria each map to selectors and accepted Q entries.
  • Mermaid parsing/rendering: recorded in the compile handoff.
  • Existing spec agreement: absent; architecture precedes spec.
  • Remaining limits: the non-literal dynamic import unknown above.

On this page