Repository navigation
spec(AST-094): DEC-31 states the owner's test-only and records-only carry - #11602
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 the new DEC-31 carry, and two record fixes are needed first.
This pull request adds a requirement to spec:AST-094 DEC-31, so that test-only and record-only changes keep earlier device and emulator evidence. It also rewords the 2026-11-13 sentence, the heading and the verification row. An engineering owner records the decision by commenting /approve-spec <full head SHA> on the head that carries the fixes, and the author may do so as an engineering owner. The owner also needs to settle whether a __tests__/ file that a Storybook story renders counts as a test file.
- The owner's words "Yes, when CI proves they regenerate identically." now end the 2026-11-12 test-and-spec amendment (
spec.md:1556-1557) instead of the 2026-11-13 generated-files amendment they answer, so move them back afterspec.md:1548. - The test-file definition requires both "no rendered or shipped code imports" and "classified by path" (
spec.md:1552-1555), while the verification row says only "classified by path" (spec.md:1136), and the two readings disagree onpackages/core/src/__tests__/PresentedHitTestingLab.tsx, the iPhone device-check harness that a story renders, so pick one rule and state it in both places.
Claims and files checked
- The owner's 2026-11-12 decision is recorded in DEC-31: present at
spec.md:1550-1557. The decision is not traceable in the repository beyond the quoted option. - Evidence carries over test-only or record-only commits and merge changes, classified by path, and any other path needs a new take: stated at
spec.md:1550-1556, with the test-file contradiction above. - The 2026-11-13 sentence sent any hand-edited own file to a new take and now names hand-edited source files: verified against the base and
spec.md:1546-1548. - The heading and the verification row say the same: verified at
spec.md:1519andspec.md:1136. The row does not state the authored-commit case. - Records only, with no code, public API or changeset: verified. One Markdown file changes.
- Writing rubric results R1 to R7: verified against the added lines.
docs/specs/AST-094-touch-presentations/spec.md: the two findings above.
|
/approve-spec da366da |
There was a problem hiding this comment.
Changes requested: DEC-31 needs two record fixes before this can be approved.
The direction is approved by an engineering owner at this head. The fixes need a new commit, so an engineering owner records the approval again by commenting /approve-spec <full head SHA> on that head.
- The owner's words "Yes, when CI proves they regenerate identically." now end the 2026-11-12 test-and-spec amendment (
spec.md:1556-1557) instead of the 2026-11-13 generated-files amendment they belong to, so move them back to the end ofspec.md:1548. - DEC-31 counts only test files "that no rendered or shipped code imports" and then says "classified by path" (
spec.md:1552-1555), while the verification row says only "classified by path" (spec.md:1136), so the two disagree on a story-rendered harness such aspackages/core/src/__tests__/PresentedHitTestingLab.tsx; state one rule in the same words in both places.
Claims and files checked
- Claim: the record adds the owner's decision that test-only and record-only changes keep earlier device and emulator evidence, classified by path. Verified at
spec.md:1550-1556, which also adds an import condition the description does not mention. - Claim: any other path still requires a new take. Verified at
spec.md:1555. - Claim: the 2026-11-13 sentence now names hand-edited source files. Verified at
spec.md:1546-1548. - Claim: the heading and the verification row say the same. The heading is verified at
spec.md:1519; the row is false, as it carries no import condition (spec.md:1136). - Claim: records only, with no code, public API or changeset. Verified: one Markdown record changes.
- Claim: the writing rubric results R1 to R7. Verified against the added lines.
- File
docs/specs/AST-094-touch-presentations/spec.md: two blocking findings above.
… and its row; the generated-files quote returns to its amendment
|
/approve-spec f1f0dbf |
There was a problem hiding this comment.
Changes requested: one wording fix in DEC-31's verification row.
The direction is approved by an engineering owner at this head, and the owner quote is back under the generated-files amendment. The fix needs a new commit, so an engineering owner records the approval again by commenting /approve-spec <full head SHA> on that head.
- DEC-31 defines a test-only file as one under a
__tests__/folder or named*.test.*or*.spec.*"that no rendered or shipped code imports, a story included" (spec.md:1572-1574), while theall (DEC-31)verification row still says "a test-only file or knowledge record, classified by path" (spec.md:1155), so the two disagree on a__tests__/harness a story renders, such as the iPhone device-check harnesspackages/core/src/__tests__/PresentedHitTestingLab.tsx; state the row with DEC-31's definition, for example "and a test-only file as DEC-31 defines it, or a knowledge record".
Two smaller points, not blocking: the row's exception hangs off "any overlap", so it does not say that an authored commit confined to test-only files or records passes; and "Any other file requires a new take." closes the 2026-11-12 paragraph, which is printed after the later 2026-11-13 generated-files amendment, so read in order it reads as withdrawing that carry.
Claims and files checked
- The record states the owner's 2026-11-12 carry for test-only files and knowledge records: verified at
spec.md:1570-1576, except that it classifies test-only files by path plus importers, not by path alone as the description says. - Any other file still requires a new take: verified at
spec.md:1575-1576. - The 2026-11-13 sentence now names hand-edited source files: verified at
spec.md:1565-1566. - The heading says the same: verified at
spec.md:1538. - The
all (DEC-31)verification row says the same: false, as the row classifies by path (spec.md:1155). - Records only, with no code, public API or changeset: verified, one Markdown record.
- The writing rubric results R1 to R7: verified against the added lines.
docs/specs/AST-094-touch-presentations/spec.md: the findings above.
|
/approve-spec 01b454a |
There was a problem hiding this comment.
Changes requested: two fixes, both missed by the earlier review.
The direction is approved by an engineering owner at this head, and every point from the earlier review is fixed. The record fix needs a new commit, so an engineering owner then records the approval again by commenting /approve-spec <full head SHA> on that head; the description fix needs no commit.
- Miss: DEC-31's verification row passes "an overlap confined to test-only files", which takes in a test-only file the pull request's tests import directly, while DEC-31's own text carries only "a merge's change to the pull request's own files" and still sends a merge that changes "a file its changes import directly" to a new take (
spec.md:1155againstspec.md:1565-1572), so a main merge that editspackages/core/src/__tests__/stubMatchMedia.ts, whichpackages/core/src/Layer/holdEntranceInput.test.tsimports, gets two answers; either extend the decision to test-only direct imports or narrow the row to the pull request's own files. - Miss: the description says the carry covers test files "classified by path", but the record counts a test-only file only when no rendered or shipped code imports it, a story included (
spec.md:1572-1574), so the story-rendered__tests__/PresentedHitTestingLab.tsxharness still needs a new take; restate the description with the record's definition.
Claims and files checked
- The record states the owner's 2026-11-12 carry for test-only files and knowledge records: verified at
spec.md:1570-1576. - Test files are classified by path: false, as the record adds an importer test (
spec.md:1572-1574). - Any other path still requires a new take: verified at
spec.md:1575, with the generated-file carry kept. - The 2026-11-13 sentence now names hand-edited source files: verified at
spec.md:1565-1566. - The heading says the same: verified at
spec.md:1538. - The verification row says the same: verified for the test-only definition at
spec.md:1155, but its scope is wider than the decision's, as above. - Records only, with no code, public API or changeset: verified, one Markdown record.
- The writing rubric results R1 to R7: verified against the added lines.
docs/specs/AST-094-touch-presentations/spec.md: the findings above.
…y among the pull request's own files
|
/approve-spec 4489e47 |
|
Decision: D-20261114-069 Records the owner's decision of 2026-11-12 in AST-094 DEC-31: device and emulator evidence carries over a commit, or a main merge's change to the pull request's own files, that touches only test-only files or knowledge records, defined the same way in the decision and its verification row. Records only. |
There was a problem hiding this comment.
Changes requested: one description fix, with no new commit needed.
The record is approved by an engineering owner at this head, and every point from the earlier review is fixed. Editing the description keeps the head, so the current approval stands.
- The description says the carry covers only test-only files and that any other path still requires a new take, but DEC-31 also carries knowledge records, Markdown under
docs/specs/,docs/architecture/,docs/families/ordocs/design/(spec.md:1570-1575, and the verification row atspec.md:1155); add them to the first paragraph and keep the generated files DEC-31 already carries out of "any other path".
Claims and files checked
- The record states the owner's 2026-11-12 decision in DEC-31: verified at
spec.md:1570-1576. - Evidence carries over a commit, or a main merge's change to the pull request's own files, that touches only test-only files, defined by path and by having no rendered or shipped importer: verified at
spec.md:1570-1574. - Any other path still requires a new take: false, as knowledge records also carry and generated files keep their carry (
spec.md:1562-1575). - The 2026-11-13 sentence now names hand-edited source files: verified at
spec.md:1565-1567. - The heading and the verification row say the same: verified at
spec.md:1538andspec.md:1155. - Records only, with no code, public API or changeset: verified, one Markdown record.
- The writing rubric results R1 to R7: verified against the added lines.
- A main merge that changes a test-only file the pull request's tests import still needs a new take: verified, as the row's exception covers only the pull request's own files (
spec.md:1155) and DEC-31 keeps direct imports as a new take (spec.md:1565-1567). docs/specs/AST-094-touch-presentations/spec.md: the finding above, plus one non-blocking note that*.spec.*also matches theme records underpackages/themes/.
There was a problem hiding this comment.
Approved: an engineering owner approved the DEC-31 record change at this head, and the description now matches it.
DEC-31 now carries device and emulator evidence over test-only and record-only changes, and its verification row gives the same answer in each case, including a test harness a story renders and a test helper the pull request does not change. CI has run on this head and passed.
Claims and files checked
- The record states the owner's 2026-11-12 decision in DEC-31, which it lacked: verified (
spec.md:1570-1576). - Evidence carries over a commit, or a main merge's change to the pull request's own files, that touches only test-only files or knowledge records, with both terms defined: verified (
spec.md:1570-1575). - Any other file, apart from the generated files DEC-31 already carries, still requires a new take: verified (
spec.md:1575). - The 2026-11-13 sentence now names hand-edited source files: verified (
spec.md:1565-1567). - The heading and the verification row say the same: verified (
spec.md:1538,spec.md:1155). - Records only, with no code, public API or changeset: verified.
- The writing rubric results R1 to R7: verified against the added lines.
- A main merge that changes a test-only file the pull request's tests import directly still needs a new take: verified (
spec.md:1155,spec.md:1565-1567). docs/specs/AST-094-touch-presentations/spec.md: clear.
Records the owner's decision of 2026-11-12 in AST-094 DEC-31, where it was missing: device and emulator evidence carries over a commit, or a main merge's change to the pull request's own files, that touches only test-only files (under
__tests__/or named*.test.*or*.spec.*, imported by no rendered or shipped code, a story included) or knowledge records (Markdown underdocs/specs/,docs/architecture/,docs/families/ordocs/design/) ("Test and spec-only"). Any other file, apart from the generated files DEC-31 already carries, still requires a new take.It also corrects the sentence added on 2026-11-13, which said any hand-edited own file forces a new take and so contradicted that decision: it now names hand-edited source files. The heading and the
all (DEC-31)verification row say the same.Records only: no code, no public API, no changeset.
Writing rubric results
Scope (stated for review): the carry covers only the pull request's own files, because the owner's card asked about a test-only or spec-only commit. A main merge that changes a test-only file the pull request's tests import directly (for example a shared test stub) still takes evidence again; extending the carry to that case would need the owner's own decision.