Repository navigation
spec(AST-132): React Native platform: Media and camera - #12565
imdreamrunner wants to merge 22 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
…eds native code (DEC-5)
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new draft record spec:AST-132: its FR1 to FR15 and DEC-1 to DEC-5 are requirements that no current record states. 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. Whatever the decision, these need fixing:
- FR8 and FR9 use
AstryxPlatformInfoandAstryxPermissionsfrom the openspec:AST-130(#12553), which also changes what thecameracapability contains beside FR1 here, so cite AST-130 for those modules, let one record own thecameracontents, and correct the description's "none overlaps" line. - FR15 and Current-state impact describe a revision-1 baseline, named features and a Stage version floor that
spec:AST-112does not state onmain, so name the AST-112 change that adds them (#12571) and cite it instead of restating the rule. - The "What the ecosystem already does well" column in "Why this exists" surveys third-party libraries, which the knowledge-contracts rules (INV10) keep in an artifact linked from the pull request, so move it out, keep each conclusion inside its decision, and correct the R2 result.
- FR12 and FR14 specify VideoView's presentation and accessibility semantics while the Non-goals leave VideoView's contract to its own record, so drop those clauses or narrow the Non-goal.
Two smaller points: name FR9 in the CameraView label gap line, and fix the R6 sentence, because OQ4 does list two options.
Claims and files checked
Review mode: full; reason: no-earlier-review
- The
spec:AST-112clauses the description cites (FR1, FR3, FR6, FR7, FR8, FR11, FR12, FR15) say what it says they say: verified, butspec:AST-112is itself draft. spec:AST-082FR3 covers component contracts andspec:AST-093FR5 covers native testing: verified.- No other record on
mainowns these contracts: verified; no record names these modules, views or hooks. - A search of open pull requests found no overlap: false; #12553 (
spec:AST-130) defines two modules this record uses and changes thecameracapability. - The record details
spec:AST-112and changes none of it: false for FR15, whose rulesspec:AST-112does not state onmain. - Five gaps are recorded: verified (FR5, FR6, FR7, FR10, FR14).
- Rubric R1, R3, R4, R5 and R7 results: verified.
- Rubric R2 "no survey": false ("Why this exists").
- Rubric R6 "none": the result holds, but the sentence that OQ4 lists no options is wrong.
- Scope checklist: records only and no internal context are verified; overlapping open work named is false.
- Validation: a clean whitespace check is verified; the knowledge check and formatter results could not be verified.
docs/specs/AST-132-react-native-media-camera/spec.md: four required fixes and two smaller points, above.
…per piece, VideoView left to its record
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new draft record spec:AST-132: its FR1 to FR15 and DEC-1 to DEC-5 are requirements that no current record states. 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 earlier review points are all fixed; whatever the decision, these two still need fixing:
- Regression: FR12, FR14, "Who uses it" and the first Non-goal call
MediaScrubberandPlaybackRateMenulibrary components, while the openspec:AST-138(#12580) makes them template-kit parts that the package does not export, so settle which is intended, word this record to match, and name #12580 in the description's overlap search. - Regression: DEC-5 restates the rule that the amended
spec:AST-112(#12563) now holds as DEC-16, so citespec:AST-112/DEC-16and keep in DEC-5 only how it applies toAstryxCameraViewand the scope-note pieces.
Two smaller points: FR1's camera contents leave out the ./camera export of AstryxBarcode and name no record that specifies camera capture, and FR3's supports('background') conflicts with FR15's "no named features" under the amended spec:AST-112 FR7.
Claims and files checked
Review mode: full; reason: spec-record
- Depends on the foundation amendment (#12563: revision-1 baseline, named features, Stage version floor, default linking) and the system-modules record (#12553), after the promotion in #12576: verified.
- The foundation record's FR1 and FR3 (opt-in), FR6 (results), FR7 (capability shape; mounting a view never prompts), FR8, FR11, FR12 and FR15 say what the description cites: verified on
main, where that record is a draft. - Native-first surfaces FR3 and the native component guidelines' FR5 cover component contracts and testing: verified; both are current.
- The system-modules draft's FR8, FR9 and FR13 cover platform info and its feature rows, permissions, and camera capture in the
cameracapability: verified. - The amended foundation record's FR8, FR12 and FR7 table state the baseline, the Stage floor and this record's ownership of
mediaandcamera: verified. - No other record owns these contracts: verified; no record on
mainnames these modules, views or hooks. - The open-pull-request search found only the foundation and system-modules drafts overlapping: false; the component-set draft (#12580) makes
MediaScrubberandPlaybackRateMenutemplate-kit parts. - The foundation record names the capabilities and leaves their methods to their own documentation: verified; it specifies no method.
- The decision bullets, the "Who uses it" table, the rejected alternatives and the claim scope match the record: verified; DEC-5's rule repeats the amended foundation record's DEC-16.
- Five gaps are recorded: verified (FR5, FR6, FR7, FR10, and FR9 with FR14).
- Rubric results R1 to R7: verified.
- Scope checklist: records only and no internal context are verified; overlapping open work named, with every collision resolved or called out, is false (#12580).
- Validation: the knowledge check and the formatter check pass on the head, and the whitespace check is clean: verified.
docs/specs/AST-132-react-native-media-camera/spec.md: two required fixes and two smaller points, above; the five earlier inline points are fixed.
…2 DEC-16; camera entry exports
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new draft record spec:AST-132: its FR1 to FR15 and DEC-1 to DEC-5 are requirements that no current record states. 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 two required fixes from the earlier review are fixed, and nothing else blocks approval.
Three smaller points, none blocking:
- The open
spec:AST-137(#12570) andspec:AST-135(#12572) still cite DEC-5 for the general "native code an app would get from a library ships in the package" rule, which DEC-5 now only applies; point them atspec:AST-112/DEC-16. - Current-state impact still lists
supportsamong thespec:AST-112/FR7parts this record details, though the group now uses theisBackgroundAvailable()probe and has no named features. - FR1 says the file picker's camera source belongs to
camera, but the./cameraexport list names nothing for it; name its export, or say the picker has no camera source andtakePhotois the capture.
Claims and files checked
Review mode: full; reason: spec-record
- Depends on the foundation amendment (#12563: revision-1 baseline, named features, Stage version floor, default linking), the system-modules record (#12553), the capture record (#12575) and the component-set record (#12580), after the promotion in #12576: verified.
- The foundation record's FR1 and FR3 (opt-in), FR6 (results), FR7 (capability shape; mounting a view never prompts), FR8, FR11, FR12 and FR15 say what the description cites: verified on
main, where that record is a draft. - Native-first surfaces FR3 and the native component guidelines' FR5 cover component contracts and testing: verified; both are current.
- The system-modules draft's FR8, FR9 and FR13 cover platform info and its feature rows, permissions, and camera capture in the
cameracapability: verified. - The amended foundation record's FR8, FR12 and FR7 table state the baseline, the Stage floor and this record's ownership of
mediaandcamera: verified. - No other record owns these contracts: verified; no record on
mainnames these modules, views or hooks. - The open-pull-request search names the overlapping system-modules, foundation, capture and component-set drafts, and this record defers to each: verified; it now follows the component-set draft's FR7 for the two media controls.
- The foundation record names the capabilities and leaves their methods to their own documentation: verified; it specifies no method.
- The decision bullets, the "Who uses it" table, the rejected alternatives and the claim scope match the record: verified.
- Five gaps are recorded: verified (FR5, FR6, FR7, FR10, and FR9 with FR14).
- Rubric results R1 to R7: verified.
- Scope checklist: records only, overlapping work named and no internal context: verified.
- Validation: the knowledge check and the formatter check pass on the head, and the whitespace check is clean: verified.
docs/specs/AST-132-react-native-media-camera/spec.md: three non-blocking points, above; the earlier review's required fixes and smaller points are fixed.
…line; core placement; picker camera source
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new draft record spec:AST-132 (FR1 to FR3, FR5 to FR15, DEC-1 and DEC-3 to DEC-5), including whether AstryxCameraView stays in the core package for a camera create template that no record names yet. An engineering owner records it by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. Three record fixes are needed either way:
- Regression: FR1 and Current-state impact cite
spec:AST-130/FR13for the file picker's camera source, but that record now numbers the picker FR12 and FR13 isAstryxStorage, so citespec:AST-130/FR12in both places. - Regression: the first Non-goal cites
spec:AST-138/FR7, whose pull request was closed in favour of per-component records, and the description still lists #12580 and #12576 as dependencies, so drop the citation and update those lines. - DEC-5 and the scope note restate the package rule of
spec:AST-112FR20 and DEC-16 without linking it, so open DEC-5 withspec:AST-112/DEC-16and keep only how it applies to these three pieces.
Smaller points: FR13's busy has no trigger left in this record, and the last sentence of Intent still places other media and camera modules in the platform package.
Claims and files checked
Review mode: full; reason: spec-record
- File
docs/specs/AST-132-react-native-media-camera/spec.md: three required fixes and two notes above. - Claim: depends on the foundation amendment, the platform-code record, the system-modules record and the component-set record: false in part, the component-set pull request is closed.
- Claim: merge order starts with the foundation promotion: false, that pull request is closed.
- Claim: no current record owns the media or camera contracts: verified on
main. - Claim: requirements FR1 to FR15 with FR4 unused, and DEC-1, DEC-3, DEC-4 and DEC-5: verified.
- Claims: opt-in capabilities reached through the loader; one player model drawn by id; playback follows the system; levels with no size limit; picture in picture on both platforms; a camera view that never prompts with a simulated fallback; results that never throw: verified against FR1, DEC-1, FR5 to FR11 and FR13.
- Claim: the core package ships the native code components and create templates use: matches DEC-5, which restates the foundation rule without linking it.
- Claim: every contract at revision 1 citing the foundation's FR8: partly false, FR15 cites the platform-code record's FR5.
- Claim: the system-modules record's FR13 covers camera capture: false at that record's current head, where it is FR12.
- Claims: no third-party native dependency; two recorded gaps; no pull request references or project status in the record: verified.
- Claim: every Stage and Preview requirement is out of the record: partly false, FR13 keeps the Preview-only
busy. - Claims: the knowledge check, the formatter check and the whitespace check pass: verified by running them.
…C-16; drop AST-138 citation
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new draft record spec:AST-132 (FR1 to FR3, FR5 to FR15, DEC-1 and DEC-3 to DEC-5), including whether AstryxCameraView stays in the core package for a camera create template that no record names yet. An engineering owner records it by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. The five points from the last review are fixed, and three record fixes are needed either way:
- Regression: FR9 has
takePhotoresolveunmountedwhen its view goes away, butspec:AST-140/FR3, which FR13 cites, now resolves a call whose caller goes away (an unmounted view) ascancelled, so usecancelledor state the departure in Current-state impact. - Miss: FR6 and DEC-3 send a recording's bytes across the native boundary in slices that are never written to a file, while
spec:AST-140/FR4says bytes cross as afile:URI and only a short, fixed-size value as base64, so name that exception in Current-state impact for the owner to decide with DEC-3, or amendspec:AST-140/FR4. - Miss: the description says FR15 and the revision-1 rule cite the amended
spec:AST-112FR8 and that the record citesspec:AST-140FR1 and FR6, but FR15 citesspec:AST-140/FR5and the record cites only FR3 and FR5 of that record, so correct those lines.
Smaller point: the merge order names only the foundation amendment and the platform-code record, but the record also cites the system-modules, photos, Stage and Preview drafts, which must exist first for those citations to resolve.
Claims and files checked
Review mode: full; reason: spec-record
- File
docs/specs/AST-132-react-native-media-camera/spec.md: three required fixes and one note above; the five earlier findings are fixed. - Claim: depends on the foundation amendment, the platform-code record and the system-modules record: verified, the record cites clauses that exist only in those drafts.
- Claim: merges after the foundation amendment and the platform-code record: incomplete, the record also cites four other open drafts.
- Claim: no current record owns the media or camera contracts: verified on
main. - Claim: requirements FR1 to FR15 with FR4 unused, and DEC-1, DEC-3, DEC-4 and DEC-5: verified.
- Claim: the platform-code record's FR1, FR3, FR5 and FR6 are cited for the shared rules: false in part, the record cites only FR3 and FR5.
- Claim: every contract is at revision 1 with no named features under the foundation's FR8, which FR15 cites: false, FR15 cites the platform-code record's FR5.
- Claims: opt-in capabilities reached through the loader; one player model drawn by id; playback follows the system; levels with no size limit; picture in picture on both platforms; a camera view that never prompts with a simulated fallback; results that never throw: verified against FR1, DEC-1, FR5 to FR11 and FR13.
- Claim: the core package ships the native code that components and create templates use: verified, DEC-5 now links the foundation's DEC-16.
- Claim: no third-party native dependency: matches the record's wording; Android's code decoder is a third-party Java library, left to the owner's reading.
- Claims: two recorded gaps; writing rubric R1 to R7; Stage and Preview out of the record: verified.
- Claims: the knowledge check, the formatter check and the whitespace check pass: verified by running them.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new draft record spec:AST-132 (FR1 to FR3, FR5 to FR15, DEC-1 and DEC-3 to DEC-5), including whether AstryxCameraView stays in the core package for a camera create template that no record names yet. An engineering owner records it by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. The earlier review points are fixed, and one record fix is needed either way:
- Miss: FR9 puts the photo file in "the app's temporary or cache folder", while
spec:AST-130/FR14andspec:AST-140/FR4put files the camera view produces in the core's cache location, so write "a JPEG in the core's cache location (spec:AST-130/FR14)".
Two smaller points: say which Android declarations the host adds beyond the media capability's own service and activity (FR1 against FR5 and FR8), and cite spec:AST-140 FR3 and FR5 instead of FR13 for unsupported under Platform support.
Claims and files checked
Review mode: full; reason: spec-record
- File
docs/specs/AST-132-react-native-media-camera/spec.md: one required fix and two notes above; the earlier findings are fixed. - Claim: depends on, and merges after, the foundation amendment and the platform-code, system-modules, photos, Stage and Preview drafts: verified, the record cites clauses that exist only in those drafts.
- Claim: no current record owns the media or camera contracts: verified on
main. - Claim: the foundation's opt-in, capability-shape and evidence clauses are cited and unchanged: verified against the draft foundation on
main. - Claim: the platform-code record's result, byte and additive-evolution clauses are cited for the shared rules: verified at that draft's head.
- Claim: the system-modules record's platform-info, permission and picker clauses apply unchanged: verified at that draft's head; its cache-location clause conflicts with FR9 (the required fix).
- Claim: requirements FR1 to FR15 with FR4 unused, and DEC-1, DEC-3, DEC-4 and DEC-5: verified.
- Claims: opt-in capabilities reached through the loader; one player model drawn by id; playback follows the system; levels with no size limit; picture in picture on both platforms; a camera view that never prompts with a simulated fallback; results that never throw: verified against FR1, DEC-1, FR5 to FR11 and FR13.
- Claim: the core package ships the native code that components and create templates use: verified, DEC-5 links the foundation amendment's rule; the
cameratemplate it relies on is not named in any record. - Claim: no third-party native dependency: matches the record's wording; the Android code decoder is a third-party Java library, left to the owner's reading.
- Claims: two recorded gaps; writing rubric R1 to R7; Stage and Preview kept out of the record: verified.
- Claims: the knowledge check, the formatter check and the whitespace check pass: verified by running them.
| - With `allowsBackground` and the host's declaration (iOS's background audio | ||
| mode; Android's media playback service and its foreground-service |
There was a problem hiding this comment.
Non-blocking: FR1 says media itself declares the Android media playback service and the picture-in-picture activity, but these lines and FR8 make them part of a host declaration that may be missing. Say which part the host adds (for example only the foreground-service permissions), so isBackgroundAvailable() and isSupported have one meaning on Android.
…AST-140 for unsupported
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new draft record spec:AST-132 (FR1 to FR3, FR5 to FR15, DEC-1 and DEC-3 to DEC-5), including whether AstryxCameraView stays in the package for a camera create template that no record names yet, and whether the Android code decoder fits "no third-party native dependency". An engineering owner records it by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. The photo-location and unsupported citation points from the last review are fixed, and no blocking finding remains.
Three smaller points, none blocking: say which Android declarations the host adds beyond the media capability's own service and activity (FR1 against FR5 and FR8); add onError to NativeVideoView's events in FR7, which FR13 relies on; and say what stopPictureInPicture() answers on Android, where FR8 has no programmatic stop.
Claims and files checked
Review mode: full; reason: spec-record
- File
docs/specs/AST-132-react-native-media-camera/spec.md: no blocking finding; three notes above; the earlier findings are fixed. - Claim: depends on, and merges after, the foundation amendment and the platform-code, system-modules, photos, Stage and Preview drafts: verified, the record cites clauses that exist only in those drafts.
- Claim: no current record owns the media or camera contracts: verified on
main, where no record names these pieces. - Claim: the foundation's opt-in, capability-shape and evidence clauses are cited and unchanged: verified against the draft foundation on
main. - Claim: the platform-code record's result, byte and additive-evolution clauses are cited for the shared rules: verified at that draft's head.
- Claim: the system-modules record's platform-info, permission and picker clauses apply unchanged: verified at that draft's head; the photo now uses its cache location.
- Claim: requirements FR1 to FR15 with FR4 unused, and DEC-1, DEC-3, DEC-4 and DEC-5: verified.
- Claims: opt-in capabilities reached through the loader; one player model drawn by id; playback follows the system; levels with no size limit; picture in picture on both platforms; a camera view that never prompts with a simulated fallback; results that never throw: verified against FR1, DEC-1, FR5 to FR11 and FR13.
- Claim: the package ships the native code that components and create templates use: verified, DEC-5 links the foundation amendment's rule; the
cameratemplate it relies on is not named in any record. - Claim: every contract is at revision 1 with no named features: verified (FR15).
- Claim: no third-party native dependency: matches the record's wording; the Android code decoder is a third-party Java library, left to the owner's reading.
- Claims: two recorded gaps; writing rubric R1 to R7; Stage and Preview kept out of the record: verified.
- Claims: the knowledge check, the formatter check, the whitespace check and the leak scan pass: verified by running them.
…and CameraView; positive sweep)
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new draft record spec:AST-132 (FR1 to FR3, FR5 to FR15, DEC-1 and DEC-3 to DEC-5), and two record fixes are needed whatever that decision is. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, or names the clauses to amend; the author may do so as an engineering owner. The open points for that decision are the public VideoView and CameraView entries beside the amended foundation's rule that a React Native-only component starts in ./unstable/*, DEC-5's camera create template that no record names, and the ZXing decoder beside "no third-party native dependency".
Required fixes:
- The Intent (line 43) and Current-state impact (line 337) cite the foundation's FR21 for the native views being internal, but FR21 in the amendment is about
render, glass and materials, so cite FR5 alone. - Non-goals now reads
None.(line 65), which drops "Equivalent internal implementations remain valid when they satisfy this contract." while FR7 specifies the internalNativeVideoViewand Platform support names per-platform mechanisms, so restore the template's two lines and state FR7 asAstryxVideoView's contract or name who depends on the wrapper (architecture:knowledge-contractsDEC-7).
Two earlier non-blocking points still stand (FR1's Android declarations against FR5 and FR8, and onError missing from FR7's events), and two new ones are inline.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: depends on, and merges after, the foundation amendment and the platform-code, system-modules and photos drafts: verified; the record cites clauses that exist only in those drafts.
- Claim: "revision 1" gives way to named features: verified (FR15, lines 309-312).
- Claim: the native video and camera views are internal behind
VideoViewandCameraView, and the media entry exportsVideoViewinstead of the native view and its probe: verified (FR1, lines 75-76 and 82-84; FR13, line 285). - Claim: component placement is unchanged: not verifiable here; the package is not in this repository, and no earlier record placed
VideoViewin an entry. - Claim: requirements read as behaviour, and the constraints the platform relies on stay with their reason: verified (FR6 line 160, FR9 and DEC-4, "Why this exists").
- Claim: Non-goals reads "None." as the template requires the section: false; the template's section carries the two equivalence lines (finding above).
- Claim: decisions state the chosen direction and reason, without rejected alternatives: verified (DEC-1, DEC-3, DEC-4, DEC-5).
- Claim: versioning reads "contracts grow by named features": verified (FR15).
- Claim: the foundation's FR5 and FR21 make native views internal: verified for FR5; false for FR21, the glass-and-materials clause (finding above).
- Claims: the foundation's opt-in, capability-shape and evidence clauses; the platform-code record's result, byte and named-feature clauses; the system-modules record's platform-info, permission, camera-capture and cache clauses; the current component-contract and native-testing records: verified at each record's text.
- Claim: no other record owns these contracts: verified on main.
- Claim: two gaps are recorded: verified (lines 322-324).
- Claim: writing rubric R1 to R7: verified.
- Claim: the record preserves equivalent internal implementations, and every named internal mechanism is public with its dependents named: false at this head (finding above).
- Claims: the knowledge check and the formatter check pass: verified by running them.
- File
docs/specs/AST-132-react-native-media-camera/spec.md: two required fixes (lines 43 and 337; line 65 with FR7) and four non-blocking notes.
| - `CameraView` is one element named by its `label`, and it announces its | ||
| status changes (`ready`, `permission-required`, `denied`, `error`). Codes | ||
| found and photos taken reach the person through the app's own UI. | ||
| - **FR15 — Contracts grow by named features.** Every contract in the group |
There was a problem hiding this comment.
Non-blocking: FR15 no longer says which named features the group has, because "The group has no named features" was dropped. spec:AST-140/FR5 has each contract's spec state its named features (<Contract>.<feature>), as spec:AST-130/FR17 does. FR8's media.* entries are spec:AST-130/FR8 platform feature rows (<capability>.<behaviour>), which are a separate list. Say "The group has no named features" again, and call the picture-in-picture entries feature rows in FR15's verification row.
| capability shape (`spec:AST-112/FR7`), and additive evolution | ||
| (`spec:AST-140/FR5`). It specifies the | ||
| audio module (`AstryxAudio`), the video view (`AstryxVideoView`), and the | ||
| camera view (`AstryxCameraView`), and how the library's `VideoView`, |
There was a problem hiding this comment.
Non-blocking: this calls CameraView the library's, but OQ1 asks whether the library offers a camera component of its own over CameraView. DEC-5 also keeps AstryxCameraView for a create template instead of a library component. Say which CameraView is.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new draft record spec:AST-132 (FR1 to FR3, FR5 to FR15, DEC-1 and DEC-3 to DEC-5), including the public VideoView and CameraView entries with no Core contract and DEC-5's camera create template that no record names. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, or names the clauses to amend; the author may do so as an engineering owner. Two record fixes are needed whatever that decision is:
- Miss: the Android code decoder is ZXing (FR1, line 85; Platform support, line 327), but
spec:AST-082FR13 allows a third-party library only as an optional integration, never as a requirement, so make the decoder an optional integration (withcodeTypesansweringunsupportedwithout it) or name the departure from FR13 in Current-state impact for the owner to decide. - FR7 (lines 174-194) still specifies the props, defaults, events and handle of the internal
NativeVideoViewwithout saying who depends on that exact shape and why, against the restored Non-goals andarchitecture:knowledge-contractsDEC-7, so state FR7 asAstryxVideoView's contract or give that reason.
The citation and Non-goals fixes from the last review are in; four earlier non-blocking points still stand, and three new non-blocking ones are inline.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: depends on and merges after the foundation amendment and the platform-code, system-modules and photos drafts: verified; all four are open drafts, and the record cites clauses that exist only in them.
- Claim: "revision 1" gives way to named features: verified (FR15, lines 316-319).
- Claim: the native video and camera views are internal behind
VideoViewandCameraView, and the media entry exportsVideoViewinstead of the native view and its probe: verified (FR1, lines 82-83 and 89-91; FR13, line 292). - Claim: component placement is unchanged: not verifiable here; the package is not in this repository.
- Claim: requirements read as behaviour, and the constraints the platform relies on stay with their reason: verified for the prompt and in-memory bytes (FR9, DEC-4; FR6, lines 166-168); false for "no third-party native dependency" (finding above).
- Claim: Non-goals keeps only the template's two standing lines: verified (lines 65-72).
- Claim: decisions state the chosen direction and reason, without rejected alternatives: verified (DEC-1, DEC-3, DEC-4, DEC-5).
- Claim: versioning reads "contracts grow by named features": verified (FR15).
- Claim: the cited foundation, platform-code and system-modules clauses say what the record uses them for: verified at each draft's text; the native-component guidelines record is cited beyond its scope (inline, non-blocking).
- Claim: no other record owns these contracts: verified on main.
- Claim: two gaps are recorded: verified (lines 329-331).
- Claim: writing rubric R1 to R7: verified.
- Claim: every named internal mechanism is public, names its dependent and says why an equivalent would not do: false for FR7 (finding above).
- Claim: the knowledge check and the formatter check pass: verified by running them.
- File
docs/specs/AST-132-react-native-media-camera/spec.md: two required fixes (line 327; lines 174-194) and seven non-blocking notes.
| - `spec:AST-093/FR5` (every native component is tested and validated the same | ||
| way) applies to `VideoView` unchanged. |
There was a problem hiding this comment.
Miss, non-blocking: spec:AST-093 covers components of @astryxdesign/native, which start in Swift for iOS and macOS, and its Non-goals leave out Android, so its FR5 does not apply to VideoView as written. Drop the line, or say that this record's Verification governs VideoView and CameraView.
| the function that stops it. It has `play()`, `pause()`, `seekTo(seconds)`, | ||
| `setRate(rate)`, and `release()`, which frees the native player and is | ||
| the player's last call. `setVolume({volume})`, `setMuted({isMuted})`, and | ||
| `setLooping({isLooping})` answer an `AstryxResult` at once, and the new |
There was a problem hiding this comment.
Miss, non-blocking: seekTo(seconds) and setRate(rate) take plain values, while setVolume({volume}), setMuted({isMuted}) and setLooping({isLooping}) take objects. Pick one shape for the player's setters, so an app does not have to remember which is which.
| `./media` entry exports `AstryxAudio` and `VideoView`; the native video | ||
| view stays internal behind `VideoView` (`spec:AST-112/FR5`). |
There was a problem hiding this comment.
Miss, non-blocking: this lists AstryxAudio and VideoView, but no line says which entry exports useAudioPlayer and useVideoPlayer (FR12), which VideoView needs. Name the entry.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new draft record spec:AST-132 (FR1 to FR3, FR5 to FR15, DEC-1 and DEC-3 to DEC-6), including the public VideoView and CameraView entries with no Core contract, DEC-5's camera create template that no record names, and DEC-6's separate Android code-scanning package. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, or names the clauses to amend; the author may do so as an engineering owner. Two record fixes in DEC-6 are needed whatever that decision is:
- DEC-6 (lines 421-431, with FR10 at lines 253-258) has Android apps add a separate code-scanning package, but the amended
spec:AST-112this record merges after names only the core package and the Expo adapter in its FR1 set, callsexpothe one third-party dependency of the set (FR2), and says no Astryx component needs a third-party library (FR20, DEC-16), so amend that record to admit and name the package, or leave Android code scanning outside Astryx withcodeTypesansweringunsupported. - DEC-6's reason (lines 426-427) restates
spec:AST-082FR13's dependency rule and the foundation's separate-package sentence without linking either, againstarchitecture:knowledge-contractsINV10, so cite them and keep only how they place the Android decoder.
Both fixes from the last review are in (the Android decoder is now optional, and FR7 states AstryxVideoView's own contract); six earlier non-blocking points still stand, and three new ones are inline.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: depends on and merges after the foundation amendment and the platform-code, system-modules and photos drafts, and is not stacked: verified; all four are open drafts, and the body has no stack line.
- Claim: "revision 1" gives way to named features: verified (FR15, lines 321-324).
- Claim: the native video and camera views are internal behind
VideoViewandCameraView, and the media entry exportsVideoViewinstead of the native view and its probe: verified (FR1, lines 82-83 and 90-92); FR7 and FR13 still mention the internal wrapper and probe (lines 176, 296, 300-302; inline, non-blocking). - Claim: component placement is unchanged: not verifiable here; the package is not in this repository.
- Claim: Android code scanning comes from an optional package that brings the decoder (FR1, FR10, DEC-6): verified (lines 86-87, 253-258, 421-431); the foundation amendment's package set does not have that package (finding above).
- Claim: requirements read as behaviour, and the constraints the platform relies on stay with their reason: verified for the prompt (FR9, DEC-4), in-memory level bytes (FR6, line 168) and no third-party dependency in the core package (DEC-6).
- Claim: Non-goals keeps only the template's two standing lines: verified (lines 65-72).
- Claim: decisions state the chosen direction and reason, without rejected alternatives: verified (DEC-1, DEC-3 to DEC-6).
- Claim: versioning reads "contracts grow by named features": verified (FR15).
- Claim: the cited foundation, platform-code and system-modules clauses say what the record uses them for: verified at each draft's text; the native-component guidelines record is cited beyond its scope (non-blocking).
- Claim: no other record owns these contracts: verified on main.
- Claim: no third-party native dependency, and apps may use third-party libraries beside these components: verified for the core package; the optional Android package brings the decoder (DEC-6).
- Claim: two gaps are recorded: verified (lines 334-336).
- Claim: writing rubric R1 to R7: verified.
- Claim: the knowledge check and the formatter check pass: verified by running them.
- Claim: the diff and description carry no private references: verified.
- File
docs/specs/AST-132-react-native-media-camera/spec.md: two required fixes (DEC-6, lines 421-431) and nine non-blocking notes.
| and `isCameraViewAvailable()` answer false, and calls answer `not-linked` | ||
| (`spec:AST-112/FR3`). Without the native side (Jest, the web) they answer | ||
| `no-module`. | ||
| - Where `AstryxVideoView` is absent, `VideoView`'s internal wrapper draws |
There was a problem hiding this comment.
Non-blocking: FR7 now states AstryxVideoView's own contract, but this line (and line 176, and "the library's internal video view probe" on line 296) still names the library's internal wrapper. State it as what VideoView does: it draws its fallback and reports onError with no-native-view once.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new draft record spec:AST-132 (FR1 to FR3, FR5 to FR15, DEC-1 and DEC-3 to DEC-6), including the public VideoView and CameraView entries with no Core contract, DEC-5's camera create template that no record names, and DEC-6's Android with no code scanning. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, or names the clauses to amend; the author may do so as an engineering owner. One record fix is needed whatever that decision is:
CameraViewkeeps offeringcodeTypes,scanRegionandonCodesScannedon Android (FR9, lines 214-223) while FR10 and DEC-6 (lines 253-256 and 423-425) never honor them there, againstspec:AST-082FR3 ("A platform never offers a prop it does not fully honor"), so make them part ofCameraView's iOS platform contract so that Android code using them fails at type check, or name the departure fromspec:AST-082/FR3in Current-state impact for the owner to decide.
Both fixes from the last review are in (the separate Android package is gone, and DEC-6 links spec:AST-112/FR2 for its dependency rule); three new non-blocking points are inline, and seven earlier ones still stand.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: depends on and merges after the foundation amendment and the platform-code, system-modules and photos drafts, and is not stacked: verified; all four are open drafts, and the body has no stack line.
- Claim: the record states the media and camera contract and leaves the photo pieces to the photos record: verified (FR1 to FR15; scope note, line 61).
- Claim: "revision 1" gives way to named features: verified (FR15, lines 319-322; no revision wording remains).
- Claim: the native video and camera views are internal behind
VideoViewandCameraView, and the media entry exportsVideoViewinstead of the native view and its probe: verified (FR1, lines 82-83 and 90-92); FR7 and FR13 still mention the internal wrapper and probe (lines 176, 294, 298; non-blocking). - Claim: component placement is unchanged: not verifiable here; the package is not in this repository.
- Claim: code scanning runs on iOS through the system's metadata output, and Android answers
unsupported(FR1, FR10, DEC-6): verified (lines 86-87, 253-256, 423-425); the code props stay offered on Android (finding above). - Claim: requirements read as behaviour, and the constraints the platform relies on stay with their reason: verified for the prompt (FR9, DEC-4), in-memory level bytes (FR6, line 168) and no third-party native dependency (DEC-6, lines 424-425).
- Claim: Non-goals keeps only the template's two standing lines: verified (lines 65-72).
- Claim: decisions state the chosen direction and reason, without rejected alternatives: verified (DEC-1, DEC-3 to DEC-6).
- Claim: versioning reads "contracts grow by named features": verified (FR15).
- Claim: the cited foundation, platform-code and system-modules clauses say what the record uses them for: verified at each draft's text; the native-component guidelines record is cited beyond its scope (non-blocking), and the native-first record's FR3, listed as searched, is not followed for the Android code props (finding above).
- Claim: no other record owns these contracts: verified on main (no record names the audio module, either native view,
CameraViewor the Now Playing card). - Claim: no third-party native dependency, and apps may use third-party libraries beside these components: verified (DEC-6; Why this exists, line 49).
- Claim: one gap is recorded, the camera view's missing label and accessible name: verified (lines 332-333).
- Claim: writing rubric R1 to R7: verified; OQ1, OQ3 and OQ4 stay open and OQ4 keeps its two options (lines 429-434).
- Claim: the knowledge check and the formatter check pass: verified by running them.
- Claim: the diff and description carry no private references: verified.
- Claim: the spec lookup was not runnable in the author's checkout: about the author's environment; here it runs and lists only global claims.
- File
docs/specs/AST-132-react-native-media-camera/spec.md: one required fix (FR9, FR10 and DEC-6, lines 214-256 and 423-425) and ten non-blocking notes.
| An app plays sound and video and uses the phone's camera. A person listens to a | ||
| recording or a podcast with the lock screen's controls, watches a clip inline, | ||
| in full screen, or in a floating picture-in-picture window, sees a waveform of | ||
| a voice note, and points the camera at a QR code or takes a photo. The |
There was a problem hiding this comment.
Non-blocking: on Android CameraView finds no codes (FR10, DEC-6), so "points the camera at a QR code" here and "a QR code or barcode found in view" in Who uses it (line 59) hold on iOS only. Say so.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new draft record spec:AST-132 (FR1 to FR3, FR5 to FR15, DEC-1 and DEC-3 to DEC-6), including the public VideoView and CameraView entries with no Core contract, DEC-5's camera create template that no record names, and DEC-6's iOS-only code scanning. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, or names the clauses to amend; the author may do so as an engineering owner. One record fix is needed whatever that decision is:
- Regression: FR11 keeps
simulation.codeson thesimulationprop that both platforms offer (lines 218 and 266-268), but withscanRegionandonCodesScannednow iOS-only, Android has no event that delivers those codes, againstspec:AST-082FR3 ("A platform never offers a prop it does not fully honor"), so say thatsimulation.codesis part ofCameraView's iOS platform contract, or that the simulated camera finds codes on iOS only.
The earlier code-props finding is fixed (codeTypes, scanRegion and onCodesScanned are now iOS platform props, so Android code that uses them fails at type check); two new non-blocking points are inline, and eight earlier ones still stand.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: depends on and merges after the foundation amendment and the platform-code, system-modules and photos drafts, and is not stacked: verified; all four are open drafts, and the body has no stack line.
- Claim: the record states the media and camera contract and leaves the photo pieces to the photos record: verified (FR1 to FR15; scope note, line 61).
- Claim: "revision 1" gives way to named features: verified (FR15, lines 321-324; no revision wording remains).
- Claim: the native video and camera views are internal behind
VideoViewandCameraView, and the media entry exportsVideoViewinstead of the native view and its probe: verified (FR1, lines 82-83 and 90-92); FR7 and FR13 still mention the internal wrapper and probe (lines 176, 296, 300; non-blocking). - Claim: component placement is unchanged: not verifiable here; the package is not in this repository.
- Claim: code scanning runs on iOS through the system's metadata output, as
CameraView's iOS platform props, so Android code that uses them fails at type check: verified (FR1 lines 86-87, FR9 218-224, FR10 242-245, DEC-6 427-429); FR11's simulated codes still type-check on Android (finding above). - Claim: requirements read as behaviour, and the constraints the platform relies on stay with their reason: verified for the prompt (FR9, DEC-4), in-memory level bytes (FR6) and no third-party native dependency (DEC-6).
- Claim: Non-goals keeps only the template's two standing lines: verified (lines 63-72).
- Claim: decisions state the chosen direction and reason, without rejected alternatives: verified (DEC-1, DEC-3 to DEC-6).
- Claim: versioning reads "contracts grow by named features": verified (FR15).
- Claim: the cited foundation, platform-code, system-modules and native-first clauses say what the record uses them for: verified at each record's text; the native-component guidelines record is cited beyond its scope (non-blocking), and FR10's per-platform typing also rests on the foundation amendment's typing clause, which it does not cite (non-blocking).
- Claim: no other record owns these contracts: verified on main (no record names the audio module, either native view,
CameraViewor the Now Playing card). - Claim: no third-party native dependency, and apps may use third-party libraries beside these components: verified (DEC-6; Why this exists, line 49).
- Claim: one gap is recorded, the camera view's missing label and accessible name: verified (lines 334-335).
- Claim: writing rubric R1 to R7: verified; OQ1, OQ3 and OQ4 stay open and OQ4 keeps its two options (lines 433-438).
- Claim: the knowledge check and the formatter check pass: verified by running them.
- Claim: the diff and description carry no private references: verified.
- Claim: the spec lookup was not runnable in the author's checkout: about the author's environment; here it runs and lists only global claims.
- File
docs/specs/AST-132-react-native-media-camera/spec.md: one required fix (FR11, lines 218 and 266-268) and ten non-blocking notes.
| | Contract | Kind | Props | Commands | Events | Platforms | | ||
| | ------------------ | ------------------------------------------ | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------- | -------------------------------------------- | ------------ | | ||
| | `AstryxVideoView` | native component (Fabric Native Component) | `playerId`, `resizeMode`, `controls`, `allowsPictureInPicture`, `startsPictureInPictureAutomatically` | `startPictureInPicture`, `stopPictureInPicture` | `onPictureInPictureChange`, `onVideoSize` | iOS, Android | | ||
| | `AstryxCameraView` | native component (Fabric Native Component) | `facing`, `zoom`, `flash`, `torch`, `isActive`, `codeTypes`, `scanRegion` | `takePhoto`, `focus` | `onCameraState`, `onCodesScanned`, `onPhoto` | iOS, Android | |
There was a problem hiding this comment.
Non-blocking: this row lists codeTypes, scanRegion and onCodesScanned for "iOS, Android", and FR1 exports CODE_TYPES and createCodeDetector from ./camera on both platforms, while Platform support (line 332) says code scanning is iOS-only. Mark those members iOS-only, or say what Android's native view does with them.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new draft record spec:AST-132 (FR1 to FR3, FR5 to FR15, DEC-1 and DEC-3 to DEC-6), including the public VideoView and CameraView entries with no Core contract, DEC-5's camera create template that no record names, and DEC-6's iOS-only code scanning. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, or names the clauses to amend; the author may do so as an engineering owner.
No record fix is required: the earlier finding is fixed, since simulation.codes is now part of CameraView's iOS platform contract and Android's simulation takes isEnabled alone, and FR10 now cites the foundation's per-platform typing clause. One new non-blocking point is inline (FR11's verification row still lists simulated codes with no platform), and nine earlier ones still stand.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: depends on and merges after the foundation amendment and the platform-code, system-modules and photos drafts, and is not stacked: verified; all four are open drafts, and the description has no stack line.
- Claim: the record states the media and camera contract and leaves the photo pieces to the photos record: verified (FR1 to FR15; scope note, line 61).
- Claim: "revision 1" gives way to named features: verified (FR15, lines 323-326; no revision wording remains).
- Claim: the native video and camera views are internal behind
VideoViewandCameraView, and the media entry exportsVideoViewinstead of the native view and its probe: verified (FR1, lines 82-83 and 90-92); FR7 and FR13 still mention the internal wrapper and probe (lines 176, 298, 302; non-blocking). - Claim: component placement is unchanged: not verifiable here; the package is not in this repository.
- Claim: code scanning runs on iOS through the system's metadata output, as
CameraView's iOS platform props, so Android code that uses them fails at type check: verified (FR1 lines 86-87, FR9 218-224, FR10 242-245, FR11 266-270, DEC-6 427-431). - Claim: requirements read as behavior, and the constraints the platform relies on stay with their reason: verified for the prompt (FR9, DEC-4), in-memory level bytes (FR6) and no third-party native dependency (DEC-6).
- Claim: Non-goals keeps only the template's two standing lines: verified (lines 63-72).
- Claim: decisions state the chosen direction and reason, without rejected alternatives: verified (DEC-1, DEC-3 to DEC-6).
- Claim: versioning reads "contracts grow by named features": verified (FR15).
- Claim: the cited foundation, platform-code, system-modules and native-first clauses say what the record uses them for: verified at each record's text, the foundation's at its open amendment; the native-component guidelines record is cited beyond its scope (non-blocking).
- Claim: no other record owns these contracts: verified on main (no record names the audio module, either native view,
CameraViewor the Now Playing card). - Claim: no third-party native dependency, and apps may use third-party libraries beside these components: verified (DEC-6; Why this exists, line 49).
- Claim: one gap is recorded, the camera view's missing label and accessible name: verified (lines 336-337).
- Claim: writing rubric R1 to R7: verified; OQ1, OQ3 and OQ4 stay open, and OQ4 keeps its two options (lines 435-440).
- Claim: the knowledge check and the formatter check pass: verified by running them at this head.
- Claim: the diff and description carry no private references: verified.
- Claim: the spec lookup was not runnable in the author's checkout: about the author's environment; here it runs and lists only global claims.
- File
docs/specs/AST-132-react-native-media-camera/spec.md: no required fix; ten non-blocking notes.
| | FR8 | Device and emulator checks of picture in picture; Simulator check of `isSupported` | start and stop; automatic start on iOS; leaving the app while it shows | Android shows the whole app, the player pauses on leaving, or a one-platform feature answers true on the other | | ||
| | FR9 | Unit tests of `CameraView` through `mockCameraCapability`; device and emulator checks | each permission state; facing, zoom, flash, torch; `takePhoto` with and without a ready camera | The view prompts, mounts the camera without `granted`, or `takePhoto` rejects | | ||
| | FR10 | Unit tests of the code mapping and the detector; iOS device checks; a type check of Android code | a code inside and outside the region; a code that leaves; `codeTypes` in Android code | A code outside the region is reported, events come faster than every 100 ms, no empty list follows the last code, or Android code that passes `codeTypes` type-checks | | ||
| | FR11 | Unit tests of the simulated camera; Simulator renders | no camera; `simulation.isEnabled`; Reduce Motion; simulated codes | A device without a camera prompts, the scene moves under Reduce Motion, or a simulated photo carries a `uri` | |
There was a problem hiding this comment.
Non-blocking: FR11 now keeps simulation.codes in iOS's contract, but this row's "simulated codes" state names no platform, and FR10's row above checks only codeTypes in Android code. Scope the simulated-codes state to iOS and add simulation.codes in Android code to the type-check failure, so the check proves FR11's split.
Depends on #12563 (the
spec:AST-112amendment: named features, default linking, native views internal behind components), #12594 (spec:AST-140, platform code rules), #12553 (spec:AST-130) and #12572 (spec:AST-135). Not stacked. Merges after #12563 (AST-112) and #12594 (AST-140), and after #12553 and #12572, whose records it cites.Exact decision needed
The target contract of the React Native platform's
mediaandcameracapabilities: the audio moduleAstryxAudio, the video viewAstryxVideoViewbehind the library'sVideoView, and the camera viewAstryxCameraViewbehindCameraView, as the recordspec:AST-132(docs/specs/AST-132-react-native-media-camera/spec.md) states them. It covers players and their state, the system's audio session, background playback and the Now Playing card, peak levels for a waveform, the video view and picture in picture, the camera view, live code detection, the simulated camera, the library'suseAudioPlayer,useVideoPlayer,VideoViewandCameraView, results, fallbacks, and accessibility. The photo library pieces arespec:AST-135's.This revision
VideoViewandCameraView, their public faces; the./mediaentry exportsVideoViewin place of the native view and its probe. Component placement is unchanged.CameraView's iOS platform props (FR1, FR9, FR10, DEC-6).spec:AST-140/FR5).Existing authority searched
spec:AST-112(React Native foundation): FR1 and FR3 (mediaandcameraare opt-in), FR5 (native views are internal implementation behind components), FR7 (capability shape; prompts come from the app's request), FR15 (evidence). This record details them for media and the camera.spec:AST-140(React Native platform code, open as a draft): FR3 (result vocabulary,cancelledfor a call whose caller goes away), FR4 (bytes the caller holds cross as anArrayBuffer, which FR6 and DEC-3 use for in-memory slices), FR5 (contracts grow by named features).spec:AST-082(native-first surfaces): FR3 (component contracts).spec:AST-093(native component guidelines): FR5 (testing and validation).spec:AST-130(system modules, spec(AST-130): React Native platform: System modules #12553): FR8 (AstryxPlatformInfoand its feature rows), FR9 (AstryxPermissions), FR12 (camera capture belongs to thecameracapability), FR14 (the cache location).spec:AST-112as amended by spec(AST-112): React Native commands are one astryx rn group; package shape (Expo wrapper, default linking, named features) #12563: its FR7 table, which names this record as the owner of themediaandcameragroup, and FR20 and DEC-16 (the package ships what Astryx's components and templates use).docs/specs/searched forAstryxAudio,VideoView,CameraView,picture in picture,Now Playing: no other record owns these contracts.media,camera,video, andReact Native platform: the AST-130 and AST-112 drafts above overlap. This record defers to each for what it owns.Decision
The record's requirements FR1 to FR15 (FR4 unused) and DEC-1 and DEC-3 to DEC-6:
mediaandcameraare opt-in capabilities; the library reaches them through the capability loader.VideoViewandCameraVieware the public faces of the two native views, which are internal behind them; the components keep their current placement (VideoViewin./media,CameraViewin./camera).AstryxAudioplayer thatAstryxVideoViewdraws by id, so full screen and a second view keep playback where it is.CameraViewleaves the permission request to the app, mounts the camera withgranted, detects codes on the same session, and draws a simulated camera on a device without one.AstryxAudioandAstryxVideoViewinmedia, andAstryxCameraViewincamera.spec:AST-140/FR5); the picture-in-picture differences are feature rows ofAstryxPlatformInfo.CameraView's iOS platform props (codeTypes,scanRegion,onCodesScanned); Android has no system code decoder, so Android code that uses them fails at type check (FR9, FR10, DEC-6).Who uses it
AstryxAudiouseAudioPlayeranduseVideoPlayerhooks (the controllers an app wires to its own media controls); apps through the./mediaentryAstryxVideoViewVideoView, its public face (inline and in full screen, for auseVideoPlayercontroller)AstryxCameraViewCameraView(./cameraentry), its public face; thecameracreate template's screens use it (DEC-5)Rejected alternatives
None recorded. Each decision states its chosen direction and its reason.
Claim scope and non-goals
The record governs
AstryxAudio,AstryxVideoView,AstryxCameraView,CameraView, and how the library'suseAudioPlayer,useVideoPlayer, andVideoViewuse them.VideoView's presentation beyond its platform use sits outside this record. The photo library pieces arespec:AST-135's. Non-goals: the template's two standing bullets only.Evidence and implementation relationship
The implementation lives in the React Native package's platform layer (the
mediaandcameracapabilities) and its library components. No public evidence links. One gap is recorded:CameraViewlacks a label and an accessible name.Writing rubric results
./testingdoubles).FR9/FR14gap line.Ecosystem comparison
Scope
Components:
AstryxAudio,AstryxVideoView,AstryxCameraView,CameraView,VideoView,useAudioPlayer,useVideoPlayerValidation
pnpm check:knowledge(node scripts/check-knowledge.mjs): "Knowledge templates and records are aligned.", exit 0.--check: all matched files use Prettier code style.pnpm specs:foris not runnable in this checkout (no install); skipped.