Repository navigation
spec(AST-141): React Native: Preview in the Astryx app (experimental) (draft) - #12598
imdreamrunner wants to merge 27 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's decision on this new draft record, and three record defects need fixing whatever that decision is.
Owner decision: spec:AST-141 adds FR1–FR12 and DEC-1–DEC-6. No current record states them, and this head carries no owner approval. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do this, as an engineering owner.
Blocking findings
- FR11 writes the
--qr-pngfile to any absolute path (lines 239-241) and saysarchitecture:cli-surfaceINV10 admits that (lines 284-285), but onmainINV10 allows an absolute-path write only forastryx experimental render's one HTML file, so drop the clause or amend INV10 and list that record inaffects_architecture. - FR11 puts the group's function in
@astryxdesign/react-native's./commandsentry (lines 244-246), but onmainspec:AST-042FR1 requires every command's function to be exported from@astryxdesign/cli/api, so remove that sentence until a current record decides how a package contributes commands. - On
mainthe record cites ten records that do not exist (spec:AST-123,-125to-130,-132,-135and-139) and claims that AST-112 and AST-114 do not make (lines 198, 237, 247, 278 and 286), so declare aStack:line with the records it depends on, or rebase after they land and recheck each citation.
Two smaller points: astryx doctor --scope preview (line 242) is outside the scope that the Non-goals give the record, and FR4 defines AstryxStorage.clearProjectData although the Intent says the record defines no package contract.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim: not stacked; lands after the AST-112 amendment and with the Stage record. Verified: there is no Stack line, and the record cites records that only those pull requests add.
- Claim: Preview becomes its own record, apart from Astryx Stage. Verified (Intent, Non-goals).
- Claim: the Stage record owns both products today. False on
main: the Stage record does not exist there, and the draft foundation record holds the Preview parts. - Claim: the decision bullets (experimental status; the app as host, with confirmation first; namespaces and the per-module policy; prelude, host check, bytecode refusal, and the key in the link fragment; one policy in every host; the package keeps only the project side). Verified against FR1–FR11 and DEC-1–DEC-6.
- Claim: four rejected alternatives, one line each, inside DEC-1 to DEC-4. Verified.
- Claim: behaviour only, and Preview defines none of the package's contracts. Partly false: FR4 defines
AstryxStorage.clearProjectDataand theno-namespaceandinvalid-urlreasons. - Claim: specification only, with no implementation. Verified: one Markdown file.
- Claim: writing rubric R1–R7 results. Verified: no narration, research, change references or status lines found.
- Claim: affected current claims are named and collisions are resolved. False: the CLI write-confinement rule and the command-function rule are contradicted, not amended.
- Claim: knowledge validation exits 0, and Prettier and the whitespace check are clean. Verified by running them at this head.
- File
docs/specs/AST-141-react-native-preview/spec.md: the three blocking findings and the two smaller points above.
| - **FR5 — The Preview policy per module.** A module the table does not name | ||
| answers a project as it answers the app, within the app's own permissions. | ||
|
|
||
| | Module (claim) | What a Preview project gets | |
There was a problem hiding this comment.
None of the claims this table cites (spec:AST-125 to spec:AST-135) exists on main. They come from other open pull requests, so this table resolves only once those land. A Stack: line would hold that order.
There was a problem hiding this comment.
This pull request stays a draft and waits for the records it cites to land first (#12594, #12557, #12562, #12554, #12556, #12555, #12558, #12552, #12553, #12551, #12565, #12572); the description now states that merge condition. No merge is pending, and the citations are rechecked once those records are on the base.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on this new draft record, and three record defects need fixing whatever that decision is. The --qr-png write now stays with the group's other writes, as architecture:cli-surface INV10 requires.
Owner decision: spec:AST-141 adds FR1–FR12 and DEC-1–DEC-6. No current record states them, and this head carries no owner approval. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do this, as an engineering owner.
Blocking findings
- FR11 puts the group's function in
@astryxdesign/react-native's./commandsentry (lines 245-246), but onmainspec:AST-042FR1 requires every command's function to come from@astryxdesign/cli/apiand the AST-112 amendment does not edit FR1, so amend FR1 in this set under its owner's approval or drop the sentence. - On
mainthe record cites ten records that do not exist (spec:AST-123,-125to-130,-132,-135and-139) and claims thatspec:AST-112andspec:AST-114do not make (lines 198, 237, 247, 278-285), so declare oneStack:line across the records it depends on, or merge after they land and recheck each citation. - Miss: FR5's
AstryxAudiorow gives the Now Playing card and remote commands to the player that started last in any runtime (line 152), while FR4 (lines 128-129) and DEC-2 (lines 329-330) say a project cannot change or take the app's lock-screen controls, so state one rule.
Two smaller points: "written inside the app" (line 239) reads as the Astryx app, which is what "the app" means everywhere else in the record, so say "inside the project"; and the astryx doctor --scope preview option (line 242) is missing from the doctor flags that the AST-112 amendment lists, so align the two records.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: not stacked; merges as one set with the AST-112 amendment and the Stage record. Verified: there is no Stack line, and the record cites records that only those pull requests add.
- Claim: Preview becomes its own record, apart from Astryx Stage. Verified (Intent, Non-goals).
- Claim: the AST-112 amendment names this record for Preview and the preview command group. Verified in that amendment's record.
- Claim: the AST-112 amendment extends the command-function rule to the package's commands entry. False on
main: the amendment edits only AST-112, and the rule's text is unchanged. - Claim: the CLI write-confinement rule is kept, with the QR PNG inside it. Verified (lines 239-241).
- Claim: the decision bullets (experimental status; the app as host, with confirmation first; namespaces and the per-module policy; prelude, host check, bytecode refusal and the key in the link fragment; one policy in every host; the package keeps only the project side). Verified against FR1–FR11 and DEC-1–DEC-6.
- Claim: four rejected alternatives, one line each, inside DEC-1 to DEC-4. Verified.
- Claim: behaviour only, and Preview defines none of the package's contracts. Verified at this head: the storage call is gone, and the no-namespace reason cites its module record.
- Claim: specification only, with no implementation. Verified: one Markdown file.
- Claim: writing rubric R1–R7 results. Verified: no narration, research, change references or status lines.
- Claim: affected current claims are named and collisions are resolved. False: the command-function rule is contradicted, not amended.
- Claim: knowledge validation exits 0, and Prettier and the whitespace check are clean. Verified by running them at this head.
- File
docs/specs/AST-141-react-native-preview/spec.md: the three blocking findings and the two smaller points above.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on this new draft record, and two record defects need fixing whatever that decision is; the lock-screen rule and the earlier command-function and doctor points are fixed.
Owner decision: no current record states spec:AST-141's FR1–FR12 and DEC-1–DEC-6, and no owner has approved them yet. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do this as an engineering owner.
Blocking findings
- Miss: FR11 (lines 214-217) and DEC-6 mark
astryx rn previewexperimental only in its help and docs, butspec:AST-017FR21 says prose warnings do not set the experimental boundary and FR27 puts experimental CLI controls in a dedicated experimental namespace (theastryx experimentalgroup ofspec:AST-084FR0, whichspec:AST-121FR2 reads to mark MCP tools), so move the group there, for exampleastryx experimental rn preview, or cite an owner-approved FR27 amendment. - On
mainthe record cites ten records that do not exist (spec:AST-123,-125to-130,-132,-135and-139) and claims thatspec:AST-112does not make (lines 199, 214, 239, 246 and 277-279), and the newStack:line is carried by neither #12563 nor #12579 while no listed head contains another, so make the set a stack that holds, so that it lands together.
Two smaller points: the description still says the group writes "inside the app" where the record now says "inside the project" (line 240), and its list of record pull requests misses #12562, which adds spec:AST-124 inside the record's spec:AST-123 to spec:AST-132 range.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: not stacked; merges as one set with the AST-112 amendment and the Stage record. Verified: the three branches are independent, and the record cites records that only those and the module-record pull requests add.
- Claim: a Stack line orders the set. False: the other two pull requests do not carry it, and no listed head contains another.
- Claim: Preview becomes its own record, apart from Astryx Stage. Verified (Intent, Non-goals).
- Claim: the CLI write-confinement rule is kept, with the QR PNG inside it. Verified (line 240); the description's "inside the app" wording is out of date.
- Claim: the group's command function and the shared doctor flags stay with the AST-112 amendment. Verified: this record no longer states them, and the amendment does.
- Claim: the decision bullets (experimental status; the app as host, with confirmation first; namespaces and the per-module policy, with the system photo picker allowed; prelude, host check, bytecode refusal and the key in the link fragment; one policy in every host; the package keeps only the project side). Verified against FR1–FR11 and DEC-1–DEC-6; the experimental status sits outside the CLI's experimental namespace (first blocking finding).
- Claim: four rejected alternatives, one line each, inside DEC-1 to DEC-4. Verified.
- Claim: behaviour only, and Preview defines none of the package's contracts. Verified at this head.
- Claim: the record's citations resolve once the listed module-record pull requests merge. Partly false: the list misses the pull request that adds AST-124.
- Claim: specification only, with no implementation. Verified: one Markdown file.
- Claim: writing rubric R1–R7 results. Verified: no narration, research, change references or status lines.
- Claim: affected current claims are named and collisions are resolved. False: the experimental marking collides with the experimental-namespace rule.
- Claim: knowledge validation exits 0, and Prettier and the whitespace check are clean. Verified by running them at this head.
- File
docs/specs/AST-141-react-native-preview/spec.md: the two blocking findings and the two smaller points above.
…ec/ast-141-react-native-preview
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on this new draft record; the last review's blocking finding is fixed, since FR12 and FR9 now name @astryxdesign/react-native-preview, and no blocking defect remains.
No current record states spec:AST-141's FR1–FR13 and DEC-1–DEC-6, and its Current-state impact extends spec:AST-042 FR1 and FR2, which still require every command to call a function exported from @astryxdesign/cli/api, to the functions @astryxdesign/react-native-preview exports. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request (the author may, as an engineering owner) or names what should change, and settling the extension includes updating spec:AST-042 FR1 and FR2 to match. The record still cites module and reason records that are not on the base yet, so it stays a draft until they land, as the description says.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: the pull request sits on the React Native foundation amendment's branch, merges after the records it cites, and the Stage record stacks on it. Verified: the base branch and the Stage pull request's base.
- Claim: it stays a draft until those records land. Verified: it is a draft.
- Claim: Preview becomes its own record, apart from Stage. Verified: Intent and Non-goals (lines 23–83).
- Claim: the foundation record points to this one for Preview. Verified at the base: its Non-goals name this record.
- Claim: the QR PNG is written inside the project, like the group's other writes. Verified: FR12 (lines 269–271).
- Claim: the commands and the manifest's types ship in
@astryxdesign/react-native-preview, released apart from@astryxdesign/react-nativeand@astryxdesign/cli. Verified: FR9 (lines 205–208) and FR12 (lines 238–241). - Claim: the CLI command-admission record's FR1 and FR2 extend to that package's command functions. Stated in Current-state impact (lines 312–314); that record itself is unchanged, so this is part of the owner decision.
- Claim: the shared doctor flags stay with the foundation amendment. Verified: this record defines no doctor flag.
- Claim: Preview is experimental, under
astryx experimental, marked in help and docs, and any release may change or remove it. Verified: FR12 and DEC-6. - Claim: the app hosts Preview on iOS and Android, opens a project by QR code, link or typed address from a dev server or a hosted bundle, and fetches nothing before the person confirms. Verified: FR1 and FR2 (a typed address counts as the person's choice).
- Claim: each project gets its own runtime and natively decided namespace, refused calls answer
not-allowed, the photo library is refused and the system picker allowed. Verified: FR4 and FR5. - Claim: the host checks requirements, installs only the prelude, refuses bytecode, and keeps an encrypted bundle's key in the link fragment. Verified: FR6–FR8.
- Claim: every host applies the same namespaces and policy. Verified: FR4 and DEC-5.
- Claim: the touch shield takes every touch while picking, and Preview's controls float above the project. Verified: FR10 and FR11.
- Claim:
@astryxdesign/react-nativecarries nothing of Preview; the manifest, its types, the prelude, the codes and the link and bundle shapes are Preview's own and experimental. Verified: FR6, FR9, FR12 and DEC-3. - Claim: four rejected alternatives, one line each, inside DEC-1 to DEC-4. Verified.
- Claim: behaviour only, specification only, no internal context. Verified.
- Claim: the writing rubric finds no narration, research, change evidence, pull request references, ruled questions or gap lines. Verified against the record.
- Claim: knowledge validation, Prettier and the whitespace check pass. Verified: all three rerun at this head exit 0.
- File:
docs/specs/AST-141-react-native-preview/spec.md: no blocking finding; held for the owner decision above; the cited records not yet on the base are a merge condition.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on this new draft record, and one record defect needs fixing whatever that decision is.
Needs fixing:
- FR12's paragraph on the
astryx experimental rnlevel (lines 251–257) defines a command and a rule for every group under that level, which this record's own Non-goals (lines 74–75) leave tospec:AST-112FR13 and which the Stage record (spec:AST-139FR8) restates word for word, so state it once, either inspec:AST-112FR13 or here with that Non-goals line amended and the Stage record citing it.
Also worth fixing wherever the level lands:
- Say where the CLI reads "installed" inside and outside a project, give the level the question it answers under
spec:AST-042FR4's subcommand test instead of citingspec:AST-084FR0 as its admission, and add its states (no contributing package; Stage's and Preview's both installed) to FR12's verification row.
Owner decision: no current record states spec:AST-141's FR1–FR13 and DEC-1–DEC-6, the level included, and its Current-state impact extends spec:AST-042 FR1 and FR2, which still require every command to call a function exported from @astryxdesign/cli/api, to the functions @astryxdesign/react-native-preview exports. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request (the author may, as an engineering owner) or names what should change, and settling the extension includes updating spec:AST-042 FR1 and FR2 to match. The record still cites module and reason records that are not on the base yet, so it stays a draft until they land, as the description says.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: the pull request sits on the React Native foundation amendment's branch, merges after the records it cites, and the Stage record stacks on it. Verified: the base branch is the foundation amendment's branch, and the Stage pull request targets this branch.
- Claim: it stays a draft until those records land. Verified: it is a draft.
- Claim: Preview becomes its own record, apart from Stage. Verified: Intent and Non-goals (lines 23–83); the level paragraph in FR12 also states a rule for Stage's group, which is the blocking finding above.
- Claim: the QR PNG is written inside the project, like the group's other writes. Verified: FR12 (lines 277–279).
- Claim: the commands and the manifest's types ship in
@astryxdesign/react-native-preview, released apart from@astryxdesign/react-nativeand@astryxdesign/cli. Verified: FR9 (lines 205–208) and FR12 (lines 238–241). - Claim: the CLI command-admission record's FR1 and FR2 extend to that package's command functions. Stated in Current-state impact (lines 320–322); that record is unchanged, so this is part of the owner decision.
- Claim: the shared doctor flags stay with the foundation amendment. Verified: this record defines no doctor flag.
- Claim: Preview is experimental, under
astryx experimental, marked in help and docs, and any release may change or remove it. Verified: FR12 and DEC-6. - Claim: the app hosts Preview on iOS and Android, opens a project by QR code, link or typed address from a dev server or a hosted bundle, and fetches nothing before the person confirms. Verified: FR1 and FR2.
- Claim: each project gets its own runtime and natively decided namespace, refused calls answer
not-allowed, the photo library is refused and the system picker allowed. Verified: FR4 and FR5. - Claim: the host checks requirements, installs only the prelude, refuses bytecode, and keeps an encrypted bundle's key in the link fragment. Verified: FR6–FR8.
- Claim: every host applies the same namespaces and policy. Verified: FR4 and DEC-5.
- Claim: the touch shield takes every touch while picking, and Preview's controls float above the project. Verified: FR10 and FR11.
- Claim:
@astryxdesign/react-nativecarries nothing of Preview; the manifest, its types, the prelude, the codes and the link and bundle shapes are Preview's own and experimental. Verified: FR6, FR9, FR12 and DEC-3. - Claim: four rejected alternatives, one line each, inside DEC-1 to DEC-4. Verified.
- Claim: behaviour only, with Stage and each module's contract out of scope. Partly false: the level paragraph in FR12 sets a rule Stage's group follows (the blocking finding).
- Claim: the canonical owner, affected claims and overlapping open work are named, and any ownership collision is resolved or called out. False: the level rule is stated both here and in the Stage record, outside this record's Non-goals, and the description does not call that out (the blocking finding).
- Claim: specification only, no implementation, and no internal context. Verified.
- Claim: the writing rubric finds no narration, research, change evidence, pull request references, ruled questions or gap lines. Verified against the record.
- Claim: knowledge validation, Prettier and the whitespace check pass. Verified: all three rerun on this revision exit 0.
- File:
docs/specs/AST-141-react-native-preview/spec.md: one blocking finding (the level's owner); held for the owner decision above; the cited records not yet on the base are a merge condition.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on this new draft record; the last review's blocking finding is fixed, since FR12 now cites spec:AST-112 FR13 for the astryx experimental rn level (lines 251–253) instead of defining it.
Owner decision: no current record states spec:AST-141's FR1–FR13 and DEC-1–DEC-6, and its Current-state impact (lines 316–318) extends spec:AST-042 FR1 and FR2, which still require every command to call a function exported from @astryxdesign/cli/api, to the functions @astryxdesign/react-native-preview exports. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request (the author may, as an engineering owner) or names what should change, and settling the extension includes updating spec:AST-042 FR1 and FR2 to match.
Non-blocking:
- The record still cites the module and reason records and the
spec:AST-112amendment, none of which is onmainyet, so it stays a draft until they land, as the description says. - FR4 is the only requirement whose bold title wraps onto a second line (lines 116–117); keeping it on one line, like the others, lets requirement indexes pick it up.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: the pull request sits on the React Native foundation amendment's branch, merges after the records it cites, and before the Stage record, which stacks on it. Verified: the base branch is the amendment's branch, and the Stage pull request targets this branch at this revision.
- Claim: it stays a draft until those records land. Verified: it is a draft.
- Claim: Preview becomes its own record, apart from Stage. Verified: Intent and Non-goals (lines 23–83); the level both groups sit under is the foundation amendment's, which FR12 cites (lines 251–253).
- Claim: the group writes only inside the project, the QR PNG included. Verified: FR12 (lines 273–275).
- Claim: the commands and the manifest's types ship in
@astryxdesign/react-native-preview, released apart from@astryxdesign/react-nativeand@astryxdesign/cli. Verified: FR9 (lines 205–208) and FR12 (lines 238–241). - Claim: the CLI command-admission record's FR1 and FR2 extend to that package's command functions. Stated in Current-state impact (lines 316–318); that record is unchanged, so this is part of the owner decision.
- Claim: the shared doctor flags stay with the foundation amendment. Verified: this record defines no doctor flag.
- Claim: Preview is experimental, under
astryx experimental, marked in help and docs, and any release may change or remove it. Verified: FR12 and DEC-6. - Claim: the app hosts Preview on iOS and Android, opens a project by QR code, link or typed address from a dev server or a hosted bundle, and fetches nothing before the person confirms. Verified: FR1 and FR2.
- Claim: each project gets its own runtime and natively decided namespace, refused calls answer
not-allowed, the photo library is refused and the system picker allowed. Verified: FR4 and FR5. - Claim: the host checks requirements, installs only the prelude, refuses bytecode, and keeps an encrypted bundle's key in the link fragment. Verified: FR6–FR8.
- Claim: every host applies the same namespaces and policy. Verified: FR4 and DEC-5.
- Claim: the touch shield takes every touch while picking, and Preview's controls float above the project with other touches passing through. Verified: FR10 and FR11.
- Claim:
@astryxdesign/react-nativecarries nothing of Preview; the manifest, its types, the prelude, the codes and the link and bundle shapes are Preview's own and experimental. Verified: FR6, FR9, FR12 and DEC-3. - Claim: four rejected alternatives, one line each, inside DEC-1 to DEC-4. Verified.
- Claim: behaviour only, with Stage and each module's contract out of scope. Verified: Non-goals (lines 64–83).
- Claim: the canonical owner, affected claims and overlapping open work are named, and any ownership collision is resolved. Verified: the level is stated once, in the foundation amendment, and this record and the Stage record both cite it.
- Claim: specification only, no implementation, and no internal context. Verified.
- Claim: the writing rubric finds no narration, research, change evidence, pull request references, ruled questions or gap lines. Verified against the record.
- Claim: knowledge validation, Prettier and the whitespace check pass. Verified: all three rerun on this revision exit 0.
- File:
docs/specs/AST-141-react-native-preview/spec.md: no blocking defect; held for the owner decision above; the cited records not yet on the base are a merge condition.
…rection and reason; no non-goals
…ec/ast-141-react-native-preview
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on this new draft record, and FR12 needs two fixes against the CLI surface record.
Owner decision: no current record states spec:AST-141's FR1–FR13 and DEC-1–DEC-6, and its Current-state impact (lines 315–318) extends spec:AST-042 FR1 and FR2, which still require every command to call a function exported from @astryxdesign/cli/api. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request (the author may, as an engineering owner) or names what should change, and settling the extension includes updating spec:AST-042 FR1 and FR2 to match.
Blocking:
- Miss: FR12 (lines 279–282) lets any release change or remove its four new codes and puts them "outside the stable code list", but
architecture:cli-surfaceINV3 keeps every shipped code append-only with no experimental exception, so keep the codes under INV3 as the React Native foundation amendment does for its own codes, or name an INV3 amendment in Current-state impact. - FR12 now owns the
astryx experimental rnlevel, whose groups other packages add (lines 234–237), whicharchitecture:cli-surfaceINV6 (a command is a file under the CLI'sclients/cli/commands/) does not allow, so name that INV6 change in Current-state impact withspec:AST-112OQ5 as the loading mechanism, as the Stage record already does for this level, and listarchitecture:cli-surfaceinaffects_architecture.
Non-blocking:
- Non-goals now reads "None." (line 67); one line naming Stage and the app's documentation and showcase as left to other records keeps the boundary the description states.
preview --startbeside--dev-server-urlor--link-onlyhas no stated result, whichspec:AST-042FR5 asks for (line 257).- The record cites module and reason records that are not on
mainyet, so it stays a draft until they land, as the description says.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: the pull request sits on the React Native foundation amendment's branch, merges after the records it cites, and before the Stage record, which stacks on it. Verified: the base branch is the amendment's branch, the cited records' pull requests are open drafts, and the Stage pull request targets this branch and contains this revision.
- Claim: it stays a draft until those records land. Verified: it is a draft.
- Claim: Preview becomes its own record, apart from Stage, covering the commands, the host's steps, namespaces, the per-module policy, the prelude, the host check, encrypted bundles and the touch shield. Verified: FR1–FR12.
- Claim: the group writes only inside the project, the QR PNG included. Verified: FR12 (lines 273–275).
- Claim: the commands and the manifest's types ship in
@astryxdesign/react-native-preview, released apart from@astryxdesign/react-nativeand@astryxdesign/cli. Verified: FR9 (lines 188–191) and FR12 (lines 221–224). - Claim: the CLI command-admission record's FR1 and FR2 extend to that package's command functions. Stated in Current-state impact (lines 315–318); that record is unchanged, so this is part of the owner decision.
- Claim: the shared doctor flags stay with the foundation amendment. Verified: this record defines no doctor flag.
- Claim: Preview is experimental, under
astryx experimental, marked in help and docs, any release may change or remove it, and nothing in Astryx React Native depends on it. Verified: Intent, FR12 and DEC-6. - Claim: the app hosts Preview on iOS and Android, opens a project by QR code, link or typed address from a dev server or a hosted bundle, and fetches nothing before the person confirms. Verified: FR1 and FR2.
- Claim: each project gets its own runtime and natively decided namespace, refused calls answer
not-allowed, the photo library is refused and the system picker allowed, with picks copied into the project's cache. Verified: FR4 and FR5. - Claim: the host checks requirements, installs only the prelude, refuses bytecode, and keeps an encrypted bundle's key in the link fragment. Verified: FR6–FR8.
- Claim: every host applies the same namespaces and policy. Verified: FR4 (lines 124–125) and DEC-5.
- Claim: this record owns the
astryx experimental rnlevel: no package owns it, each installed package adds its group, the bare level lists them, and with none installed it is an unknown command. Verified: FR12 (lines 234–246); the CLI change it implies is not named (blocking finding). - Claim: the touch shield takes every touch while picking, and Preview's controls float above the project with other touches passing through. Verified: FR10 and FR11.
- Claim:
@astryxdesign/react-nativecarries nothing of Preview; the manifest, its types and the prelude (securecrypto, afetchhonouringredirect: 'error'and'manual') are Preview's own and experimental, as are its outcome codes and its link and bundle shapes. Verified as the record states it (FR6, FR9, FR12, DEC-3); the experimental codes conflict with the CLI surface record's INV3 (blocking finding). - Claim: each decision states direction and reason, and the rejected alternatives stay in the description. Verified: the record has no rejected-alternative lines.
- Claim: behaviour only, with the app's implementation, its documentation and showcase, Stage and each module's contract out of the record. Verified: no requirement covers them; the record's Non-goals now says None (non-blocking).
- Claim: specification only, no implementation. Verified: one record file.
- Claim: the writing rubric finds no narration, research, change evidence, pull request references, ruled questions or status lines. Verified against the record; knowledge validation flags no status phrase in it.
- Claim: the canonical owner, the affected current claims and overlapping open work are named. False: the CLI surface record's INV3 and INV6 are affected and not named (both blocking findings).
- Claim: public text carries no internal context. Verified.
- Claim: knowledge validation, Prettier and the whitespace check pass. Verified: all three rerun on this revision exit 0.
- File:
docs/specs/AST-141-react-native-preview/spec.md: two blocking findings in FR12; held for the owner decision above; the non-blocking notes above.
| - `spec:AST-042` FR1 and FR2 extend to the functions that | ||
| `@astryxdesign/react-native-preview` exports for the | ||
| `astryx experimental rn preview` commands (FR12), and FR4's admission covers | ||
| the `experimental rn` level (FR12). |
There was a problem hiding this comment.
spec:AST-042 FR1 and FR2 on main still name only @astryxdesign/cli/api, so this line changes a current record on purpose. An engineering owner decides it with the rest of this record, and spec:AST-042 FR1 and FR2 then get the matching update, or this line goes.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on this new draft record, and three record fixes stand whatever that decision is.
Owner decision: no current record states spec:AST-141's FR1–FR13 and DEC-1–DEC-6, and its Current-state impact (lines 323–326) extends spec:AST-042 FR1 and FR2, which still require every command to call a function exported from @astryxdesign/cli/api. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request (the author may, as an engineering owner) or names what should change, and settling the extension includes updating spec:AST-042 FR1 and FR2 to match.
Blocking:
- Miss: FR12 (lines 287–290) lets any release change or remove its four new codes and puts them "outside the stable code list", but
architecture:cli-surfaceINV3 keeps every shipped code append-only with no experimental exception, so keep the codes under INV3 or name an INV3 amendment in Current-state impact (first raised in the last review, unchanged since). - FR4 (lines 121–125) adds
not-allowedto every capability's closed reason set and says "Preview's types (FR9)" declare it, but FR9 names only the manifest's types, which a project's code never imports, and nothing tells a project's code how to treat a reason outside its set, so say how a project meetsnot-allowed(outside the package's typed unions and handled as an unknown failure), name the declaring type in FR9, and align the Intent's "never defines them". - FR12 owns the
astryx experimental rnlevel, whose groups other packages add (lines 242–249), whicharchitecture:cli-surfaceINV6 (a command is a file under the CLI'sclients/cli/commands/) does not allow, so name that INV6 change in Current-state impact withspec:AST-112OQ5 as the loading mechanism, as the Stage record does for this level, and listarchitecture:cli-surfaceinaffects_architecture.
Non-blocking:
preview --startbeside--dev-server-urlor--link-onlyhas no stated result, whichspec:AST-042FR5 asks for (line 265).- Non-goals now hold the template's standing lines but not its first, so Stage and the app's documentation and showcase are still named nowhere as left to other records (line 67).
- The record cites module records that are not on
mainyet, so it stays a draft until they land, as the description says.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: the pull request sits on the React Native foundation amendment's branch, merges after the records it cites, and before the Stage record, which stacks on it. Verified: the base branch is the amendment's branch, the eleven listed pull requests hold exactly the module records the record cites and are open drafts, and the Stage pull request targets this branch.
- Claim: it stays a draft until those records land. Verified: it is a draft.
- Claim: Preview becomes its own record, apart from Stage, covering the commands, the host's steps, namespaces, the per-module policy, the prelude, the host check, encrypted bundles and the touch shield. Verified: FR1–FR12.
- Claim: the group writes only inside the project, the QR PNG included. Verified: FR12 (lines 281–283).
- Claim: the commands and the manifest's types ship in
@astryxdesign/react-native-preview, released apart from@astryxdesign/react-nativeand@astryxdesign/cli. Verified: FR9 (lines 196–199) and FR12 (lines 228–232). - Claim: the CLI command-admission record's FR1 and FR2 extend to that package's command functions. Stated in Current-state impact (lines 323–326); that record is unchanged, so this is part of the owner decision.
- Claim: the shared doctor flags stay with the foundation amendment. Verified: this record defines no doctor flag.
- Claim: Preview is experimental, under
astryx experimental, marked in help and docs, any release may change or remove it, and nothing in Astryx React Native depends on it. Verified: Intent, FR12 and DEC-6. - Claim: the app hosts Preview on iOS and Android, opens a project by QR code, link or typed address from a dev server or a hosted bundle, and fetches nothing before the person confirms. Verified: FR1 and FR2.
- Claim: each project gets its own runtime and natively decided namespace, refused calls answer
not-allowed, the photo library is refused and the system picker allowed, with picks copied into the project's cache. Verified: FR4 and FR5; how a project's code meetsnot-allowedis not stated (blocking finding). - Claim: the host checks requirements, installs only the prelude, refuses bytecode, and keeps an encrypted bundle's key in the link fragment. Verified: FR6–FR8.
- Claim: every host applies the same namespaces and policy. Verified: FR4 (lines 132–133) and DEC-5.
- Claim: this record owns the
astryx experimental rnlevel: no package owns it, each installed package adds its group, the bare level lists them, and with none installed it is an unknown command. Verified: FR12 (lines 242–254); the CLI change it implies is not named (blocking finding). - Claim: the touch shield takes every touch while picking, and Preview's controls float above the project with other touches passing through. Verified: FR10 and FR11.
- Claim:
@astryxdesign/react-nativecarries nothing of Preview; the manifest, its types and the prelude (securecrypto, afetchhonouringredirect: 'error'and'manual') are Preview's own and experimental, as are its outcome codes and its link and bundle shapes. Verified as the record states it (FR6, FR9, FR12, DEC-3); the experimental codes conflict with the CLI surface record's INV3 (blocking finding). - Claim: each decision states direction and reason, and the rejected alternatives stay in the description. Verified: the record has no rejected-alternative lines.
- Claim: behaviour only, with the app's implementation, its documentation and showcase, Stage and each module's contract out of the record. Verified: no requirement covers them; the Non-goals do not name them (non-blocking).
- Claim: specification only, no implementation. Verified: one record file.
- Claim: the writing rubric finds no narration, research, change evidence, pull request references, ruled questions or status lines, and the Non-goals keep only the template's two standing lines. Verified against the record (lines 67–73); knowledge validation flags no status phrase in it.
- Claim: the canonical owner, the affected current claims and overlapping open work are named. False: the CLI surface record's INV3 and INV6 are affected and not named (blocking findings).
- Claim: public text carries no internal context. Verified.
- Claim: knowledge validation, Prettier and the whitespace check pass. Verified: all three rerun on this revision exit 0.
- File:
docs/specs/AST-141-react-native-preview/spec.md: three blocking findings (FR12 twice, FR4); held for the owner decision above; the non-blocking notes above.
|
|
||
| ## Non-goals | ||
|
|
||
| - Equivalent internal implementations remain valid when they satisfy this contract. |
There was a problem hiding this comment.
Non-blocking: the template's first Non-goals line, the adjacent behaviour this record does not settle, is dropped, so Stage (spec:AST-139), which shares the app and the astryx experimental rn level, and the app's documentation and showcase (lines 32–33) are named nowhere as left to other records. One line here restores the boundary the description states.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on this new draft record and its amendments to three current claims, and two record fixes stand whatever that decision is.
Owner decision: no current record states spec:AST-141's FR1–FR13 and DEC-1–DEC-6, and its Current-state impact (lines 328–342) changes current claims on purpose: spec:AST-042 FR1 and FR2 (every command calls a function exported from @astryxdesign/cli/api), and architecture:cli-surface INV6 (a command is a file in the CLI) and INV3 (a shipped code never changes or goes). An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request (the author may, as an engineering owner) or names what should change; approving includes updating those records to match.
Blocking:
- FR4's sentence at line 120 stops at "gives th" and runs the next bullet into it, so the record no longer requires a project to give the lock-screen controls back at teardown (DEC-2 still promises it) and the
not-allowedrule loses its own bullet: end the line with "gives them back at its teardown." and start "- A call that the host's policy refuses…" on its own line. - The Non-goals line at 67 cites
spec:AST-139, which this pull request merges before, so the citation resolves to nothing until Stage lands, and the description's merge condition and its R4 rubric line ("the Non-goals keep only the template's two standing lines") no longer match the record: name Stage without the id or land Stage first, and correct the description.
Non-blocking:
- FR12 (lines 292–295) lets any release change or remove the four codes, while the INV3 exception (lines 336–339) holds only while the package is on the canary channel, which no clause puts it on: state one condition in both places.
- The Non-goals still do not name the app's documentation and showcase as left to other records (line 67).
- The record stays a draft until the module records it cites land, as the description says.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: the pull request sits on the React Native foundation amendment's branch, merges only after the records it cites land, and before the Stage record, which stacks on it. False: the base is that branch and the Stage pull request targets this one, but the record now cites the Stage record (line 67), which merges after it (blocking finding).
- Claim: it stays a draft until those records land. Verified: it is a draft.
- Claim: Preview becomes its own record, apart from Stage, covering the commands, the host's steps, namespaces, the per-module policy, the prelude, the host check, encrypted bundles and the touch shield. Verified: FR1–FR12.
- Claim: the group writes only inside the project, the QR PNG included. Verified: FR12 (lines 286–288).
- Claim: the commands and the manifest's types ship in
@astryxdesign/react-native-preview, released apart from@astryxdesign/react-nativeand@astryxdesign/cli. Verified: FR9 (lines 198–202) and FR12 (lines 232–235). - Claim: the CLI command-admission record's FR1 and FR2 extend to that package's command functions. Stated in Current-state impact (lines 328–331); that record is unchanged, so this is part of the owner decision.
- Claim: the shared doctor flags stay with the foundation amendment. Verified: this record defines no doctor flag.
- Claim: Preview is experimental, under
astryx experimental, marked in help and docs, any release may change or remove it, and nothing in Astryx React Native depends on it. Verified: Intent, FR12 and DEC-6. - Claim: the app hosts Preview on iOS and Android, opens a project by QR code, link or typed address from a dev server or a hosted bundle, and fetches nothing before the person confirms. Verified: FR1 and FR2.
- Claim: each project gets its own runtime and natively decided namespace, refused calls answer
not-allowed, the photo library is refused and the system picker allowed, with picks copied into the project's cache. Verified: FR4 and FR5; FR4's bullet at line 120 is broken (blocking finding). - Claim: the host checks requirements, installs only the prelude, refuses bytecode, and keeps an encrypted bundle's key in the link fragment. Verified: FR6–FR8.
- Claim: every host applies the same namespaces and policy. Verified: FR4's last bullet and DEC-5.
- Claim: this record owns the
astryx experimental rnlevel: no package owns it, each installed package adds its group, the bare level lists them, and with none installed it is an unknown command. Verified: FR12 (lines 245–259). - Claim: the touch shield takes every touch while picking, and Preview's controls float above the project with other touches passing through. Verified: FR10 and FR11.
- Claim:
@astryxdesign/react-nativecarries nothing of Preview; the manifest, its types and the prelude (securecrypto, afetchhonouringredirect: 'error'and'manual') are Preview's own and experimental, as are its outcome codes and its link and bundle shapes. Verified: FR6, FR9, FR12 and DEC-3; the codes' exception to the CLI surface record is named in Current-state impact, with a condition that differs from FR12 (non-blocking). - Claim: each decision states direction and reason, and the rejected alternatives stay in the description. Verified: the record has no rejected-alternative lines.
- Claim: behaviour only, with the app's implementation, its documentation and showcase, Stage and each module's contract out of the record. Verified: no requirement covers them; the Non-goals name Stage only (non-blocking).
- Claim: specification only, no implementation. Verified: one record file.
- Claim: the writing rubric finds no narration, research, change evidence, pull request references, ruled questions or status lines, and the Non-goals keep only the template's two standing lines. False for the last part: the Non-goals now hold a third line, for Stage (blocking finding); the rest verified, and knowledge validation flags no status phrase in the record.
- Claim: the canonical owner, the affected current claims and overlapping open work are named. Verified: Current-state impact names the command-admission record's FR1 and FR2 and the CLI surface record's INV3 and INV6.
- Claim: public text carries no internal context. Verified.
- Claim: knowledge validation, Prettier and the whitespace check pass. Verified: all three rerun on this revision exit 0.
- File:
docs/specs/AST-141-react-native-preview/spec.md: two blocking findings (line 120, line 67); held for the owner decision above; the non-blocking notes above.
…thout id; one code condition
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on this new draft record and its amendments to three current records; the last review's two blocking findings are fixed, and nothing else blocks.
Owner decision: no current record states spec:AST-141's FR1–FR13 and DEC-1–DEC-6, and its Current-state impact (lines 331–344) changes current claims on purpose: spec:AST-042 FR1 and FR2 (every command calls a function exported from @astryxdesign/cli/api), and architecture:cli-surface INV6 (a command is a file in the CLI) and INV3 (a shipped code never changes or goes). An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request (the author may, as an engineering owner) or names what should change; approving includes updating those three records to match.
Non-blocking:
- The Non-goals (line 67) name Stage but not the Astryx app's documentation and showcase, which Intent puts beside Preview (lines 32–33); one line would restore the boundary the description states.
preview sharerefuses "a file that its deny rules match" (lines 283–284), but no clause says which files those rules match, so the verification state "a share with a denied file" has no defined input; name the files, or the record that owns the rules.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: the pull request sits on the React Native foundation amendment's branch, merges only after the module records it cites land, and lands before the Stage record, which stacks on it. Verified: the base is that branch, the Stage pull request targets this one, and the record no longer cites the Stage record by id (line 67).
- Claim: it stays a draft until those records land. Verified: it is a draft, and the module records the policy table cites exist on neither the default branch nor the base.
- Claim: Preview becomes its own record, apart from Stage, covering the commands, what a person does in the host, namespaces, the per-module policy, the prelude, the host check, encrypted bundles and the touch shield. Verified: FR1–FR12.
- Claim: the group writes only inside the project, the QR PNG included. Verified: FR12 (lines 288–290).
- Claim: the commands and the manifest's types ship in
@astryxdesign/react-native-preview, released apart from@astryxdesign/react-nativeand@astryxdesign/cli. Verified: FR9 (lines 200–204) and FR12 (lines 233–237). - Claim: the CLI command-admission record's FR1 and FR2 extend to that package's command functions. Stated in Current-state impact (lines 331–334); that record is unchanged, so this is part of the owner decision.
- Claim: the shared doctor flags stay with the foundation amendment. Verified: this record defines no doctor flag.
- Claim: Preview is experimental, sits under
astryx experimental, says so in help and docs, may change or go in any release, and nothing in Astryx React Native depends on it. Verified: Intent, FR12 and DEC-6. - Claim: the app hosts Preview on iOS and Android, opens a project by QR code, link or typed address from a dev server or a hosted bundle, and fetches nothing before the person confirms. Verified: FR1 and FR2.
- Claim: each project gets its own runtime and natively decided namespace, refused calls answer
not-allowed, the photo library is refused and the system picker allowed, with picks copied into the project's cache. Verified: FR4 (lines 107–137) and FR5. - Claim: the host checks requirements, installs only the prelude, refuses bytecode, and keeps an encrypted bundle's key in the link fragment. Verified: FR6–FR8.
- Claim: every host applies the same namespaces and policy. Verified: FR4's last bullet and DEC-5.
- Claim: this record owns the
astryx experimental rnlevel: no package owns it, each installed package adds its group, the bare level lists them, and with none installed it is an unknown command. Verified: FR12 (lines 247–261). - Claim: the touch shield takes every touch while picking, and Preview's controls float above the project while other touches pass through. Verified: FR10 and FR11.
- Claim:
@astryxdesign/react-nativecarries nothing of Preview, and the manifest, its types and the prelude (securecrypto, afetchthat honoursredirect: 'error'and'manual') are Preview's own and experimental, as are its outcome codes and link and bundle shapes. Verified: FR6, FR9, FR12 and DEC-3; the codes' exception to the CLI surface record has one condition in both places (lines 294–298 and 339–341). - Claim: each decision states direction and reason, and the rejected alternatives stay in the description. Verified: the record has no rejected-alternative lines.
- Claim: behaviour only, with the app's implementation, its documentation and showcase, Stage and each module's contract left out of the record. Verified: no requirement covers them; the Non-goals name Stage but not documentation and showcase (non-blocking).
- Claim: specification only, no implementation. Verified: one record file.
- Claim: the writing rubric finds no narration, research, change evidence, pull request references, ruled questions or status lines, and the Non-goals hold the template's two standing lines plus one pointer to the Stage record without its id. Verified (lines 65–74); knowledge validation flags no status phrase in the record.
- Claim: the canonical owner, the affected current claims and overlapping open work are named. Verified in the record: Current-state impact names the command-admission record's FR1, FR2 and FR4 and the CLI surface record's INV3 and INV6; the description itself names only the FR1 and FR2 extension.
- Claim: public text carries no internal context. Verified.
- Claim: knowledge validation, Prettier and the whitespace check pass. Verified: all three exit 0 when rerun at this revision.
- File:
docs/specs/AST-141-react-native-preview/spec.md: held for the owner decision above; no blocking finding; two non-blocking notes (lines 67 and 283–284).
| PNG file (`--qr-png`). | ||
| - `preview share` takes each carrier's terms with `--accept-carrier <name>`, | ||
| once per carrier it may use, on every run. Nothing is stored. It refuses | ||
| a file that its deny rules match. |
There was a problem hiding this comment.
Non-blocking, missed in earlier reviews: no clause or cited record says which files these deny rules match. The FR12 verification state "a share with a denied file" (line 363) and ERR_PREVIEW_SHARE_DENIED (line 304) therefore have no defined input, and two builds of preview share could send different project files through a carrier. Name the files the rules refuse (for example by pattern), or the record that owns them.
|
Closing: Preview in the Astryx app is a separate tool outside Astryx, and its behaviour record lives with the app. Astryx specs, releases and docs do not require it. The branch is kept. |
Stacked on #12563; merges only after the records it cites land: #12557, #12562, #12554, #12556, #12555, #12558, #12552, #12553, #12551, #12565, #12572, and before #12579.
spec:AST-139(#12579) stacks on this branch. Until the cited records land, this pull request stays a draft.Exact decision needed
Preview in the Astryx app becomes its own system record,
spec:AST-141, apart from Astryx Stage (spec:AST-139): theastryx experimental rn preview …commands, what a person does in the host, project namespaces, the Preview policy per module, the prelude, the host check, encrypted hosted bundles, and the inspector's touch shield.Existing authority searched
spec:AST-112(neutral foundation: entries, command rules, evidence),spec:AST-139(Stage, which held these Preview parts), the platform group recordsspec:AST-123tospec:AST-132andspec:AST-135(each module's own contract),architecture:cli-surfaceINV10 and DEC-16,spec:AST-114FR5. Open record pull requests for AST-112 and AST-123 to AST-140 were read; none owns Preview on its own: the draft Stage record held both products, so the Preview parts move here andspec:AST-139keeps Stage. Current claims kept as they are:architecture:cli-surfaceINV10 (the group writes only inside the project,--qr-pngincluded) The Preview commands and the manifest's types ship in@astryxdesign/react-native-preview, an experimental package released apart from@astryxdesign/react-nativeand@astryxdesign/cli, andspec:AST-042FR1 and FR2 extend to its command functions; the shareddoctorflags stay with thespec:AST-112amendment.Decision
spec:AST-017/FR21): theastryx experimental rn previewcommands sit in the CLI's experimental namespace (spec:AST-017/FR27) and say so in their help and documentation, any release may change or remove them, and nothing in Astryx React Native depends on Preview.not-allowed. The per-module policy keeps the photo library from projects and allows the system photo picker, whose picks are copied into the project's cache.astryx experimental rnlevel: no package owns it, each installed package adds its own group, bareastryx experimental rnlists them, and with none installed it answers as an unknown command.@astryxdesign/react-nativecarries nothing of Preview and depends on no host: the Preview manifest, its types, and the prelude (securecryptoand afetchthat honorsredirect: 'error'and'manual') are Preview's own and experimental, as are its outcome codes and its link and bundle shapes.Rejected alternatives
The record states each decision as direction and reason; the PR keeps these for context: running a project as soon as its code is scanned, a namespace argument from JavaScript, a
previewcapability that apps opt into, and Preview rules inside the package's records.Claim scope and non-goals
Behaviour only: how the Astryx app is implemented, built, and packaged stays out of the record, as do the Astryx app's documentation and showcase, Astryx Stage, and each module's own contract. Preview conforms to Astryx React Native's contracts and defines none.
Evidence and implementation relationship
Specification only; no implementation in this pull request.
Writing rubric results
Scope
Components: React Native Preview (Astryx app host),
astryx experimental rn previewcommandsValidation
pnpm check:knowledge: exit 0, templates and records aligned, no warning naming this recordgit diff --check: clean