Skip to content

Commit 99d0568

Browse files
docs: fix layering spine ordering (cli top), ADR 0009 deferred-scope wording, terse app-log-request-scope comment (#1222)
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent f1b0fab commit 99d0568

4 files changed

Lines changed: 8 additions & 15 deletions

File tree

‎CONTEXT.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ The perfect-shape refactor is complete and merged. Its end-state:
9797
GLOBALLY, across every production source file, it enforces the R1-R3 move rules
9898
(kernel-sink, commands-floor, platforms-seam) and rejects all production static value-import
9999
cycles. Separately, it ranks an explicit target spine —
100-
`kernel ◄ platforms ◄ core ◄ commands ◄ { cli, client, daemon-server } ◄ daemon-client` — and
100+
`kernel ◄ platforms ◄ core ◄ commands ◄ { client, daemon-server } ◄ daemon-client ◄ cli` — and
101101
rejects every back-edge within it. Root entrypoints and peripheral zones (`mcp`, `compat`,
102102
`remote`, `metro`, `replay`, `recording`, `snapshot`, `screenshot-diff`, `cloud-webdriver`,
103103
`sdk`, `utils`) are deliberately unranked (`UNRANKED_ZONES` in `scripts/layering/model.ts`):

‎docs/adr/0009-apple-platform-consolidation.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,6 @@ Implementation status as of 2026-07:
6464
- Deferred: the public `Platform` collapse from `ios`/`macos` to `apple` (the last, highest-diff step; the
6565
public wire still emits `ios`/`macos` leaves via `PUBLIC_PLATFORMS`) and net-new visionOS spatial-input QA.
6666

67-
This ADR owns the architectural decision. The Phase 3 platform-plugin umbrella (#972) is closed; only the
68-
public `Platform` collapse above remains deferred.
67+
This ADR owns the architectural decision. The Phase 3 platform-plugin umbrella (#972) is closed; within
68+
this consolidation the public `Platform` collapse above is the last deferred step (net-new visionOS
69+
spatial-input QA is separate follow-up, outside the consolidation).

‎scripts/layering/check.ts‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
// Import-direction lint — enforces the folder DAG established by the Phase-5
22
// folder moves (see CONTEXT.md, "Architecture: folder DAG + layering lint").
33
//
4-
// Ranked target spine (imports point DOWN, toward the kernel sink):
5-
// kernel ◄ platforms ◄ core ◄ commands ◄ { cli, client, daemon/server }
6-
// client ◄ daemon/client
4+
// Ranked target spine (imports point DOWN, toward the kernel sink; `A ◄ B` = B imports A):
5+
// kernel ◄ platforms ◄ core ◄ commands ◄ { client, daemon-server } ◄ daemon-client ◄ cli
76
//
87
// This gate enforces three things, with two different scopes:
98
// - GLOBALLY, across every production source file: the R1-R3 move rules and
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
// Lazy entry for request-scoped app-log provider composition.
2-
//
3-
// `request-platform-providers` composes every provider wrapper behind a dynamic import so
4-
// provider machinery stays out of the eager daemon graph. `app-log.ts` cannot be that lazy
5-
// boundary itself: `session-teardown`/`session-observability` import it statically for the
6-
// eager start/stop/doctor paths, so importing it dynamically was ineffective (the module is
7-
// already in the daemon chunk). This re-export is the dedicated lazy boundary for the
8-
// request-scope wrapper, keeping the dynamic import effective without changing where the
9-
// eager app-log code lives.
1+
// Dedicated lazy boundary for request-scoped app-log provider composition, kept
2+
// separate from the eager `app-log.ts` module so its dynamic import stays effective.
103
export { withAppLogProvider } from './app-log.ts';

0 commit comments

Comments
 (0)