Skip to content

spec(AST-125): React Native platform: Navigation hosts - #12554

Draft
imdreamrunner wants to merge 22 commits into
mainfrom
spec/ast-125-react-native-navigation-hosts
Draft

imdreamrunner wants to merge 22 commits into
mainfrom
spec/ast-125-react-native-navigation-hosts

Conversation

@imdreamrunner

@imdreamrunner imdreamrunner commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Depends on #12563 (the spec:AST-112 amendment: default linking), #12594 (spec:AST-140, the shared platform rules) and #13029 (spec:AST-112 moves its router lines here and its public-API rule to spec:AST-140 FR9 and DEC-9).
Related records: AST-124 #12562 (the gesture owner the back swipe defers to), AST-128 #12558 (the presentation host for modal routes), AST-129 #12552 (window safe-area insets), AST-140 #12594 (the shared platform rules this record cites).
Not stacked. Merges after #12563 (AST-112), #12594 (AST-140) and #13029 (AST-112 and AST-140).

Exact decision needed

The contract of the React Native platform's navigation hosts: the six native components of the navigation capability (AstryxStackHost, AstryxStackScreen, AstryxHeaderSlot, AstryxTabsHost, AstryxTabScreen, AstryxTabAccessory) and the AstryxRouter JavaScript protocol (canOpenPath, getRouterState, navigateToPath, subscribeRouterState). What the router owns and what the hosts own, each host's props and events, back gating, pop start, per-screen appearance, insets reported to JavaScript, fallbacks when the hosts are absent, accessibility, the group's named features, and its two exceptions to public platform API. Default linking and public-API-only are spec:AST-112's (FR3, FR4, as amended in #12563); the shared platform rules (registration, the missing piece, results, additive evolution and named features in general, threading, coexistence) are spec:AST-140's (FR1, FR2, FR3, FR5, FR6, FR9); this record cites them.

Existing authority searched

No current claim settles the hosts' contract; AST-112 names the capability and DEC-9 only.

Decision

The record states the hosts' observable contract (FR1 to FR15), the native contract tables, and the platform support table. The tab accessory contract has one placement vocabulary (expanded, inline). The header and tab bar components decide system or drawn rendering in their own records, and the hosts host either rendering (FR1, FR6). The AstryxRouter protocol serves the app's own callers: deep links, state restoration, and in-app UI that shows and opens routes (a route list, a development inspector, useRouterState) (FR2). Its decisions: the router owns the routes and the hosts report (DEC-1); back is gated before a gesture starts (DEC-2); removed routes stay mounted until dismissed (DEC-3); tab re-select and per-screen appearance are native (DEC-4); pop start is a notification (DEC-5); Astryx's router serves Astryx's chrome and an app may use another router (DEC-6, with an FR1 bullet). Astryx takes no third-party native navigation dependency, and Astryx components work beside react-native-screens, react-native-gesture-handler or another router in the same app. The record is written in positive terms: Non-goals keeps only the template's two standing bullets (equivalent implementations stay valid; internal mechanisms belong in architecture unless a caller depends on them), and each decision states its direction and reason.

Who uses it: see the record's table (six native components and the AstryxRouter protocol, which the router provides and apps read through useRouterState).

Ecosystem comparison

The record keeps one conclusion per piece; the comparison behind it:

Piece What the ecosystem does well Why Astryx owns it
Stack host and screen react-native-screens wraps UINavigationController and Android fragments, with headers, transitions and back Astryx's gesture and drag layer decides ownership between a stack's back swipe, a sheet over the stack and a scroll view inside it (spec:AST-112/DEC-9), and the header, back gestures and transitions take Astryx's theme or give way to Astryx's chrome.
Header slot react-native-screens hosts React subviews in the navigation bar It exists because the stack screen does, and carries Astryx's measure and press rules into the bar.
Search and large title react-native-screens maps search bar options onto UISearchController One search model across a system field and a drawn row, with one set of options and insets, and a large title that collapses with Astryx's scroll target.
Tabs host, screen, accessory react-native-screens and React Navigation's native bottom tabs wrap UITabBarController The tab bar's minimize, the iOS 26 bottom accessory, re-select through the stack's own guard, and a Material bar or rail follow Astryx's theme and insets and work with Astryx's stack host.
Android back react-native-screens supports predictive back on its stack Predictive back gives way to Astryx's back consumers (sheets, menus, search fields) and the router's guard before the gesture starts.
Router protocol React Navigation exposes its state through its container and listeners The app's own code reads one snapshot of the routes and opens paths through the app's own linking.

Rejected alternatives

None recorded. spec:AST-112/DEC-9 owns navigation; DEC-1, DEC-2 and DEC-6 state their rules with their reasons (one route list, back gated ahead of time, Astryx components adoptable alongside another router).

Claim scope and non-goals

Claims: the hosts' and the protocol's observable behaviour. Non-goals: the template's two standing bullets only. Routing semantics, native sheet presentation, window safe-area measurement and the chrome components' rendering live in their own records, which this record names where it relies on them.

Evidence and implementation relationship

The implementation lives in the React Native package's platform layer (the navigation capability) and its router; the record was checked against that code's codegen specs, contract list, and capability documentation. No public evidence links.

Writing rubric results

  • R1 narration: none; scanned for proposes, decided, previously, now and port: every sentence states what the hosts do. Current-state impact lists what the record relies on in spec:AST-112 as "Relies on" lines, without restating it.
  • R2 research in the record: the ecosystem comparison table was in "Why this exists"; moved to this description, and the record keeps one conclusion per piece.
  • R3 evidence naming a change: none; Verification names evidence layers (unit tests through the ./testing doubles, Simulator, emulator, device, UI-thread frame checks).
  • R4 rejected alternatives over one line or outside a decision: none; the record carries no Rejected: lines.
  • R5 pull request or issue references remaining: none.
  • R6 ruled open questions still listing options: none; OQ1 to OQ3 are unanswered and keep their options.
  • R7 project status (build status or work order): one requirement gap in R7 form (FR8 gap: the iOS 26 tab button identifier); the default-linking gap belongs to spec:AST-112 FR3 and is no longer restated here; no build status.

Scope

Components: React Native platform navigation hosts (AstryxStackHost, AstryxStackScreen, AstryxHeaderSlot, AstryxTabsHost, AstryxTabScreen, AstryxTabAccessory), AstryxRouter protocol

  • This PR contains specification records only.
  • It records observable behavior and preserves equivalent internal implementations.
  • Any named internal mechanism is intentionally public, names its dependent caller/system, and explains why an equivalent implementation would not satisfy the contract.
  • Verification states the evidence layer and failure signal without prescribing CI job/workflow topology.
  • It records one intentional durable decision, not a rescue for a separable tagalong.
  • The canonical knowledge owner, affected current claims, and overlapping open work are named; any ownership collision is resolved or called out for human decision.
  • Adjacent API, visual, accessibility, composition, and implementation facts remain outside scope unless this exact decision depends on them.
  • Public text contains no internal context.

Validation

  • pnpm check:knowledge (node scripts/check-knowledge.mjs, against a main-based tree): exit 0, "Knowledge templates and records are aligned."; no warning names this record
  • Prettier --check on the record: "All matched files use Prettier code style!"
  • git diff --check and git diff --check origin/main: clean (exit 0)
  • Leak scan of the diff and this description: no hard hits; 15 soft hits reviewed (template headings and checklist lines, this line, lines that say a component decides its own rendering, rubric lines that say "decision", and "gesture owner", a component name), none changed
  • pnpm specs:for was not run: no install in the checkout used.

Follow-up: claims moved from spec:AST-112

FR1 names Astryx's screen header (TopNav) and cites spec:AST-112 DEC-9, holding spec:AST-112 FR2's router lines; FR15 and Current-state impact cite spec:AST-140 FR9 and DEC-9 for public platform API. The spec:AST-112 FR21 citation and the FR2 router entry are gone. Part of #13029.

…ns routes, the native stack and tab hosts own the containers
@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 19, 2026 11:46pm UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 18, 2026
@astracat-bot

astracat-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
❓ Needs maintainer input (for maintainers only) Nov 19, 2026, 11:57 PM UTC

…ic platform API with two Android exceptions, Android search and toolbar question
…ary; ecosystem option-name compatibility as a goal

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval of this record waits on an engineering owner's decision. spec:AST-125 adds requirements that no current record states yet (FR1 to FR15, the native contract tables and DEC-1 to DEC-5), so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; as an engineering owner, the author may do so. The same decision should settle whether default linking, named features and public-API-only belong to spec:AST-112 (as #12571 proposes) or to this record.

Blocking, to fix alongside that decision:

  • The description says no open pull request overlaps, but #12571 adds spec:AST-112 DEC-13 to DEC-15, the same decisions as this record's FR12, FR14 and FR15, so please name it and say which record owns them.

Smaller, non-blocking points: the onBackPrevented source list is split between FR3 and FR8, FR14 and FR2 describe AstryxRouter's evolution differently, and hasHeaderBackTitle is listed but never described.

Claims and files checked

Review mode: full; reason: no-earlier-review

  • Claim: the record details the foundation record's router, entry point, fallback, evolution and Stage requirements and its navigation decision — verified against spec:AST-112 FR2, FR5 to FR8, FR12 and DEC-9.
  • Claim: it changes the foundation record's opt-in linking for navigation — verified (FR12 and Current-state impact against spec:AST-112 FR1 and FR3).
  • Claim: the native-first surfaces record applies (platform navigation, dependencies) without covering the hosts — verified (spec:AST-082 FR11, FR13).
  • Claim: the native component guidelines record covers Swift components, not these hosts — verified.
  • Claim: the navigable-output record is unrelated — verified.
  • Claim: no record owns the hosts — verified; no record on main names them.
  • Claim: no open pull request overlaps — false; #12571 decides default linking, named features and public-API-only in spec:AST-112.
  • Claim: the record states FR1 to FR15, the contract tables, the platform support table and one accessory placement vocabulary — verified (FR9).
  • Claim: the five decisions and the two one-line rejected alternatives — verified (DEC-1 to DEC-5).
  • Claim: the "Who uses it" table — verified; identical to the record's.
  • Claim: the claim scope and non-goals — verified against the record's Non-goals.
  • Claim: the record was checked against the implementation's codegen specs and documentation — not verifiable; that code is not in this repository.
  • Claim: no public evidence links — verified; the diff adds no URL.
  • Claim: the writing rubric results — verified; no narration or pull request references, and both gap lines name their requirement.
  • Claim: the knowledge check passes — verified on the head.
  • Claim: Prettier and whitespace checks are clean — verified on the head.
  • Claim: the leak scan is clean — verified.
  • File docs/specs/AST-125-react-native-navigation-hosts/spec.md: waits on owner approval; the description finding above; non-blocking notes on FR3 and FR8, FR2 and FR14, hasHeaderBackTitle, one spec:AST-112 FR2 citation, mechanism wording, and Android no-op options.

Automated review (maintainer link)

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval of this record waits on an engineering owner's decision. spec:AST-125 adds requirements that no current record states yet (FR1 to FR15, the native contract tables and DEC-1 to DEC-5), so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; as an engineering owner, the author may do so. The same decision should settle whether default linking, named features and public-API-only belong to spec:AST-112 (as #12563 now proposes, with #12571 merged into it) or to this record.

Blocking, to fix alongside that decision:

  • The description says no open pull request overlaps, but #12563 adds spec:AST-112 DEC-13 to DEC-15, the same decisions as this record's FR12, FR14 and FR15, and #12576 promotes AST-112 to current, so please name both and say which record owns those decisions.

Smaller, non-blocking points: FR2 does not say what the global router reads return in an app whose host never asked for its root, and the earlier notes on the onBackPrevented sources, AstryxRouter's revision, hasHeaderBackTitle and the FR12 gap line still apply.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record details the foundation record's router, entry point, fallback, evolution and Stage requirements and its navigation decision — verified against spec:AST-112 FR2, FR5 to FR8, FR12 and DEC-9 (Current-state impact).
  • Claim: it changes the foundation record's opt-in linking for navigation — verified (FR12 and Current-state impact against spec:AST-112 FR1 and FR3); the record also changes FR8's version history, which the description lists only as detailed.
  • Claim: the native-first surfaces record applies (platform navigation, dependencies) without covering the hosts — verified (spec:AST-082 FR11, FR13).
  • Claim: the native component guidelines record covers Swift components, not these hosts — verified.
  • Claim: the navigable-output record is unrelated — verified.
  • Claim: no record owns the hosts — verified; no record on main names them.
  • Claim: no open pull request overlaps — false; #12563 decides default linking, named features and public-API-only in spec:AST-112, and #12576 promotes that record to current.
  • Claim: the record states FR1 to FR15, the contract tables, the platform support table and one accessory placement vocabulary — verified (FR9).
  • Claim: the five decisions and the two one-line rejected alternatives — verified (DEC-1 to DEC-5).
  • Claim: the "Who uses it" table — verified; identical to the record's.
  • Claim: the claim scope and non-goals, with the ecosystem's option names kept as a compatibility goal — verified (Non-goals, FR5).
  • Claim: the record was checked against the implementation's codegen specs and documentation — not verifiable; that code is not in this repository.
  • Claim: no public evidence links — verified; the record adds no URL.
  • Claim: the writing rubric results — verified; no narration or pull request references, one conclusion per piece in "Why this exists", and both gap lines name their requirement.
  • Claim: the scope checklist — false for overlapping open work (above); the other items verified.
  • Claim: the knowledge check passes — verified at this head.
  • Claim: Prettier and whitespace checks are clean — verified at this head.
  • Claim: the leak scan is clean — verified.
  • File docs/specs/AST-125-react-native-navigation-hosts/spec.md: waits on owner approval; the description finding above; non-blocking notes on FR2's host-root reads, FR3 and FR8, FR2 and FR14, hasHeaderBackTitle, the FR12 gap line, one spec:AST-112 FR2 citation, and mechanism wording.

Automated review (maintainer link)

…2, behaviour-only wording, review consistency fixes

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval of this record waits on an engineering owner's decision. spec:AST-125 adds requirements that no current record states yet (FR1 to FR15, the native contract and platform support tables, DEC-1 to DEC-5), so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; as an engineering owner, the author may do so. The earlier blocking point is fixed: the description now names #12563 and #12576, and the record cites spec:AST-112 for default linking, named features and public-API-only.

No blocking findings; points for the approver and author:

  • Miss: FR6 and the platform support table keep Android's header search as the library's drawn row while OQ4 is open, although spec:AST-082 FR11 asks for the platform's own control wherever one satisfies the contract; the approval should settle OQ4 or the record should say why Material's search bar does not fit.
  • Non-blocking: FR14 (lines 373–376) says the router protocol and its callers never differ in version, but FR2 names Astryx Stage's address bar and the preview chrome as callers that ship separately, which is why revision exists; say what a reader does with a revision it does not know.
  • Non-blocking: the four "Relies on spec:AST-112 FRn (amended)" lines cite text that exists only in #12563, so this record should land after it, and "(amended)" is better dropped once it does.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record depends on the AST-112 amendment for default linking, named features, the Stage version floor and public-API-only — verified (#12563 amends FR3, FR4, FR8 and FR12 and adds DEC-13 to DEC-15).
  • Claim: sibling records own the gesture owner, the presentation host and window safe-area insets — verified (#12562, #12558 and #12552 are open drafts for those groups).
  • Claim: the merge order puts this record after the promotion and the amendment — verified (#12576 promotes AST-112; #12563 follows it).
  • Claim: the decision covers six native components and four protocol methods — verified (Who uses it and the native contract tables).
  • Claim: default linking, the revision-1 baseline, named features in general, the Stage floor and public-API-only belong to AST-112 and this record only cites them — verified (FR12, FR14, FR15, Current-state impact); FR14 paraphrases AST-112 FR8 in one clause beside its citation.
  • Claim: the record details AST-112's router and hosts, the navigation entry, fallbacks, additive evolution, Astryx Stage and the navigation decision — verified (Intent, Current-state impact).
  • Claim: the native-first surfaces record applies (platform navigation, dependencies) and no claim of it covers the hosts — verified; its platform-control rule also bears on Android's drawn search row (point above).
  • Claim: the native component guidelines record covers Swift components, not these hosts — verified.
  • Claim: the navigable-output record is unrelated — verified (CLI output).
  • Claim: no record owns the router's hosts — verified; no record on main names them.
  • Claim: open pull requests were searched; the AST-112 amendment carries the merged package-shape change and owns the shared decisions, and the promotion makes AST-112 current — verified (#12571 merged into #12563's branch; #12563 links AST-125).
  • Claim: the tab accessory has one placement vocabulary — verified (FR9).
  • Claim: five decisions, and two rejected alternatives of one line each — verified (DEC-1 to DEC-5).
  • Claim: the "Who uses it" table — verified; identical to the record's, row by row.
  • Claim: the ecosystem comparison lives in the description and the record keeps one conclusion per piece — verified ("Why this exists").
  • Claim: claim scope and non-goals, with the ecosystem's option names kept as a compatibility goal — verified (Non-goals, FR5).
  • Claim: the record was checked against the implementation's codegen specs, contract list and documentation — not verifiable; that code is not in this repository.
  • Claim: no public evidence links — verified; the record adds no URL.
  • Claim: the writing rubric results — verified, apart from R1: the four "(amended)" labels name a change (point above).
  • Claim: the scope checklist — verified, overlapping open work included.
  • Claim: the knowledge check passes — verified at this head.
  • Claim: Prettier and whitespace checks are clean — verified at this head.
  • Claim: the leak scan is clean — verified.
  • Claim: the per-path specs lookup was not run — noted; it routes only web-component claims for this record.
  • File: docs/specs/AST-125-react-native-navigation-hosts/spec.md — awaits owner approval; the three points above, none blocking.

Automated review (maintainer link)

…iew behaviour lives in AST-139; other routers work beside these components

@astracat-bot astracat-bot Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval of this record waits on an engineering owner's decision; the earlier blocking point is fixed. spec:AST-125 adds requirements that no current record states yet (FR1 to FR15, the native contract and platform support tables, DEC-1 to DEC-6), so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; as an engineering owner, the author may do so. That decision settles that FR11, FR12, FR14, FR15 and Current-state impact rest on the open spec:AST-112 amendment (#12563) and on spec:AST-140 (#12594), that FR12 fails loudly where spec:AST-140 FR2 draws a fallback (OQ1), and how Android header search meets spec:AST-082 FR11 when the host has no system search field.

The description now drops the closed #12576 and merges this record after #12563 and #12594, and spec:AST-141 has its record in #12598, so no blocking findings remain.

Non-blocking:

  • FR14 (lines 388–391) still says the router protocol and its callers never differ in version, while Who uses it (line 84) names Astryx Stage's address bar and the preview chrome, which ship separately, as readers.
  • The "Relies on spec:AST-112 FR3 (amended)" and "FR4 (amended)" lines (447, 451) cite text that exists only in #12563, and "(amended)" names a change rather than the system.
Claims and files checked

Review mode: same-head; reason: none

  • Claim: the record depends on the AST-112 amendment for default linking and public-API-only — verified (#12563 amends FR3 and FR4 and adds DEC-13 to DEC-15).
  • Claim: the record depends on AST-140 for the shared platform rules — verified (#12594 adds FR1 to FR9, the six cited claims included).
  • Claim: the gesture, presentation, safe-area, Astryx Stage, Preview and shared platform-rule records are open pull requests — verified (#12562, #12558, #12552, #12579, #12598 and #12594 are open drafts).
  • Claim: not stacked, and this record merges after the AST-112 amendment and AST-140 — verified; the Stage and Preview records cite this one in turn, so they are named as related records.
  • Claim: the decision covers six native components and four protocol methods — verified (Who uses it and the native contract tables).
  • Claim: default linking and public-API-only belong to AST-112, the shared platform rules to AST-140, and this record only cites them — verified (Intent, FR11, FR12, FR14, FR15, Current-state impact).
  • Claim: Stage and Preview behaviour belong to their own records and this record specifies none — verified for the record's text.
  • Claim: the parent record is detailed for the router and hosts, the navigation entry and the capability shape, and the navigation decision — verified (Intent, Current-state impact).
  • Claim: the native-first surfaces record applies (platform navigation, dependencies) and no claim of it covers the hosts — verified; its platform-control rule bears on Android header search (owner decision above).
  • Claim: the native component guidelines record covers Swift components, not these hosts — verified.
  • Claim: the navigable-output record is unrelated — verified (CLI output).
  • Claim: no record owns the router's hosts — verified on main.
  • Claim: the amendment pull request carries the earlier package-shape change — verified.
  • Claim: the tab accessory has one placement vocabulary — verified (FR9).
  • Claim: the record is neutral about how headers, tab bars and header search render — verified (Non-goals, FR1, FR6).
  • Claim: six decisions, and three rejected alternatives of one line each — verified (DEC-1 to DEC-6).
  • Claim: no third-party native navigation dependency, and other libraries or routers work beside these components — verified (Why this exists, FR1, DEC-6).
  • Claim: the "Who uses it" table — verified; identical to the record's, row by row.
  • Claim: the ecosystem comparison lives in the description and the record keeps one conclusion per piece — verified (Why this exists).
  • Claim: claim scope and non-goals, with the ecosystem's option names as a compatibility goal — verified (Non-goals, FR5).
  • Claim: the record was checked against the implementation's codegen specs, contract list and documentation — not verifiable; that code is not in this repository.
  • Claim: no public evidence links — verified; the record adds no URL.
  • Claim: the writing rubric results — verified, apart from R1: the "(amended)" labels name a change.
  • Claim: the scope checklist — verified, overlapping open work included.
  • Claim: the knowledge check passes — verified at this head.
  • Claim: Prettier and whitespace checks are clean — verified at this head.
  • Claim: the leak scan is clean — verified.
  • Claim: the per-path specs lookup was not run — noted.
  • File: docs/specs/AST-125-react-native-navigation-hosts/spec.md — awaits owner approval; two non-blocking points above.

Automated review (maintainer link)

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval of this record waits on an engineering owner's decision; the two earlier blocking points are fixed and nothing else blocks. spec:AST-125 adds requirements that no current record states yet (FR1 to FR15, the native contract and platform support tables, DEC-1 to DEC-6), so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; as an engineering owner, the author may do so. That decision settles the requirements as written, including that the record lands after #12563, #12594 and #12557, FR12's loud failure where AST-140 FR2 draws a fallback (OQ1), Android header search under AST-082 FR11, and FR3's rule that theme-derived navigation options resolve in each screen's own theme.

Non-blocking:

  • FR1 (line 131) now cites spec:AST-123 FR1, which exists only in #12557, so the description's merge order should name #12557 beside #12563 and #12594.
  • The earlier points on FR14 (lines 393–396, readers that ship apart from the app) and the "(amended)" citations (lines 452 and 456) still stand.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record depends on the AST-112 amendment for default linking and public-API-only — verified (#12563 amends FR3 and FR4 and adds DEC-13 and DEC-15).
  • Claim: the record depends on AST-140 for the shared platform rules — verified (the six cited claims exist in #12594, and FR14 now follows its baseline rule).
  • Claim: the gesture, presentation, safe-area, Astryx Stage, Preview and shared platform-rule records are open pull requests — verified (#12562, #12558, #12552, #12579, #12598 and #12594 are open drafts).
  • Claim: not stacked, and this record merges after the AST-112 amendment and AST-140 — verified; FR1's citation of AST-123 also needs #12557 (non-blocking).
  • Claim: the decision covers six native components and four protocol methods — verified (Who uses it and the native contract tables).
  • Claim: default linking and public-API-only belong to AST-112, the shared platform rules to AST-140, and this record only cites them — verified.
  • Claim: Stage and Preview behaviour belong to their own records and this record specifies none — verified for the record's text.
  • Claim: the parent record is detailed for the router and hosts, the navigation entry, the capability shape and the navigation decision — verified.
  • Claim: the native-first surfaces record applies and no claim of it covers the hosts — verified; its platform-control rule bears on Android header search (owner decision).
  • Claim: the native component guidelines record covers Swift components, not these hosts — verified.
  • Claim: the shared platform-rules record owns registration, the missing piece, results, additive evolution, threading and coexistence, and this record keeps only the hosts' own rules — verified.
  • Claim: the Stage and Preview records are separate products cited under Non-goals, Who uses it and the intro — verified.
  • Claim: the navigable-output record is unrelated — verified.
  • Claim: no record owns the router's hosts — verified on main.
  • Claim: the open-PR search names the overlapping work: the AST-112 amendment carrying the earlier package-shape change, the sibling records, and AST-123 owning the rendering axis FR1 cites — verified.
  • Claim: no current claim settles the hosts' contract — verified.
  • Claim: the tab accessory has one placement vocabulary — verified (FR9).
  • Claim: the record is neutral about chrome rendering, and the hosts host either rendering — verified (FR1, FR6, Non-goals).
  • Claim: six decisions, and three rejected alternatives of one line each — verified (DEC-1, DEC-2, DEC-6).
  • Claim: no third-party native navigation dependency, and other libraries or routers work beside these components — verified (Why this exists, FR1, DEC-6).
  • Claim: the Who uses it table — verified; identical to the record's.
  • Claim: the ecosystem comparison lives in the description and the record keeps one conclusion per piece — verified.
  • Claim: claim scope and non-goals — verified.
  • Claim: the record was checked against the implementation's codegen specs, contract list and documentation — not verifiable; that code is not in this repository.
  • Claim: no public evidence links — verified; the record adds no URL.
  • Claim: the writing rubric results — verified, apart from R1: the "(amended)" labels name a change (non-blocking).
  • Claim: the scope checklist — verified.
  • Claim: the knowledge check passes — verified at this head.
  • Claim: Prettier and whitespace checks are clean — verified at this head.
  • Claim: the leak scan is clean — verified.
  • Claim: the per-path specs lookup was not run — noted.
  • File: docs/specs/AST-125-react-native-navigation-hosts/spec.md — awaits owner approval; three non-blocking points above.

Automated review (maintainer link)

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval of this record waits on an engineering owner's decision, and one blocking point needs fixing first. spec:AST-125 adds requirements that no current record states yet (FR1 to FR15, the native contract and platform support tables, DEC-1 to DEC-6), so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; as an engineering owner, the author may do so. That decision settles the requirements as written, including that the record lands after #12563, #12594 and #12557, FR12's loud failure where AST-140 FR2 draws a fallback (OQ1), Android header search under AST-082 FR11, FR3's theme-scope rule, and which record owns the render axis that FR1 cites.

Blocking:

  • FR1 (lines 131 and 137–138) again states what render means and repeats the code gap that spec:AST-123 FR1 already states in #12557, while spec:AST-112 FR21 in #12563 also defines the axis, so drop the gap line and the restated meaning, keep only the hosts' mapping (their bars are the axis's system form, a header or tab bar Astryx draws is drawn) with one citation to the axis's owner, and update the description's R7 result and open-work search to match.

Non-blocking:

  • FR12 (lines 364–368) now applies to a navigator with render: 'system', so it no longer says what a navigator left at the axis's auto default does without its host; "a navigator whose rendering resolves to system" would cover it.
  • The earlier points on FR14 (lines 397–400, readers that ship apart from the app) and the "(amended)" citations (lines 456 and 460) still stand.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record depends on the AST-112 amendment for default linking and public-API-only — verified (#12563 amends FR3 and FR4).
  • Claim: the record depends on AST-140 for the shared platform rules — verified (the six cited claims exist in #12594).
  • Claim: the gesture, presentation, safe-area, Astryx Stage, Preview and shared platform-rule records are open pull requests — verified (#12562, #12558, #12552, #12579, #12598 and #12594 are open drafts).
  • Claim: not stacked, and this record merges after #12563, #12594 and #12557 — verified.
  • Claim: the decision covers six native components and four protocol methods — verified (Who uses it and the native contract tables).
  • Claim: default linking and public-API-only belong to AST-112, the shared platform rules to AST-140, and this record only cites them — verified.
  • Claim: Stage and Preview behaviour belong to their own records and this record specifies none — verified for the record's text.
  • Claim: the parent record is detailed for the router and hosts, the navigation entry, the capability shape and the navigation decision — verified.
  • Claim: the native-first surfaces record applies and no claim of it covers the hosts — verified; its platform-control rule bears on Android header search (owner decision).
  • Claim: the native component guidelines record covers Swift components, not these hosts — verified.
  • Claim: the shared platform-rules record owns registration, the missing piece, results, additive evolution, threading and coexistence — verified.
  • Claim: the navigable-output record is unrelated — verified.
  • Claim: no record owns the router's hosts — verified on main.
  • Claim: the open-PR search names the overlapping work, with AST-123 owning the rendering axis FR1 cites — false in part: the AST-112 amendment in #12563 now also defines that axis (its FR21), and the search does not name it (blocking point).
  • Claim: no current claim settles the hosts' contract — verified.
  • Claim: the tab accessory has one placement vocabulary — verified (FR9).
  • Claim: the record is neutral about chrome rendering, and the hosts host either rendering — verified (FR1, FR6, Non-goals), apart from FR1's restated axis.
  • Claim: six decisions, and three rejected alternatives of one line each — verified (DEC-1, DEC-2, DEC-6).
  • Claim: no third-party native navigation dependency, and other libraries or routers work beside these components — verified (Why this exists, FR1, DEC-6).
  • Claim: the Who uses it table — matches the record in meaning; the record now names the navigators' render values where the description says system or drawn chrome.
  • Claim: the ecosystem comparison lives in the description and the record keeps one conclusion per piece — verified.
  • Claim: claim scope and non-goals — verified.
  • Claim: the record was checked against the implementation's codegen specs, contract list and documentation — not verifiable; that code is not in this repository.
  • Claim: no public evidence links — verified; the record adds no URL.
  • Claim: the writing rubric results — false in part: R7 reports one requirement gap, but the record now has two (FR1 and FR8); R1's "(amended)" labels name a change (non-blocking).
  • Claim: the scope checklist — verified, except that the rendering axis's two definitions in open work are not called out.
  • Claim: the knowledge check passes — verified at this head.
  • Claim: Prettier and whitespace checks are clean — verified at this head.
  • Claim: the leak scan is clean — verified.
  • Claim: the per-path specs lookup was not run — noted.
  • File: docs/specs/AST-125-react-native-navigation-hosts/spec.md — awaits owner approval; one blocking and three non-blocking points above.

Automated review (maintainer link)

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval of this record waits on an engineering owner's decision; nothing blocks at this head, and the two earlier blocking points are fixed. spec:AST-125 adds requirements that no current record states (FR1 to FR15, the native contract and platform support tables, DEC-1 to DEC-6), so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; as an engineering owner, the author may do so. That decision accepts three things: the record rests on spec:AST-112 FR3, FR4 and FR21 as amended in #12563 and on spec:AST-140 in #12594, so it lands after both; FR12 fails a navigator whose rendering resolves to system at its first render when its host is absent, where the spec:AST-140 rule it cites has the library draw a fallback (OQ1 is open); and the Android stack screen hosts no system search field, so under spec:AST-082 FR11 Android header search is drawn unless the Header record adds Material's search bar.

No blocking findings.

Non-blocking:

  • FR14 (lines 394–397) says the protocol and its callers never differ in version, while the Who uses it row (line 84) names Astryx Stage's address bar and the Astryx app's Preview chrome as readers that ship apart from the app, so scoping that sentence to the app's own callers, and saying what a reader does with a revision it does not know, would keep both sentences true.
  • The Current-state impact citations at lines 453 and 457 label spec:AST-112 FR3 and FR4 "(amended)", which names a change rather than the system (writing rubric R1); citing the claims plainly keeps them accurate once #12563 lands.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record depends on the foundation amendment for default linking and public-API-only — verified in that open pull request's FR3 and FR4.
  • Claim: the record depends on the shared platform-rules record for registration, the missing piece, results, additive evolution, threading and coexistence — verified; all six cited claims exist there.
  • Claim: the rendering axis the record cites is defined once, by the foundation record's FR21 in that amendment — verified; the surfaces record now defers to the same claim instead of restating it.
  • Claim: not stacked, and the record merges after the foundation amendment and the shared platform-rules record — verified.
  • Claim: the decision covers six native components and four protocol methods — verified against Who uses it and the contract tables.
  • Claim: default linking and public-API-only belong to the foundation record and the shared rules to the platform-code record, with this record only citing them — verified.
  • Claim: Stage and Preview behaviour belongs to their own records and this record specifies none — verified for the record's text.
  • Claim: the parent record is detailed for the router and hosts, the navigation entry, the capability shape and the navigation decision — verified.
  • Claim: the native-first surfaces record applies and no claim of it covers the hosts — verified; its platform-control rule still bears on Android header search, which is the owner's call.
  • Claim: the native component guidelines record covers Swift components, not these hosts — verified.
  • Claim: the navigable-output record is unrelated — verified.
  • Claim: no current claim settles the hosts' contract — verified on the default branch.
  • Claim: the tab accessory has one placement vocabulary — verified in FR9.
  • Claim: the record is neutral about chrome rendering and the hosts host either rendering — verified in FR1, FR6 and the non-goals.
  • Claim: six decisions, with three rejected alternatives of one line each — verified in DEC-1, DEC-2 and DEC-6.
  • Claim: no third-party native navigation dependency, and other libraries or routers work beside these components — verified.
  • Claim: the writing rubric results, including one requirement gap in gap form — verified at this head; the record's only gap line is FR8's.
  • Claim: the knowledge check, Prettier and the whitespace check pass — verified at this head.
  • Claim: the leak scan is clean — verified.
  • Claim: the record was checked against the implementation's codegen specs, contract list and capability documentation — not verifiable; that package is not in this repository.
  • File: docs/specs/AST-125-react-native-navigation-hosts/spec.md — awaits the owner decision; the two non-blocking points above.

Automated review (maintainer link)

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval of this record waits on an engineering owner's decision, and one point needs fixing after it. spec:AST-125's FR1–FR15, contract tables and DEC-1–DEC-6 are draft requirements that no current record states yet, and they rest on the AST-112 amendment (#12563) and the AST-140 record (#12594), which land first. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Blocking

  • FR7 (line 260) applies a screen's light or dark mode to "the surfaces the screen presents natively" but names no presentation record, so the description's statement that the record names the records it relies on does not hold for presentation; cite the presentation host's record (spec:AST-128 FR9) there and under Current-state impact.

Three non-blocking wording points (pop start and a tab re-select, where a reader finds the router's feature list, and how a caller names the default root) are in the inline comments.

Claims and files checked

Review mode: full; reason: spec-record

  • Claims:
    • Depends on the AST-112 amendment and the AST-140 record and merges after both: verified; the record cites AST-112 FR3, FR4 and FR21 and AST-140 FR1–FR3, FR5, FR6 and FR9, and neither is on main.
    • The related records for gestures, presentation and insets are the named open pull requests: verified.
    • Not stacked: verified; no Stack line.
    • The decision covers six native components and the four-method router protocol: verified against the contract tables.
    • Default linking and public-API-only are AST-112's and are cited, not restated: verified in FR12, FR15 and Current-state impact.
    • The rendering axis is defined once, in AST-112 FR21, and FR1 states only the hosts' mapping: verified; the open AST-123 record cites FR21 too.
    • The accessory has one placement vocabulary: verified in FR9.
    • The protocol serves in-app UI and grows by named features listed in each snapshot: verified in FR2 and FR14.
    • DEC-1 to DEC-6 match the description, each with its direction and reason: verified.
    • No third-party native navigation dependency, and the components work beside other libraries and routers: verified.
    • Non-goals reads "None." and the template requires the section: verified; the schema requires the section.
    • No rejected alternatives are recorded: verified; the record has no Rejected lines.
    • Routing, sheet presentation, window insets and chrome rendering live in their own records, which the record names where it relies on them: false for presentation (FR7, line 260).
    • The record was checked against the implementation's codegen specs, contract list and capability docs: not verifiable here, because the implementation is not in this repository.
    • Writing rubric results R1–R7: verified; the two "(amended)" citation markers stay a non-blocking suggestion.
    • The knowledge check passes with no warning naming this record: verified by running it on the head.
    • Prettier and whitespace checks are clean: verified.
    • The leak scan has no hard hits: verified.
  • Files:
    • docs/specs/AST-125-react-native-navigation-hosts/spec.md: FR7's presentation owner (blocking); FR3 pop-start wording, FR2 and FR14 router features, FR2 default root and the "(amended)" citations (non-blocking).

Automated review (maintainer link)

…surfaces; tighten pop start and default root

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval of this record waits on an engineering owner's decision, and one point needs fixing after it. spec:AST-125's FR1–FR15, contract tables and DEC-1–DEC-6 are draft requirements that no current record states yet, and they rest on the AST-112 amendment (#12563), the AST-140 record (#12594) and, new at this head, the AST-128 record (#12558), which land first. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Blocking

  • Regression: FR14 (lines 364–366) and the Current-state impact line on spec:AST-140/FR5 (lines 435–436) say a contract's baseline is "its first release's shape", but AST-140 FR5 in #12594 now sets it at the first release after the package leaves the canary channel and lets each canary reshape a contract, so cite that rule instead of restating it and say whether pop-start and appearance stay named features.

Non-blocking: FR7's presented surfaces cite a presentation host that AST-128 lists for iOS only, while its FR9 has Android Modal windows follow the app's mode; the description's merge order should name #12558 too; and the Intent's "capability loader" no longer fits hosts that link in the core.

Claims and files checked

Review mode: full; reason: spec-record

  • Claims:
    • Depends on the AST-112 amendment and the AST-140 record and merges after both: verified, but incomplete; FR7 and Current-state impact now also rely on AST-128 FR9 from #12558, which the merge order does not name.
    • The related records for gestures, presentation, insets and shared rules are the named open pull requests: verified.
    • Not stacked: verified; no Stack line.
    • The decision covers six native components and the four-method router protocol: verified against the contract tables.
    • Default linking and public-API-only are AST-112's and are cited, not restated: verified in FR12, FR15 and Current-state impact.
    • The shared platform rules are AST-140's and are cited: verified as cited, except that FR14 also restates AST-140 FR5's baseline, differently from that rule (blocking above).
    • The rendering axis is defined once, in AST-112 FR21, and FR1 states only the hosts' mapping: verified; the open AST-123 record cites FR21 too.
    • The accessory has one placement vocabulary: verified in FR9.
    • The protocol serves in-app UI and grows by named features listed in each snapshot: verified in FR2 and FR14.
    • DEC-1 to DEC-6 match the description, each with its direction and reason: verified.
    • No third-party native navigation dependency, and the components work beside other libraries and routers: verified.
    • Non-goals keeps only the template's two standing bullets: verified against the system-spec template.
    • No rejected alternatives are recorded: verified; the record has no Rejected lines.
    • Routing, sheet presentation, window insets and chrome rendering live in their own records, which the record names where it relies on them: verified; FR7 now names the presentation record.
    • The record was checked against the implementation's codegen specs, contract list and capability docs: not verifiable here, because the implementation is not in this repository.
    • Writing rubric results R1–R7: verified; the one gap line names FR8, and the two "(amended)" markers stay a non-blocking suggestion.
    • The knowledge check passes with no warning naming this record: verified by running it on the head.
    • Prettier and whitespace checks are clean: verified.
    • The leak scan has no hard hits: verified.
  • Files:
    • docs/specs/AST-125-react-native-navigation-hosts/spec.md: FR14 and Current-state impact restate the AST-140 baseline (blocking); FR7 on Android, the Intent's capability loader, the router's feature list with no root, and the "(amended)" citations (non-blocking).

Automated review (maintainer link)

Comment on lines +36 to +37
follows the shared platform rules of `spec:AST-140`. It uses the platform layer
and its capability loader (`spec:AST-112/FR1`, `spec:AST-112/FR2`),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Miss, non-blocking: the amended spec:AST-112 this record relies on puts the navigation hosts in the default-linked core (its FR3, the FR7 group table and DEC-9 in #12563), and its FR2 says "The library layer reaches an optional capability only through that loader". FR1 here has the router reach the hosts through the internal host entry. Consider "It uses the platform layer (spec:AST-112/FR1)" here, and having FR12's error name the missing hosts rather than "the missing capability".

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval of this record waits on an engineering owner's decision; the earlier blocking point is fixed and nothing else blocks. spec:AST-125's FR1–FR15, contract tables and DEC-1–DEC-6 are draft requirements that no current record states yet, and they rest on the AST-112 amendment (#12563), the AST-140 record (#12594) and the AST-128 record (#12558), which land first. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Non-blocking: the description's merge order should also name #12558, which FR7 and Current-state impact cite, and three earlier suggestions still stand (the Intent's "capability loader", the router's feature list while no root is mounted, and the "(amended)" citations).

Claims and files checked

Review mode: full; reason: spec-record

  • Claims:
    • Depends on the AST-112 amendment and the AST-140 record and merges after both: verified, but incomplete; FR7 and Current-state impact also rely on AST-128 FR9 from #12558, which the merge order does not name.
    • The related records for gestures, presentation, insets and shared rules are the named open pull requests: verified.
    • Not stacked: verified; no Stack line.
    • The decision covers six native components and the four-method router protocol: verified against the contract tables.
    • Default linking and public-API-only are AST-112's and are cited, not restated: verified in FR12, FR15 and Current-state impact.
    • The shared platform rules are AST-140's and are cited: verified; FR14 now cites AST-140 FR5 instead of restating its baseline.
    • The rendering axis is defined once, in AST-112 FR21, and FR1 states only the hosts' mapping: verified.
    • The accessory has one placement vocabulary: verified in FR9.
    • The protocol serves in-app UI and grows by named features listed in each snapshot: verified in FR2 and FR14.
    • DEC-1 to DEC-6 match the description, each with its direction and reason: verified.
    • No third-party native navigation dependency, and the components work beside other libraries and routers: verified.
    • Non-goals keeps only the template's two standing bullets: verified.
    • No rejected alternatives are recorded: verified; the record has no Rejected lines.
    • Routing, sheet presentation, window insets and chrome rendering live in their own records, which the record names where it relies on them: verified; FR7 names the presentation record and is scoped to iOS, where that host exists.
    • The record was checked against the implementation's codegen specs, contract list and capability docs: not verifiable here, because the implementation is not in this repository.
    • Writing rubric results R1–R7: verified; the one gap line names FR8, and the two "(amended)" markers stay a non-blocking suggestion.
    • The knowledge check passes with no warning naming this record: verified by running it on the head.
    • Prettier and whitespace checks are clean: verified.
    • The leak scan has no hard hits: verified.
  • Files:
    • docs/specs/AST-125-react-native-navigation-hosts/spec.md: the earlier FR14 baseline point is fixed; non-blocking: merge order, the Intent's capability loader, the router's feature list with no root, and the "(amended)" citations.

Automated review (maintainer link)

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval of this record waits on an engineering owner's decision; nothing blocks at this head, and the earlier point about the router's feature list is fixed. spec:AST-125's FR1–FR15, contract tables and DEC-1–DEC-6 are draft requirements that no current record states yet, and they rest on the AST-112 amendment (#12563), the AST-140 record (#12594) and AST-128 FR9 (#12558), which land first. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner. That decision also settles FR12's loud failure beside AST-140's drawn fallback (OQ1), Android header search under AST-082 FR11, theme-scoped navigation options (FR3), and a router protocol with no version of its own (FR2).

Non-blocking:

  • FR2 now lists state restoration among the protocol's callers, but its only write, navigateToPath, opens one path while FR1 and DEC-1 give persistence to the router; say what a restoration caller does through the protocol, or drop it (OQ2 also still names only in-app UI and the inspector).
  • Name #12558 in the description's merge order, since FR7 and Current-state impact rely on AST-128 FR9.
Claims and files checked

Review mode: full; reason: spec-record

  • Depends on the AST-112 amendment (default linking, public platform API only) and the AST-140 shared rules: verified; both are open drafts and hold those claims.
  • Related records for the gesture owner, the presentation host, window insets and the shared rules, with their pull requests: verified; the titles match.
  • Merges after the AST-112 and AST-140 pull requests only: incomplete; FR7 and Current-state impact also rely on AST-128 FR9 (#12558).
  • The decision covers six native components and four protocol methods: verified against the contract tables.
  • Default linking, public-API-only and the shared platform rules are cited, not restated: verified (FR12, FR14, FR15, Current-state impact).
  • The rendering axis is defined once, by AST-112 FR21: verified; AST-123 cites the same claim.
  • One accessory placement vocabulary (expanded, inline): verified (FR9).
  • The protocol serves deep links, state restoration and in-app UI: stated in FR2; state restoration has no restore path beyond opening one path (non-blocking above).
  • DEC-1 to DEC-6 as the description summarises them: verified.
  • No third-party native navigation dependency, and components work beside other libraries and routers: verified (Why this exists, FR1, DEC-6).
  • Non-goals keep only the template's two standing bullets, and the record has no rejected alternatives: verified.
  • Writing rubric results (no narration, no pull request references, one FR-scoped gap line): verified, except that "(amended)" in Current-state impact names a change.
  • Checked against the implementation's codegen specs and contract list: not verifiable here; the implementation is not in this repository.
  • Knowledge check, Prettier and whitespace check pass: verified on the head tree.
  • docs/specs/AST-125-react-native-navigation-hosts/spec.md: four non-blocking points (state restoration in FR2, merge order, the capability-loader wording, "(amended)"); no blocking finding.

Automated review (maintainer link)

Comment on lines +128 to +130
- **FR2 — The AstryxRouter protocol.** One view of a root's routes for the
app's own callers: deep links, state restoration, and in-app UI that shows
and opens routes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking: state restoration is new in this caller list, but the protocol's only write, navigateToPath, opens one path, while FR1 (line 104) and DEC-1 give persistence to the router, so a caller cannot restore a stack of several routes through it. OQ2 (lines 530–531) also still names only in-app UI and the inspector as readers. Consider saying what a restoration caller does with the protocol (for example, save the snapshot and reopen focusedPath), or leaving restoration to the router's own persistence and dropping it here.

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval of this record waits on an engineering owner's decision. spec:AST-125 adds requirements that no current record states yet (FR1 to FR15, the native contract and platform support tables, and DEC-1 to DEC-6), so an engineering owner approves or rejects them by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. Nothing else blocks at this head.

  • Non-blocking: the record now cites component:react-native/TopNav (the Who uses it row and FR5), which exists only in #12685, and #12685 says it merges after this pull request; name #12685 in the description, settle which of the two lands first, and add #12558 (cited by FR7 for presented surfaces) to the merge order.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: depends on the AST-112 amendment (#12563) and AST-140 (#12594). Verified: the cited AST-112 FR3, FR4 and FR21 and AST-140 FR1 to FR3, FR5, FR6 and FR9 say what the record relies on; incomplete, since FR7 also relies on AST-128 (#12558) and FR5 on the TopNav record (#12685).
  • Claim: not stacked; merges after #12563 and #12594. No stack line, true; the order leaves out #12558 and #12685, and #12685 orders itself after this pull request.
  • Claim: default linking and public-API-only are cited from AST-112 FR3 and FR4, not restated. Verified (FR12, FR15, Current-state impact).
  • Claim: the shared platform rules are cited from AST-140. Verified (Intent, FR11, FR12, FR14).
  • Claim: the rendering axis is defined once, in AST-112 FR21, and this record states only the hosts' mapping. Verified (FR1); AST-123 cites the same owner.
  • Claim: one tab accessory placement vocabulary (expanded, inline). Verified (FR9).
  • Claim: the header and tab bar components decide their rendering and the hosts host either. Verified (FR1, FR6).
  • Claim: the router protocol serves the app's own callers. Verified (FR2).
  • Claim: DEC-1 to DEC-6 as described, no third-party native navigation dependency, and Non-goals with only the template's two bullets. Verified (decision log, Why this exists, Non-goals).
  • Claim: rubric R5 (no pull request references) and R7 (one gap line, FR8). Verified.
  • Claim: the record was checked against the implementation's codegen specs. Not verifiable: the implementation is not in this repository.
  • Claim: the knowledge check passes with no warning for this record, Prettier is clean and the whitespace check is clean. Verified at this head.
  • Claim: overlapping open work is named. Not for #12685, the TopNav record this record now cites.
  • File: docs/specs/AST-125-react-native-navigation-hosts/spec.md: one non-blocking finding (the TopNav citation and the merge order), plus earlier non-blocking notes on state restoration, the capability loader and the two amended-claim citations.

Automated review (maintainer link)

swipe the system starts is one the router accepts.
- **FR5 — The stack screen carries each screen's chrome.** These are native
props. The stack options, which a screen declares through the `TopNav` parts
(component:react-native/TopNav), map onto them; their API lives in their own records. Where a

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking: component:react-native/TopNav (here and in the Who uses it row, line 79) exists only in open #12685, which is stacked on #12592 and says it merges after this pull request; the description's related records and merge order name neither. Whichever lands first leaves this citation unresolved on main, so settle the order with #12685 and name it in the description. The record's other citations are code-formatted, and this id could be too.

@imdreamrunner imdreamrunner changed the title spec(AST-125): React Native platform: Navigation hosts (draft) spec(AST-125): React Native platform: Navigation hosts Nov 19, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval of this record waits on an engineering owner's decision, and two points need fixing.

spec:AST-125 adds requirements that no current record states yet (FR1 to FR15, the native contract and platform support tables, and DEC-1 to DEC-6). An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Blocking

  • Regression: lines 30, 78 and 437–438 put the router in the ./navigation entry, but spec:AST-112 FR5, FR23 and DEC-20 on main keep . free of the router and the stack navigator under ./unstable/* until web's NavigationStack leaves Lab, so cite spec:AST-112/FR5 there instead of naming the entry.
  • The description's "Existing authority searched", "Exact decision needed" and dependency lines describe the previous head (FR1 no longer cites a render owner and spec:AST-112 FR21 on main no longer defines one, the public-API rule now cites spec:AST-140/DEC-9, which exists only in open #13029, and the merge order leaves out #13029, #12558 and #12685), so update them for this head and settle the merge order with #13029 and #12685.

Also worth a look: DEC-6 now repeats the other-router decision in spec:AST-112 DEC-9, which #13029 keeps there, so FR1 could cite DEC-9 instead.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: depends on the foundation amendment (#12563) and the platform-code record (#12594). Verified: both have merged; incomplete, since the record also cites text in #13029, #12558 and #12685.
  • Claim: merges after those two pull requests. Incomplete: see the merge-order finding.
  • Claim: the decision covers six native components and a four-method router protocol. Verified: the native contract tables (lines 390–403).
  • Claim: default linking comes from the foundation record's FR3. Verified: FR12 (lines 342–343).
  • Claim: public-API-only comes from the foundation record's FR4 and its DEC-15. False: FR15 and Current-state impact cite the platform-code record's FR9 and DEC-9 (lines 376, 435–436).
  • Claim: the shared platform rules come from the platform-code record's FR1, FR2, FR3, FR5, FR6 and FR9. Verified: the Intent (lines 35–42) and FR11, FR12, FR14 and FR15.
  • Claim: the record details the foundation record's FR2. False: that citation is gone at this head (line 437).
  • Claim: the rendering axis FR1 cites is defined by the foundation record's FR21. False: FR1 (lines 112–118) cites no owner, and FR21 on main covers only surface.
  • Claim: the tab accessory has one placement vocabulary. Verified: FR9 (lines 313–316).
  • Claim: DEC-1 to DEC-6 state the router, back-gating, mounting, re-select, pop-start and other-router decisions. Verified: lines 464–522.
  • Claim: Non-goals keep only the template's two standing bullets, and no rejected alternatives are recorded. Verified: lines 91–98; no Rejected: line.
  • Claim: rubric results (no pull request references in the record, one gap line in R7 form). Verified: no # references; the FR8 gap line (lines 307–308).
  • Claim: the knowledge check passes. Verified on the head tree.
  • Claim: FR1 names TopNav, holds the foundation record's FR2 router lines and cites its DEC-9, and public-API citations point to the platform-code record. Verified (lines 124–128, 376, 435–436); that record's DEC-9 exists only in #13029.
  • File docs/specs/AST-125-react-native-navigation-hosts/spec.md: the two blocking findings above and the DEC-6 note.

Automated review (maintainer link)

Comment on lines +437 to +438
- Details `spec:AST-112/FR5` (the
`./navigation` entry holds the router), `spec:AST-112/FR7` (FR12 here) and

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regression, blocking: since #12563 merged, spec:AST-112 FR5 on main says . "holds no router" and that the stack navigator "starts in the React Native lab under ./unstable/* and moves to ./navigation when web's NavigationStack leaves Lab (FR23, DEC-20)". This line no longer describes FR5, and lines 30 and 78 name the same entry. Suggest citing without naming the entry: "Details spec:AST-112/FR5 (the router's entries)" here, "with the Astryx router (spec:AST-112/FR5)" on line 30, and "(createStack)" on line 78.

Comment on lines +435 to +436
- Relies on `spec:AST-140/FR9` and `spec:AST-140/DEC-9`: native code uses
public platform API only, and a record names its exceptions (FR15 here).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking, with the description: spec:AST-140 on main has DEC-1 to DEC-8. Its DEC-9 exists only in open #13029, and the description's merge order does not name #13029. #13029 in turn relies on this record to hold spec:AST-112 FR2's router lines. Name #13029 in the dependency and merge-order lines, so both land in a known order.

Comment on lines +112 to +115
- The header and tab bar components decide their own rendering in their own
component records, through the components' rendering axis: the stack
host's bar and the tabs host's tab bar are
its `system` form, and a header or tab bar Astryx draws is `drawn`. The

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking, with the description: the description says FR1 cites the axis's owner, spec:AST-112 FR21, but this bullet cites none, and FR21 on main now covers only surface. The render values on lines 78, 81–82, 346 and 349 then have no owner in any record. Name the record or open pull request that owns render, here and in the merge order.

holding back. Holding back is `usePreventRemove`'s job, and on Android it turns
off the predictive back scrub.

### DEC-6 — Astryx's router serves Astryx's chrome; an app may use another router

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regression, non-blocking: spec:AST-112 DEC-9 on main now also decides "An app may route with another router, such as Expo Router", and #13029 keeps DEC-9 in AST-112. One fact then has two decisions (architecture:knowledge-contracts INV2). Consider citing spec:AST-112/DEC-9 from FR1's last bullet and dropping DEC-6, or having #13029 move that paragraph here.

This branch was successfully deployed

1 active deployment
Preview — e12a81ab Deployed Nov 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant