Skip to content

spec(AST-140): follow-ups after merge - #12988

Merged
imdreamrunner merged 4 commits into
mainfrom
spec/ast-140-follow-ups
Nov 20, 2026
Merged

imdreamrunner merged 4 commits into
mainfrom
spec/ast-140-follow-ups

Conversation

@imdreamrunner

@imdreamrunner imdreamrunner commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up edits to spec:AST-140 after #12594 merged as a draft record: five content changes in FR5, FR11 and FR11's verification row. Four come from the last automated review of #12594; the fifth makes FR11's Android seam sentence name the class as the adopter and the engine binding as the caller.

Exact decision needed

Whether these edits to the draft React Native platform-code record stand:

  • FR11, Android: the seam is public Kotlin interfaces; a class adopts its seam directly or through a host object it owns, and an engine binding calls those members.
  • FR5: contractFeatures(contract) is exported from the package's main entry ..
  • FR11: a rejected seam call becomes FR3's result object with status cancelled when the code is cancelled and error otherwise.
  • FR11's type table drops the callback row, since FR3 and FR4 keep callbacks out of the binding.
  • FR11's verification row fails an engine type or any name lookup crossing the seam, and no longer names a "value box", so the table's own boxed array scalars and untyped-object dictionaries and maps do not fail its check.

Existing authority searched

  • spec:AST-140 on main (merged as a draft record in spec(AST-140): React Native platform code #12594), and the last automated review's non-blocking notes on that pull request (the seam reject's status, the callback row, the value-box wording, and which entry lists contractFeatures).
  • spec:AST-140 FR3 (result objects, one request object and one ArrayBuffer per method) and FR4 (the values that cross the binding).
  • Each item was checked against main first; none was already true there.
  • Terms searched: AST-140, contractFeatures, seam, callback, value box. No other open pull request edits spec:AST-140.

Decision

docs/specs/AST-140-react-native-platform-code/spec.md (spec:AST-140):

  • FR5: "contractFeatures(contract), exported from the package's main entry ., answers the sorted list of the contract's named features …".
  • FR11 (native modules): "the binding turns the reject into FR3's result object, with status cancelled when the code is cancelled and error otherwise, and that code as its reason".
  • FR11 (type table): the callback row is removed.
  • FR11 (Android): "On Android the seam is public Kotlin interfaces in one package, as on iOS, where the seam headers are public headers. A class adopts its seam directly or through a host object it owns, and an engine binding calls those members."
  • FR11's verification row: "an engine type, value box, or name lookup across it" becomes "an engine type or any name lookup crossing the seam".

Rejected alternatives

None recorded in the record.

Claim scope and non-goals

Only the five edits above, all inside FR5, FR11 and FR11's verification row. No requirement, open question or decision is added or removed, and no other record changes.

Evidence and implementation relationship

The record is a specification only and has no implementation in this pull request.

Writing rubric results

  • R1 narration: none; the edits are in the present tense.
  • R2 research in the record: none.
  • R3 evidence naming a change: none.
  • R4 rejected alternatives over one line or outside a decision: none; no Rejected: lines.
  • R5 pull request or issue references remaining: none in the record.
  • R6 ruled open questions still listing options: unchanged.
  • R7 project status (build status or work order): none added.

Scope

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

Validation

  • node scripts/check-knowledge.mjs: knowledge templates and records are aligned (exit 0).
  • Prettier: --check clean on the record.
  • git diff --check: clean.

@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

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

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

Request Review

@astracat-bot

astracat-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
❓ Needs maintainer input (for maintainers only) Nov 20, 2026, 1:52 AM UTC

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

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approval waits on an engineering owner's decision on the five draft edits, and one fix is needed either way.

spec:AST-140 is a draft record, and these edits reword FR5 and FR11 requirements that no current record states. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. What must be settled: the five edits to FR5, FR11 and FR11's verification row as written at this head.

Blocking:

  • FR11's Android sentence (line 421) makes the engine binding the adopter of the seam interfaces, while FR11 makes the native class the adopter at lines 348 and 423-428 and its verification row fails a class that does not adopt its seam (line 473), so name one adopter, for example "A class adopts its seam directly or through a host object it owns, and an engine binding calls those members."
Claims and files checked

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

  • File docs/specs/AST-140-react-native-platform-code/spec.md: one blocking finding (the Android adopter); the other four edits read consistently with FR3, FR4 and the type table.
  • Claim: five content edits, all in FR5, FR11 and FR11's verification row: verified.
  • Claim: none of the five was already true on main: verified.
  • Claim: FR3 and FR4 keep callbacks out of the binding: verified (one request object and one byte buffer per method; plain values only).
  • Claim: the verification change stops failing the table's own boxed array scalars and untyped maps: verified against the array and untyped-object rows.
  • Claim: no requirement, open question or decision is added or removed, and no other record changes: verified.
  • Claim: no other open pull request edits this record: verified among the open pull requests that mention it.
  • Claim: the Android wording is the owners' final wording: not checkable here (no linked decision).
  • Claim: writing-rubric results: verified for the added lines (present tense, no research, status or pull request references).
  • Claim: knowledge check, Prettier and whitespace check pass: verified at this head.
  • Claim: specification records only, with no internal context: verified.

Automated review (maintainer link)

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approval waits on an engineering owner's decision on the five draft edits to spec:AST-140; nothing else blocks.

  • spec:AST-140 is a draft record, and this pull request rewords FR5 (contractFeatures(contract) on the main entry), FR11's seam-reject status, FR11's type table without the callback row, FR11's Android seam sentence and FR11's verification row, none of which a current record states, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request (the author may do so as an engineering owner) or says which edits should change.

The Android seam sentence now names the class as the one adopter and the binding as the caller, which fixes the earlier finding. Non-blocking:

  • Miss: the verification row (line 474) also narrows "an engine type" to "an engine's own value type", which the conflict with the table's boxed values did not need; "an engine type or name lookup across it" keeps failing an engine supertype or annotation on a seam declaration, and the table's platform types still pass.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: five content changes, all inside FR5, FR11 and FR11's verification row. Verified: record lines 202-203, 376-379, 387-398, 420-423 and 474.
  • Claim: the edits come from the last automated review of the earlier spec pull request and the final Android wording. Verified for the four non-Android points against that review; the attribution of the Android wording cannot be checked from the repository.
  • Claim: on Android the seam is public Kotlin interfaces, a class adopts its seam directly or through a host object it owns, and an engine binding calls those members. Verified: lines 420-423.
  • Claim: contractFeatures(contract) is exported from the main entry .. Verified: lines 202-203.
  • Claim: a rejected seam call becomes the result object with status cancelled for the code cancelled and error otherwise. Verified: lines 376-379, consistent with FR3 (lines 149-152) and DEC-2.
  • Claim: the type table drops the callback row because FR3 and FR4 keep callbacks out of the binding. Verified: FR3 (lines 149-151) and FR4 (lines 169-171) allow no callback.
  • Claim: the verification row fails an engine's own value type, so the table's boxed array scalars and untyped dictionaries and maps pass. Verified: line 474 against table lines 396-397; see the non-blocking note on the narrowing.
  • Claim: none of the items was already true on the base branch. Verified against the base text of each line.
  • Claim: no other open pull request edits the record. Verified: every open pull request that mentions the record changes other files.
  • Claim: no requirement, open question or decision is added or removed, and no other record changes. Verified: one file changed; requirement, decision and open-question headings are unchanged.
  • Claim: specification only, with no implementation. Verified: the only changed file is the record.
  • Claim: writing rubric results R1 to R7 hold. Verified for the changed lines: present tense, no research, no pull request references, no rejected-alternative lines, no project status.
  • Claim: the public text carries no internal context. Verified.
  • Claim: the knowledge check exits 0, Prettier is clean on the record, and the whitespace check is clean. Verified: all three rerun at this head.
  • File docs/specs/AST-140-react-native-platform-code/spec.md: one non-blocking note (line 474); otherwise clear.

Automated review (maintainer link)

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approval waits on an engineering owner's decision on the five draft edits to spec:AST-140, and one description fix is needed either way.

spec:AST-140 is a draft record, and this pull request rewords FR5 (contractFeatures(contract) on the main entry), FR11's seam-reject status, FR11's type table without the callback row, FR11's Android seam sentence and FR11's verification row, none of which a current record states. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

  • Regression: the description says no other open pull request edits spec:AST-140, but #12998 now edits FR9 and its verification row, the row directly above FR11's, and its head conflicts with this one, so name it under "Existing authority searched" and say which lands first.

Optional: drop the comma in "an engine type, or any name lookup across that seam" (line 474), so "across that seam" also bounds "an engine type".

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: five content edits, all inside FR5, FR11 and FR11's verification row: verified (one record, 8 lines added and 7 removed).
  • Claim: four edits come from the last automated review of #12594: verified against that review's notes.
  • Claim: the Android sentence names the class as the adopter and the engine binding as the caller: verified (lines 420-423).
  • Claim: FR5 exports contractFeatures(contract) from the main entry: verified (lines 202-203).
  • Claim: a rejected seam call gets status cancelled for the code cancelled and error otherwise: verified (lines 376-379).
  • Claim: the type table drops the callback row: verified (lines 387-398).
  • Claim: the verification row fails an engine type or any name lookup across the seam and no longer names a value box: verified (line 474).
  • Claim: each item was checked against main and none was already true there: verified.
  • Claim: no requirement, open question or decision is added or removed, and no other record changes: verified.
  • Claim: no other open pull request edits spec:AST-140: false (#12998 edits FR9 and its verification row).
  • Claim: the knowledge check, Prettier and the whitespace check pass: verified at this head.
  • Claim: writing-rubric results, specification records only, no internal context: verified.
  • File docs/specs/AST-140-react-native-platform-code/spec.md: the five edits wait on an owner; one non-blocking wording note at line 474.

Automated review (maintainer link)

@imdreamrunner imdreamrunner mentioned this pull request Nov 19, 2026
8 tasks done

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approval waits on an engineering owner's decision on the five draft edits to spec:AST-140; nothing else blocks.

spec:AST-140 is a draft record, and this pull request rewords FR5 (contractFeatures(contract) on the main entry), FR11's seam-reject status, FR11's type table without the callback row, FR11's Android seam sentence and FR11's verification row, none of which a current record states. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

The earlier description fix and the comma note are resolved at this head: no other open pull request edits the record, and "crossing the seam" now bounds both failures in the verification row.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: five content edits, all inside FR5, FR11 and FR11's verification row: verified (one record, 8 lines added and 7 removed).
  • Claim: four edits come from the last automated review of #12594: verified against that review.
  • Claim: the Android sentence names the class as the adopter and the engine binding as the caller: verified (lines 420-423).
  • Claim: FR5 exports contractFeatures(contract) from the main entry: verified (lines 202-203).
  • Claim: a rejected seam call gets status cancelled for the code cancelled and error otherwise, the code kept as its reason: verified (lines 376-379).
  • Claim: the type table drops the callback row: verified (lines 387-398).
  • Claim: the verification row fails an engine type or any name lookup crossing the seam and no longer names a value box: verified (line 474).
  • Claim: each item was checked against main and none was already true there: verified.
  • Claim: no requirement, open question or decision is added or removed, and no other record changes: verified.
  • Claim: no other open pull request edits spec:AST-140: verified.
  • Claim: the knowledge check, Prettier and the whitespace check pass: verified at this head.
  • Claim: writing-rubric results, specification records only, no internal context: verified.
  • File docs/specs/AST-140-react-native-platform-code/spec.md: the five edits wait on an engineering owner; no other finding.

Automated review (maintainer link)

@imdreamrunner

Copy link
Copy Markdown
Contributor Author

/approve-spec f434ff7

@imdreamrunner
imdreamrunner marked this pull request as ready for review November 20, 2026 01:52
@imdreamrunner
imdreamrunner enabled auto-merge (squash) November 20, 2026 01:52
@imdreamrunner
imdreamrunner merged commit 2d4790d into main Nov 20, 2026
141 checks passed
@github-actions
github-actions Bot deleted the spec/ast-140-follow-ups branch November 20, 2026 06:06

This branch was successfully deployed

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

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant