Repository navigation
spec(AST-139): React Native: Astryx Stage (experimental) (draft) - #12579
imdreamrunner wants to merge 35 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
There was a problem hiding this comment.
Approval waits on an engineering owner deciding the new spec:AST-139 requirements, and four record fixes are needed before this can be approved.
- Spec decision: FR1-FR16 and DEC-1-DEC-6 are new requirements that no current record states, so 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), including whether Stage pairs with a project by per-contract spec hash plus a version floor (FR6) or by the floor and named features, as #12563 does.
Blocking
- The record cites
spec:AST-112/DEC-12, theastryx stageandastryx previewcommands underspec:AST-112/FR13, andspec:AST-123tospec:AST-137, none of whichmainhas (onmain, FR13 keeps React Native commands inastryx-rnand FR5 puts the preview host in the package), so it should land only after #12576 and #12563 or cite only whatmainstates. - FR7 says the project pins the Stage version (OQ6's options agree), while the #12563 FR13 it cites says the package pins it in a file the package ships, so FR7 and OQ6 should defer the pin to
spec:AST-112/FR13. - FR6, DEC-2, OQ3 and the FR6 verification row pair Stage by per-contract spec hash plus floor and require the package to record those hashes, while #12563 (FR12, DEC-14) and the AST-123 and AST-137 drafts pair by the floor alone, so FR6 should match them or they should gain spec hashes, with Current-state impact (which says the group records already pair through spec hashes) corrected either way.
- The description lists AST-112 FR1 and DEC-12 as existing authority for where Preview lives and says the package-shape draft and the group records pair through spec hashes, which
mainand those drafts do not say.
Also worth fixing: FR1 gap: Astryx Stage has no Windows build. reads as build status (FR1 gap: Astryx Stage does not run on Windows. states the observable mismatch), and OQ6 repeats the two options of spec:AST-112/OQ4, which it says owns that question.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim: the record depends on #12563 for the
astryx stageandastryx previewcommands in AST-112 FR13: verified, #12563 rewrites FR13 to those commands. - Claim: AST-112 FR12, FR5, FR6, FR15, OQ4 and its Non-goals are the existing authority searched: verified on
main, where AST-112 is still a draft. - Claim: AST-112 FR1 and DEC-12 say where the pieces that run a Preview project live: false on
main; both come from #12563. - Claim: the package-shape draft pairs by contract spec hashes plus a Stage version floor: false; #12563 pairs by the floor and named features and names no spec hash.
- Claim: the platform group records pair through spec hashes and a version floor: false for the AST-123 and AST-137 drafts, which pair by the floor alone.
- Claim: AST-139 is unused on
mainand in open pull requests: verified. - Claim: rubric R1 to R6 found what the description reports: verified; no pull request reference remains, rejected alternatives are one line inside DEC-1 and DEC-3, and OQ1 to OQ9 are unanswered.
- Claim: rubric R7, the FR1 gap is in the allowed form: false; the line states build status.
- Claim: the knowledge check passes with no warning for this record, and Prettier passes: verified at this head.
- Claim: the pull request changes specification records only and carries no internal context: verified.
- File:
docs/specs/AST-139-react-native-stage-and-app/spec.md: four blocking findings and two notes, above.
There was a problem hiding this comment.
Approval waits on an engineering owner deciding the new spec:AST-139 requirements (FR1-FR16 and DEC-1-DEC-6), which no current record states: 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), including whether Stage applies Preview's reach limits (FR11) to every project it runs or only to one opened as a Preview. The earlier pin, pairing and description fixes are in, and one blocking finding remains.
Blocking
- The record cites
spec:AST-112/DEC-12,spec:AST-112/DEC-14, FR12's version floor and FR13'sastryx stageandastryx previewcommands, which exist only in #12563, and #12563 citesspec:AST-139back, so put #12576, #12563 and this pull request on one stack that lands together, or hold this one until both have landed.
Non-blocking
- AST-128 (#12558) still pairs Stage by each contract's spec hash as well as the floor, which settles this record's open OQ3 option there.
- Miss: FR2 and FR3 ask for render options and session control that #12563's
astryx stageflags lack, FR10 shows the project's name before anything is fetched, and an encrypted project's stored data has no removal path under FR13 and FR14.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: the record cites the AST-112 amendment for the project side of Preview, the Stage version floor, the
astryx stageandastryx previewcommands with the Stage pin, and two of its decisions: verified against the amendment's current text. - Claim: the record depends on the AST-112 promotion and amendment and lands after them: the order is stated only in the description, and the amendment cites this record back (blocking finding).
- Claim: the AST-112 clauses on Stage as the contract, the commands, the preview host's globals,
not-allowed, evidence, where binaries are published and the Non-goals are the existing authority onmain: verified, with AST-112 still draft there. - Claim: the fifteen platform group records are open drafts and each pairs with Stage through the package's version floor: verified for all fifteen; AST-128 also pairs by each contract's spec hash.
- Claim: no open pull request or branch overlaps and the record id is free: verified on
main, in open pull request titles and in remote branch names. - Claim: the decision summary matches the record (Stage FR1-FR7, the app FR8-FR15, FR16, DEC-1-DEC-6, OQ1-OQ9): verified.
- Claim: the two rejected alternatives are one line each inside DEC-1 and DEC-3: verified.
- Claim: the writing rubric results (OQ5 narration rewritten, the comparison moved out, no pull request references, open questions keep their options, one gap line in the allowed form): verified.
- Claim: the pull request holds specification records only, states observable behaviour and carries no internal context: verified by reading the record and scanning every added line, commit, the title, body and branch.
- Claim: the knowledge check reports no problem for this record, Prettier passes and the whitespace check is clean: verified at this head.
- File:
docs/specs/AST-139-react-native-stage-and-app/spec.md: one blocking finding and the notes above.
There was a problem hiding this comment.
Approval waits on an engineering owner deciding the new spec:AST-139 requirements (FR1-FR17 and DEC-1-DEC-6), which no current record states: 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), including whether Stage applies Preview's reach limits (FR11) to every project it runs or only to one opened as a Preview. One blocking finding remains.
Blocking
- The record cites
spec:AST-112/DEC-12,spec:AST-112/DEC-14, FR12's version floor, FR13'sastryx stageandastryx previewcommands and FR1's project side of Preview, which exist only in #12563, and #12563 citesspec:AST-139back, so put #12576, #12563 and this pull request on one stack that lands together, or hold this one until both have landed.
Non-blocking
- FR16 rules on the Astryx app's inspector, but no clause says what the inspector is for, who reaches it, or which runs it covers; name it in FR8, FR9 or FR16 itself.
- Miss: FR2 and FR3 ask for render options and session control that #12563's
astryx stageflags lack, FR10 shows the project's name before anything is fetched, and an encrypted project's stored data has no removal path under FR13 and FR14.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: the record cites the AST-112 amendment for the project side of Preview, the Stage version floor, the
astryx stageandastryx previewcommands with the Stage pin, and two of its decisions: verified against the amendment's current text. - Claim: the record depends on the AST-112 promotion and amendment and lands after them: the order is stated only in the description, and the amendment cites this record back (blocking finding).
- Claim: the AST-112 clauses on Stage as the contract, the commands, the preview host's globals,
not-allowed, evidence, where binaries are published and the Non-goals are the existing authority onmain: verified, with AST-112 still draft there. - Claim: the fifteen platform group records are open drafts and each pairs with Stage through the package's version floor: verified for all fifteen at their current heads.
- Claim: no open pull request overlaps and the record id is free: verified on
mainand in open pull request titles; two group drafts hand the touch shield and overlay window to this record, which FR14 and FR16 cover. - Claim: the decision summary matches the record (Stage FR1-FR7, the app FR8-FR15, the inspector FR16, evidence FR17, DEC-1-DEC-6, OQ1-OQ9): verified.
- Claim: the two rejected alternatives are one line each inside DEC-1 and DEC-3: verified.
- Claim: the writing rubric results (OQ5 narration rewritten, the comparison moved out, no pull request references, open questions keep their options, one gap line in the allowed form): verified.
- Claim: the pull request holds specification records only, states observable behaviour and carries no internal context: verified by reading the record and scanning every added line, commit, the title, body and branch.
- Claim: the knowledge check reports no problem for this record, Prettier passes and the whitespace check is clean: verified at this head.
- File:
docs/specs/AST-139-react-native-stage-and-app/spec.md: one blocking finding and the notes above.
… and preview commands, the Preview policy per module, and Stage notes per module
… astryx rn preview
…ST-141; drop the parked modules
There was a problem hiding this comment.
Approval waits on an engineering owner deciding the new spec:AST-139 requirements (FR1-FR9 and DEC-1-DEC-6) and the changes its Current-state impact asks of current records: spec:AST-042 FR1 and FR2 for command functions from @astryxdesign/react-native-stage, an architecture:cli-surface INV3 exception for the group's outcome codes while it is on the canary channel, and the INV10 and spec:AST-081 FR7 write roots for the Stage cache and an absolute --out. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. These record fixes are needed as well:
Blocking
- Regression: FR8 (line 298) and Current-state impact (line 355) name
experimental render, whichmainhas renamedastryx experimental exportinarchitecture:cli-surfaceINV10 and DEC-16, so both lines should sayexperimental export. - FR7 (lines 205-216) derives a project's needs from "that version's published feature list (
spec:AST-140/FR5)", but AST-140 FR5 keeps one list per contract and its OQ1 leaves open whether the package ships its contract descriptions, so FR7 should name that dependency or say what Stage does with a package whose list it cannot read. - FR8 (lines 221-226) has
@astryxdesign/react-native-stagecontribute the whole command group while currentarchitecture:cli-surfaceINV6 puts every command in the CLI itself and no current record lets a package add one, so Current-state impact (lines 349-352) should name that INV6 change and its mechanism instead of saying the CLI does not change. - FR8 (lines 250-253) refuses a run without the package with
ERR_BASE_COMMAND, a code missing from FR8's outcome table and from every current record, while Current-state impact (lines 360-361) saysspec:AST-114FR6 to FR8, which refuse withERR_BASE_CAPABILITY, cover the group, so add the row, register the code, and drop or narrow the AST-114 line.
The six earlier inline findings that still had a line are fixed at this head.
Claims and files checked
Review mode: full; reason: spec-record
Claims:
- Stacked on #12598, which sits on #12563: verified (the base branches).
- Cites the eleven platform group records and the platform-code record, which cite it back, and lands with them as one set, last: verified (each names this record); the landing order is a process statement.
- The amended React Native foundation record names this record for Stage and names no Stage command: verified (its Non-goals; its command group lists only the
rncommands). - Stage implements the platform-code record's contract descriptions and runs its conformance suites: verified (FR6).
- The group records carry no Stage requirement of their own: verified.
- The Preview record holds every Preview part, and this record relies on its FR4, FR5, FR6 and FR8: verified at the base.
- Stage is experimental; its outcome codes stay unfrozen while it is experimental and on the canary channel and are append-only from the first stable release, with the INV3 exception named: verified (Intent, FR8, Platform support, Current-state impact).
- The group lives in the CLI's experimental namespace and is marked experimental in help and docs: verified (FR8).
- Stage conforms to the contracts and never defines them; every public API is simulated or reported; its notes and gaps live here: verified (FR5, FR6).
- Stage derives what a project needs from the installed package version's published feature list, as the platform-code record's FR5 states: false (blocking finding; FR5 keeps one list per contract and its OQ1 leaves publication open).
- Stage refuses before any JavaScript runs, listing each missing contract, and no release names a minimum Stage version: verified (FR7).
- A named experimental package contributes the command functions, the command-admission record's FR1 is extended in Current-state impact, and the CLI and the React Native package carry no Stage command code: verified as stated; the CLI structure change it needs is missing (blocking finding).
- Astryx React Native stays neutral of Stage: verified (Intent, DEC-5).
- The record states observable behaviour only: verified.
- The foundation record's former Stage requirement, decision, open question and stage command rows moved here: verified (absent from the amended record at the base).
- The platform-code record points its Stage lines here and keeps the Simulator, the emulator and devices as its evidence: verified at its pull request's head.
- No other open pull request owns this record: not contradicted; two other open records cite it only in their Non-goals.
- FR1-FR9, DEC-1-DEC-6 and OQ1-OQ7 as summarised: verified.
- Four rejected alternatives, one line each in DEC-1, DEC-2, DEC-5 and DEC-6: verified.
- Writing rubric results R1-R7: verified.
- Specification records only, with no internal context: verified.
Files:
docs/specs/AST-139-react-native-stage-and-app/spec.md: four blocking findings (lines 298 and 355; 205-216; 221-226 with 349-352; 250-253 with 360-361) and one non-blocking note (lines 288-292); the record passes the repository's knowledge check and Prettier.
… INV6/INV2/INV9 impact; codes registered
There was a problem hiding this comment.
Approval waits on an engineering owner deciding the new spec:AST-139 requirements (FR1-FR9 and DEC-1-DEC-6) and the changes its Current-state impact asks of current records: spec:AST-042 FR1 and FR2, architecture:cli-surface INV2, INV3, INV6, INV9 and INV10, and spec:AST-081 FR7. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner; the passing spec-owner-approval check only reflects that a draft record needs no gate approval. These record fixes are needed as well:
Blocking
- FR8 (lines 255-259) keeps the group recognized without
@astryxdesign/react-native-stageand answers with that package's install command, which only the CLI can do, while Current-state impact (lines 360-364) says the CLI carries no Stage command code, so name the CLI's reservation ofexperimental rn stagethere, asspec:AST-112does forrn, or drop "still recognized". - Miss:
ERR_DEV_SERVER_UNREACHABLE(line 325), which Current-state impact (lines 375-380) registers as new and append-only once stable, is the codespec:AST-141FR12 already uses for the same outcome under the rule that any release may change or remove it, so share it under one rule in both records or give Stage its own code. - Still open from the last review: FR7's refusal bullets (lines 216-221) still speak of one package-level feature list while its second bullet reads each contract's own list from the package or from Stage's own record, and (missed last time) FR7's verification row (line 395), OQ3 (line 500) and the description still say "published feature list", so reword them to the contracts that package version uses and add a verification state for a version Stage has no lists for.
The last review's other three blocking findings, and six earlier inline findings, are fixed at this head.
Claims and files checked
Review mode: full; reason: spec-record
Claims:
- Stacked on the Preview record's pull request, which sits on the React Native foundation amendment: verified (the base branch; the amendment's two newer commits change no line this record cites).
- Cites the eleven platform group records and the platform-code record, which cite it back, and lands with them as one set, last: verified (each names this record); the landing order is a process statement.
- The amended foundation record names this record for Stage and names no Stage command: verified (its Non-goals; its command group lists only the
rncommands). - Stage implements the platform-code record's contract descriptions and runs its conformance suites: verified (FR6).
- The group records carry no Stage requirement of their own: verified (each mentions Stage only as a pointer to this record).
- The Preview record holds every Preview part, and this record relies on its FR4, FR5, FR6 and FR8: verified at the base.
- Stage is experimental; its outcome codes stay unfrozen while it is experimental and on the canary channel and are append-only from the first stable release, with the code-permanence exception named: verified (Intent, FR8, Platform support, Current-state impact).
- The group lives in the CLI's experimental namespace and is marked experimental in help and docs: verified (FR8).
- Stage conforms to the contracts and never defines them; every public API is simulated or reported; its notes and gaps live here: verified (FR5, FR6).
- Stage keeps its conformance notes on its own side, and the package's contract documentation does not track Stage: verified (FR6).
- Stage derives what a project needs from the installed package version and that version's published feature list: false (blocking finding; FR7 now reads each contract's own list from the package or from Stage's own record).
- Stage refuses before any JavaScript runs, listing each missing contract, and no release names a minimum Stage version: verified (FR7).
- Contracts carry no revision numbers, and named features let JavaScript detect what is missing: verified (FR7).
- A named experimental package contributes the command functions, the CLI and the React Native package carry no Stage command code, and Stage's binaries are not in the package: verified as stated; the not-installed answer needs a CLI reservation (blocking finding).
- Astryx React Native stays neutral of Stage: verified (Intent, DEC-5).
- The record states observable behaviour only: verified.
- The foundation record's former Stage requirement, decision, open question and stage command rows moved here: verified (absent from the amended record at the base).
- The platform-code record points its Stage lines here and keeps the Simulator, the emulator and devices as its evidence: verified at its pull request's head.
- No other open pull request owns this record: verified (two other open records cite it only in their Non-goals).
- FR1-FR9, DEC-1-DEC-6 and OQ1-OQ7 as summarised: verified.
- Four rejected alternatives, one line each in DEC-1, DEC-2, DEC-5 and DEC-6: verified.
- Writing rubric results R1-R7: verified.
- Specification records only, with no internal context: verified.
Files:
docs/specs/AST-139-react-native-stage-and-app/spec.md: three blocking findings (lines 255-259 with 360-364; 325 with 375-380; 216-221 with 395 and 500); the record passes the repository's knowledge check and Prettier.
…e; per-contract feature lists throughout
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new Astryx Stage requirements (spec:AST-139 FR1–FR9 and DEC-1–DEC-6), which no current record states, together with the changes its Current-state impact asks of current records: spec:AST-042 FR1–FR2, architecture:cli-surface INV2, INV3, INV6, INV9 and INV10, and spec:AST-081 FR7. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner. One record fix is also needed:
- Miss: no record says who provides
astryx experimental rn, the level that this record's stage group (from@astryxdesign/react-native-stage) andspec:AST-141FR12's preview group (from@astryxdesign/react-native-preview) both sit under, so FR8 and Current-state impact should say who registers it, what it answers bare and with neither package installed, and how a second package's group joins it.
Smaller notes, none blocking, are inline: an outcome code for a route the app does not take, a way to start FR4's prebuilt bundles and samples, DEC-2's wording against FR7, OQ7 against DEC-4, --engine and the signature check, and the admission statement for install, windows and which.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: the pull request is stacked on the Preview record's pull request, which is stacked on the React Native foundation amendment: verified from their base branches.
- Claim: it lands last, as one set, with the platform group records and the platform code record that it cites: verified in the description; those records are unchanged since they were last checked.
- Claim: Stage tracks Astryx releases from the feature lists of the contracts the installed package version uses, read from the package or from Stage's own record: verified (FR7).
- Claim: a separate experimental package contributes the commands, and neither the CLI nor the React Native package carries Stage command code: verified (FR8); the shared
experimental rnlevel has no owner (the blocking finding). - Claim: the Preview record holds every Preview part, and this record relies on its FR4, FR5, FR6 and FR8: verified.
- Claim: outcome codes stay unfrozen while the package is on the canary channel and are append-only from its first stable release, with the INV3 exception named: verified (FR8, Current-state impact).
- Claim: the foundation record names this record in its Non-goals only and names no Stage command: verified.
- Claim: writing rubric results R1–R7: verified; every gap line names its requirement and the mismatch.
- Claim: specification records only, with no internal context: verified.
- File:
docs/specs/AST-139-react-native-stage-and-app/spec.md: one blocking finding and six notes; the record passes the repository's knowledge check and Prettier.
… code; bundle and sample sources; per-subcommand admission
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new Astryx Stage requirements in spec:AST-139 (FR1–FR9 and DEC-1–DEC-6), which no current record states, and on the changes its Current-state impact asks of current records. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.
What the decision settles:
- Stage's behaviour, including FR7's pairing by each contract's feature list, read from the package or Stage's own record, which leans on
spec:AST-140OQ1, still open. spec:AST-042FR1–FR2 for command functions that@astryxdesign/react-native-stageexports, andarchitecture:cli-surfaceINV6 for groups that packages contribute under anastryx experimental rnlevel no package owns, which depends on howspec:AST-112OQ5 is settled.architecture:cli-surfaceINV2 and INV9 forstage open, INV10 andspec:AST-081FR7 for the Stage cache and an absolute--out, and the INV3 exception for codes while the package is on canary.
No blocking record defect remains, and every finding of the previous review is fixed. Two optional fixes: say what any two of --dev-server-url, --bundle and --sample do together (spec:AST-042 FR5), and say what each stage command does outside an app (spec:AST-081 FR4, ERR_PROJECT_REQUIRED).
Claims and files checked
Review mode: full; reason: spec-record
Claims:
- Stacked on the Preview record's pull request, which is stacked on the foundation amendment: verified: this pull request targets the Preview branch, whose own base is the foundation amendment's branch.
- Cites the eleven platform group records and the platform-code record, which cite it back, and lands with them as one set, last: verified for the platform-code, system-modules, web view and controls records read; each names this record.
- The foundation record, as amended, names Stage only in its Non-goals and no Stage command: verified: Non-goals line 63-65 at the base; no other Stage mention.
- Stage is experimental; its codes are unfrozen while on canary and append-only from the first stable release, and Current-state impact names the INV3 exception: verified: spec.md:250-257, :384-393.
- The group lives in the CLI's experimental namespace and is marked experimental with stability metadata: verified: spec.md:250-253, :264-265.
- Stage derives needs from the installed package version and the feature lists of the contracts it uses, read from the package or Stage's own record, and refuses before any JavaScript runs, listing each one: verified: FR7, spec.md:208-222.
- No Astryx record declares anything for Stage, no release names a minimum Stage version, and contracts carry no revision numbers: verified: spec.md:203-215.
- A separate experimental package contributes the command functions; the CLI and the React Native package carry no Stage command code, and the binaries are not in the package: verified: spec.md:229-234.
- The Preview record holds every Preview part, and this record relies on its FR4, FR5, FR6 and FR8: verified: spec.md:124-126, :149, :158, :548.
- The platform-code record keeps native evidence to the Simulator, the emulator and devices, as FR9 does: verified: its platform support line; spec.md:342-346.
- Writing rubric: no pull request references, gap lines in R7 form, four one-line rejected alternatives: verified: no
#reference in the record; gap lines at spec.md:98, :169-200; Rejected lines in DEC-1, DEC-2, DEC-5, DEC-6; check:knowledge aligned.
Files:
docs/specs/AST-139-react-native-stage-and-app/spec.md: two non-blocking notes (FR8's source-option pairs; the answer outside an app); otherwise clear.
…only the stage group
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new Astryx Stage requirements in spec:AST-139 (FR1–FR9 and DEC-1–DEC-6), which no current record states, and on the changes its Current-state impact asks of current records; one record fix is also needed. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.
Blocking:
- Current-state impact (lines 369-373) hands the CLI's loading of package-contributed groups, and its
architecture:cli-surfaceimpact, tospec:AST-112FR13, but that record sends only its ownrngroup through its OQ5 and names no INV6 change, so restore an INV6 line for the stage group here or have the foundation amendment extend its OQ5 and Current-state impact to groups any installed package adds underastryx experimental rn.
What the decision settles:
- Stage's behaviour, including FR7's pairing by each contract's feature list, read from the package or Stage's own record, which leans on
spec:AST-140OQ1, still open. spec:AST-042FR1–FR2 for command functions that@astryxdesign/react-native-stageexports,architecture:cli-surfaceINV2 and INV9 forstage open, INV10 andspec:AST-081FR7 for the Stage cache and an absolute--out, and the INV3 exception for codes while the package is on canary.
Optional fixes: say what any two of --dev-server-url, --bundle and --sample do together (spec:AST-042 FR5) and what each stage command does outside an app (spec:AST-081 FR4); and, missed in the last review, say which package version a prebuilt bundle is paired by (FR7) and drop "today" from OQ7.
Claims and files checked
Review mode: full; reason: spec-record
Claims:
- Stacked on the Preview record's pull request, itself stacked on the foundation amendment: verified: this pull request targets the Preview branch, whose own base is the foundation amendment's branch.
- Cites the eleven platform group records and the platform-code record, which cite it back, and lands with them as one set, last: verified: each of those twelve drafts names this record in its non-goals.
- The foundation record, as amended, names Stage only in its Non-goals and no Stage command: verified: its one Stage line is the non-goal; its FR13 defines the experimental rn level and names no stage command.
- Stage is experimental; its codes are unfrozen while on canary and append-only from the first stable release, and Current-state impact names the INV3 exception: verified: spec.md:250-257, :380-389.
- The group lives in the CLI's experimental namespace and is marked experimental with stability metadata: verified: spec.md:250-253.
- Stage derives needs from the installed package version and the feature lists of the contracts it uses, read from the package or Stage's own record, and refuses before any JavaScript runs, listing each one: verified: FR7, spec.md:208-222.
- No Astryx record declares anything for Stage, no release names a minimum Stage version, and contracts carry no revision numbers: verified: spec.md:203-215.
- A separate experimental package contributes the command functions; the CLI and the React Native package carry no Stage command code, and the binaries are not in the package: verified: spec.md:230-234.
- The Preview record holds every Preview part, and this record relies on its FR4, FR5, FR6 and FR8: verified: spec.md:123-126, :148-149, :158, :544 against the Preview record's FR4 to FR8.
- The platform-code record keeps native evidence to the Simulator, the emulator and devices, as FR9 does, and its own Stage lines point here: verified: its evidence line and its one Stage line, a non-goal; spec.md:338-342.
- Writing rubric: no narration, no pull request references, gap lines in R7 form and no other status, four one-line rejected alternatives: partly false: OQ7's "absent today" (spec.md:546) states a status (a non-blocking note); the rest verified: no
#reference, Rejected lines in DEC-1, DEC-2, DEC-5 and DEC-6, the knowledge check aligned.
Files:
docs/specs/AST-139-react-native-stage-and-app/spec.md: one blocking finding (the INV6 pointer in Current-state impact); four non-blocking notes (source-option pairs, the answer outside an app, the package version a prebuilt bundle is paired by, OQ7's "today"); otherwise clear.
…n-app answers, bundle pairing
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new Astryx Stage requirements in spec:AST-139 (FR1–FR9 and DEC-1–DEC-6), which no current record states, and on the changes its Current-state impact asks of current records; no blocking record fix remains. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.
What the decision settles:
- Stage's behaviour, including FR7's pairing by each contract's feature list, read from the package or Stage's own record (which leans on
spec:AST-140OQ1, still open), and a prebuilt bundle paired by the package version it records. spec:AST-042FR1–FR2 for command functions that@astryxdesign/react-native-stageexports,architecture:cli-surfaceINV6 for groups that installed packages add underastryx experimental rn, INV2 and INV9 forstage open, INV10 andspec:AST-081FR7 for the Stage cache and an absolute--out, and the INV3 exception for codes while the package is on canary.
Optional fixes: have FR7 itself name the version a prebuilt bundle records and give FR8's outcome table a row for a bundle that records none, and add this head's new answers (two source options, a render outside an app, a prebuilt bundle with and without a recorded version) to the FR4, FR7 and FR8 verification rows.
Claims and files checked
Review mode: full; reason: spec-record
Claims:
- Stacked on the Preview record's pull request, itself stacked on the foundation amendment: verified: this pull request targets the Preview branch, whose own base is the foundation amendment's branch.
- Cites the eleven platform group records and the platform-code record, which cite it back, and lands with them as one set, last: verified: each of those twelve drafts names this record in a non-goal, at heads unchanged since they were last checked.
- The foundation record, as amended, names Stage only in its Non-goals and no Stage command: verified: its one Stage line is the non-goal; its FR13 defines the experimental rn level and names no stage command.
- Stage is experimental; its codes are unfrozen while on canary and append-only from the first stable release, and Current-state impact names the INV3 exception: verified: spec.md:250-257, :391-400.
- The group lives in the CLI's experimental namespace and is marked experimental with stability metadata: verified: spec.md:250-253.
- Stage derives needs from the installed package version and the feature lists of the contracts it uses, read from the package or Stage's own record, and refuses before any JavaScript runs, listing each one: verified: FR7, spec.md:208-228 (a prebuilt bundle pairs by the version it records instead, :288-290).
- No Astryx record declares anything for Stage, no release names a minimum Stage version, and contracts carry no revision numbers: verified: spec.md:203-215.
- A separate experimental package contributes the command functions; the CLI and the React Native package carry no Stage command code, and the binaries are not in the package: verified: spec.md:230-234.
- Astryx React Native stays neutral of Stage: verified: Intent spec.md:40-45 and DEC-5.
- The Preview record holds every Preview part, and this record relies on its FR4, FR5, FR6 and FR8: verified: spec.md:124-125, :149, :158, :555 against the Preview record's FR4 to FR8.
- The platform-code record keeps native evidence to the Simulator, the emulator and devices, as FR9 does: verified: its evidence line at a head unchanged since it was checked; spec.md:348-352.
- No other open pull request owns Stage: verified: a search of open pull requests for Astryx Stage returns this set and two component records that name Stage only in a non-goal.
- Writing rubric: no narration, no pull request references, gap lines in R7 form and no other status, four one-line rejected alternatives: verified: no
#reference, gap lines name their FR, Rejected lines in DEC-1, DEC-2, DEC-5 and DEC-6, the knowledge check aligned.
Files:
docs/specs/AST-139-react-native-stage-and-app/spec.md: no blocking finding; two non-blocking notes (FR7 and the outcome table for the prebuilt bundle's pairing, and verification rows for this head's new answers); otherwise clear.
…ason, level cited from AST-141 FR12; bundle pairing in FR7
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new Astryx Stage requirements in spec:AST-139 (FR1–FR9 and DEC-1–DEC-6), which no current record states, and on the changes its Current-state impact asks of current records (spec:AST-042 FR1–FR2, architecture:cli-surface INV2, INV3, INV6, INV9 and INV10, and spec:AST-081 FR7). An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.
These also need fixing before approval:
- Regression: FR6's icons row still says the scene reader reports version 2 (line 144), but the latest
spec:AST-127replaced scene versions with named features, so the row should say thatAstryxVectorInfolistsgroups. - The description says this record names
spec:AST-141in its Non-goals, but this head's Non-goals read "None.", so it should name the Intent, FR4, FR6, OQ6 and Current-state impact instead. - Regression: the description says the platform group records and
spec:AST-140cite this record back, but at their latest heads onlyspec:AST-123,spec:AST-124andspec:AST-125still do, so drop that clause and keep the landing order on the ground that this record cites them all.
The earlier notes on the prebuilt-bundle pairing in FR7 and on the verification rows are fixed.
Claims and files checked
Review mode: full; reason: spec-record
- Stacked on the Preview record's pull request, itself stacked on the foundation amendment: verified: this pull request targets the Preview branch, which targets the foundation amendment's branch.
- Cites the eleven platform group records and the platform-code record, which cite it back, and lands with them as one set, last: false in part: at their latest heads only the surfaces, gestures and navigation drafts still name this record; the landing order holds because this record cites all twelve.
- Cites the foundation record as amended, the platform-code record whose descriptions and suites Stage implements, the group records (no Stage requirement of their own) and the Preview record (every Preview part): verified: FR6, FR7 and FR9 cite them; the group drafts at their latest heads carry no Stage requirement.
- Stage is experimental; its codes are unfrozen while on canary and append-only from the first stable release, and Current-state impact names the INV3 exception: verified: spec.md:238-245, :377-386.
- The group lives in the CLI's experimental namespace and is marked experimental with stability metadata: verified: spec.md:238-241.
- Stage conforms to the contracts and never defines them; devices are the truth; every public API is simulated or reported; notes and gaps live here: verified: FR6, spec.md:117-184.
- Stage keeps its own conformance notes and the contract documentation does not track Stage: verified: spec.md:122-126.
- Stage derives needs from the installed package version and each contract's feature list, read from the package or Stage's own record, and refuses before any JavaScript runs, listing each one: verified: FR7, spec.md:192-206.
- No record declares anything for Stage, no release names a minimum Stage version, contracts carry no revision numbers, and named features let JavaScript detect gaps: verified: spec.md:187-199, :213-216 (the platform-code record states the no-revision rule through its FR5 gap line).
- A separate experimental package contributes the command functions; the CLI and the React Native package carry no Stage command code; binaries are not in the package: verified: spec.md:217-222.
- Astryx React Native stays neutral of Stage: verified: Intent spec.md:40-43 and DEC-5.
- The record describes observable behaviour only: verified: it names no internal module, file or algorithm; the package split is what an installer sees.
- The foundation record names no Stage command; its FR5, FR6, FR13 and FR15 keep the testing doubles, shared reasons, command rules and evidence; its former Stage requirements move here: verified: the base foundation record has no Stage line; main's draft still holds FR12, DEC-7 and OQ4.
- The group records removed their Stage columns, gaps and pairing lines, and FR6 holds them: verified: nine drafts have no Stage line at their latest heads, three keep one pointer only.
- The Preview record holds Preview; this record names it in the Intent and Non-goals and relies on its FR4, FR5, FR6 and FR8: false in part: the Non-goals read "None." (spec.md:69); the reliance on FR4-FR6 and FR8 is verified (spec.md:108-110, :133, :142, :539).
- The platform-code record overlaps; its evidence line keeps the Simulator, the emulator and devices only, as FR9 does: verified: its latest head has no Stage line.
- No other open pull request owns Stage: verified: a search of open pull requests returns this set and two component drafts that name Stage only in a pointer.
- Decision summary (FR1-FR9, DEC-1-DEC-6, OQ1-OQ7): verified against the record.
- The comparison table stays in the description and the record keeps only the conclusion: verified: Why this exists, spec.md:49-55.
- Rejected alternatives: none recorded; DEC-2, DEC-5 and DEC-6 state each stop as rule and reason: verified: spec.md:427-429, :461-462, :473-474, and no Rejected line remains.
- Claim scope: Non-goals reads "None."; contracts live in the group records, Preview and the level in the Preview record: verified: spec.md:69, :246-249.
- Evidence: Verification names runs, comparisons and the failure each catches: verified: spec.md:391-403.
- Writing rubric R1-R7: verified: no narration words, no pull request references, gap lines in the R7 form; the knowledge check is aligned.
- Scope checklist (records only, observable behaviour, owners and overlap named): verified: one file under docs/specs.
- File:
docs/specs/AST-139-react-native-stage-and-app/spec.md: three blocking findings (the FR6 icons row at line 144 and two description claims); everything else clear.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new Astryx Stage requirements in spec:AST-139 (FR1–FR9 and DEC-1–DEC-6), which no current record states, and on the changes its Current-state impact asks of current records (spec:AST-042 FR1–FR2, architecture:cli-surface INV2, INV3, INV6, INV9 and INV10, and spec:AST-081 FR7). An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.
No blocking finding remains: the three earlier findings (the icons row's scene version and the two description claims) are fixed.
- Miss: FR7 refuses a project whose package version uses a contract Stage does not implement (lines 210-213), while FR6 runs projects with
AstryxBackandAstryxLaunchabsent in the Android look andAstryxWebViewabsent on Linux and Windows; saying whether such a contract counts as implemented would keep an Android-look run from reading as refused (non-blocking).
Claims and files checked
Review mode: full; reason: spec-record
- Stacked on the Preview record's pull request, itself stacked on the foundation amendment: verified: this pull request targets the Preview branch, which targets the foundation amendment's branch.
- Cites the eleven platform group records and the platform-code record, lands with them as one set, last, and no Astryx record cites this one: verified: FR6, FR7 and FR9 cite them; no record at the base, on main, or in the twelve drafts at their latest heads names this record.
- Cites the amended foundation record (no Stage line of its own), the platform-code record whose descriptions and suites Stage implements, the group records (no Stage requirement of their own) and the Preview record (every Preview part): verified: the amended foundation record has no Stage line; FR6 cites the platform-code record (spec.md:134-137); the group drafts at their latest heads carry no Stage line.
- Stage is experimental; its codes are unfrozen while on canary and append-only from the first stable release, and Current-state impact names the INV3 exception: verified: spec.md:245-252, :384-393.
- The group lives in the CLI's experimental namespace and is marked experimental with stability metadata: verified: spec.md:245-248.
- Stage conforms to the contracts and never defines them; devices are the truth; every public API is simulated or reported; notes and gaps live here: verified: FR6, spec.md:124-191.
- Stage keeps its own conformance notes, and the contract documentation does not track Stage: verified: spec.md:129-133.
- Stage derives needs from the installed package version and each contract's feature list, read from the package or Stage's own record, whichever command or window starts it, and refuses before any JavaScript runs, listing each one: verified: FR7, spec.md:199-213.
- No record declares anything for Stage, no release names a minimum Stage version, contracts carry no revision numbers, and named features let JavaScript detect gaps: verified: spec.md:194-206, :220-223.
- A separate experimental package contributes the command functions; the CLI and the React Native package carry no Stage command code; binaries are not in the package: verified: spec.md:225-229.
- Astryx React Native stays neutral of Stage: verified: Intent spec.md:40-45 and DEC-5.
- The record describes observable behaviour only: verified: it names no internal module, file or algorithm.
- The foundation record names no Stage command; its FR5, FR6, FR13 and FR15 keep the testing doubles, shared reasons, command rules and evidence; the platform-code record grows contracts by named features; the former Stage requirements live here: verified: the base foundation record has no Stage line; the platform-code record's FR5 grows contracts by named features, with a gap line on revision numbers.
- The group records removed their Stage columns, gaps and pairing lines, and FR6 holds them: verified: none of the eleven drafts at their latest heads has a Stage line.
- The Preview record holds Preview; this record names it in the Intent, FR4, FR6, OQ6 and Current-state impact, and relies on its FR4, FR5, FR6 and FR8: verified: spec.md:44-45, :116, :140, :149, :367, :374, :546.
- The platform-code record overlaps; its Stage lines belong here, and its evidence line keeps the Simulator, the emulator and devices only, as FR9 does: verified: its latest head names no Stage.
- No other open pull request owns Stage: verified: a search of open pull requests returns this set and three other pull requests with no Stage requirement.
- Decision summary (FR1-FR9, DEC-1-DEC-6, OQ1-OQ7): verified against the record.
- The comparison table stays in the description and the record keeps only the conclusion: verified: Why this exists, spec.md:47-55.
- Rejected alternatives: none recorded; DEC-2, DEC-5 and DEC-6 state each stop as rule and reason: verified: spec.md:434-436, :468-469, :480-481.
- Claim scope: the Non-goals keep the template's two standing bullets; contracts live in the group records, Preview and the level in the Preview record: verified: spec.md:67-76, :253-256.
- Evidence: Verification names runs, comparisons and the failure each catches: verified: spec.md:398-410.
- Writing rubric R1-R7: verified: no narration words, no pull request references, gap lines in the R7 form; the knowledge check passes.
- Scope checklist (records only, observable behaviour, owners and overlap named): verified: one file under docs/specs.
- File:
docs/specs/AST-139-react-native-stage-and-app/spec.md: one non-blocking note (FR7's refusal, lines 210-213); everything else clear.
| - Before any of the project's JavaScript runs, Stage refuses a project whose | ||
| package version uses a contract that Stage does not implement or does not | ||
| know. The refusal lists each one. It never renders with a silent | ||
| fallback. |
There was a problem hiding this comment.
Non-blocking, Miss: this refuses a project whose package version uses a contract Stage does not implement, but FR6 runs projects with AstryxBack and AstryxLaunch absent in the Android look (line 155, gap at lines 165-166) and AstryxWebView absent on Linux and Windows (lines 180-182; Platform support, lines 352-354). Read literally, every Android-look run is refused, since every package version uses the back and launch modules. Suggest adding: "A contract that Stage declares but answers absent in a look or on a desktop, with an FR6 gap, runs, and the report lists it (FR5)."
|
Closing: Astryx Stage is a separate tool outside Astryx, and its behaviour record lives with the tool. Astryx specs, releases and docs do not require it. The branch is kept. |
Stacked on #12598 (which is stacked on #12563). It also cites the group records #12551, #12552, #12553, #12554, #12555, #12556, #12557, #12558, #12562, #12565 and #12572 (
spec:AST-123tospec:AST-132,spec:AST-135) and #12594 (spec:AST-140), so it lands with them as one set, last. No Astryx record cites this one.This record cites
spec:AST-112as amended by #12563, which points every Astryx Stage line here;spec:AST-140(#12594), whose contract descriptions and conformance suites Stage implements and runs (FR6); the platform group records it names (open drafts), which carry no Stage requirement of their own; andspec:AST-141(Preview in the Astryx app), which holds every Preview part.Exact decision needed
Astryx Stage as an experimental feature (DEC-6): its commands, flags, results, and behaviour may change or be removed in any release, and nothing in Astryx React Native depends on it. While it is experimental and its package is on the canary channel, its outcome codes have no frozen shape either; from the first stable release that ships a code, the code is append-only under
architecture:cli-surfaceINV3 (FR8), and Current-state impact names that INV3 exception. Theastryx experimental rn stagegroup lives in the CLI's experimental namespace and is marked experimental in its help and docs (stability: 'experimental',spec:AST-017FR21 and FR27), so it sits outside any stable compatibility promise.The observable behaviour of Astryx Stage, the desktop app for macOS, Linux, and Windows that runs an Astryx React Native app's real JavaScript and renders it without a device (a window, headless captures, scripted checks, the accessibility tree), as the one owner of everything Stage:
@astryxdesign/react-nativeversion and the feature lists of the contracts that version uses (spec:AST-140FR5), read from the package where it ships its contract descriptions (spec:AST-140OQ1) or else from Stage's own record, whichever command or window starts it, and refuses, before any JavaScript runs, a project whose package version uses a contract it does not implement or does not know, or a version it has no lists for, listing each one. How Stage records what each package version needs is Stage's own format; no Astryx record declares anything for Stage, and no Astryx release names a minimum Stage version. Contracts carry no revision numbers, and the named features a Stage binary reports, in the one feature list, let JavaScript detect what is missing.astryx experimental rn stage …commands: their jobs, render options,--windowdriving, the pin, results, refusals, and codes, underarchitecture:cli-surfaceand the CLI's experimental rule. A named experimental package,@astryxdesign/react-native-stage, contributes their command functions (spec:AST-042FR1, extended in Current-state impact);@astryxdesign/cliand@astryxdesign/react-nativecarry no Stage command code, and Stage's binaries are not in the package.The record describes only observable behaviour, never how Stage is implemented, built, or packaged.
Existing authority searched
spec:AST-112(React Native foundation), onmainand as amended by spec(AST-112): React Native commands are one astryx rn group; package shape (Expo wrapper, default linking, named features) #12563: it names no Stage command (theastryx experimental rn stage …commands follow the CLI's experimental rule,spec:AST-017FR21 and FR27 andspec:AST-084FR0, andarchitecture:cli-surface, which FR8 cites, under theastryx experimental rnlevel ofspec:AST-141/FR12); FR5 keeps the./testingdoubles; FR6 keeps the shared reasons; FR13 keeps the rules every React Native command follows; FR15 keeps evidence;spec:AST-140FR5 states that no contract carries a revision number. Its former FR12, DEC-7, OQ4, and FR13's stage rows, render options, window driving, pin, Stage write root, and codes move here.spec:AST-141(Preview in the Astryx app, open draft): holds Preview, the Astryx app as its host, isolation, the Preview policy per module, the prelude, the inspector, andastryx experimental rn preview …. This record names it in the Intent, FR4, FR6, OQ6, and Current-state impact, and relies on its FR4 and FR5 (a Preview project Stage opens, under OQ6), FR6 (the router snapshot Stage's address bar reads), and FR8 (the encrypted-bundle checks, under OQ6).spec:AST-140(React Native platform code, spec(AST-140): React Native platform code #12594, open draft), overlapping work: it states the result shape, the conformance suites, and the engine-neutral contract descriptions that Stage implements; FR6 here holds Stage's side of them. Its own Stage lines (the hosts in its FR3, the suites in its FR7 and FR8, and its evidence line) belong to this record: that record is to point them here, and its evidence line is to keep the Simulator, the emulator, and devices only, as FR9 here does.Decision
FR1–FR9: Stage runs the app's own bundle with an iOS or Android look on macOS, Linux, and Windows; a window and a headless mode whose every result is one report with a status; render options that are the device's settings; runs from the dev server with hot reload, a production bundle, a prebuilt bundle, or a sample, and applies
spec:AST-141's limits to a Preview project; every report lists what is simulated; conforms to the contracts with its own notes and gaps per module; tracks Astryx releases itself from the feature lists of the contracts the installed package version uses;astryx experimental rn stage open|shot|play|a11y|install|windows|whichwith its codes; Stage results are development evidence beside the Simulator, the emulator, and devices.Decided (DEC-1 to DEC-6): Stage runs the app's JavaScript against the platform's contracts; a missing contract is a refusal; Stage on three desktops; Stage conforms and devices are the truth; Astryx React Native stays neutral of Stage; Stage is experimental.
Open (OQ1 to OQ7): an app's own native library with Stage; Stage's handling of an unimplemented piece; how Stage publishes its contracts; where Stage's binaries are published and how they are signed, updated, and for which architectures; remote runs; hosted Preview bundles in Stage; the Android root back gate and launch hold.
How Stage compares
Rejected alternatives
None recorded. The decisions keep what Stage deliberately stops or requires as a rule with its reason: no Astryx release names a minimum Stage version (DEC-2), the package's records carry no Stage rules (DEC-5), and Stage carries no stable compatibility promise (DEC-6).
Claim scope and non-goals
The record governs the observable behaviour of Astryx Stage and the
astryx experimental rn stagecommands. The record's Non-goals keep the template's two standing bullets (equivalent implementations stay valid; internals belong in architecture); each contract's behaviour on iOS and Android lives in the group records, Preview and the Astryx app inspec:AST-141, and theastryx experimental rnlevel inspec:AST-141/FR12.Evidence and implementation relationship
No public evidence links. Verification names, per requirement, the runs and comparisons (Stage beside the Simulator and emulator, CLI contract tests) and the failure each catches.
Writing rubric results
spec:AST-112and the group records is restated as what Stage does, with no "moved", "now", or "previously".Rejected:lines, and deliberate stops are stated as rule plus reason inside DEC-2, DEC-5, and DEC-6.Scope
Components: none (Astryx Stage, experimental)