Repository navigation
experimental theme how: a mood said beside an ask is named as not used, never dropped - #12723
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
2c8dd6f to
bb997fd
Compare
There was a problem hiding this comment.
Needs an owner decision, then two fixes. No current record defines what astryx experimental theme editor how answers, so whether it names a clause it cannot read beside an answered ask (a mood such as "spooky vibes", and as built also courtesy such as "thanks") needs an engineering owner's decision. An engineering owner records it by commenting /approve-spec <full head SHA> on this pull request once it is rebased, and the author may do so as an engineering owner.
- The branch was cut before
theme-r15-p22was rebuilt on two newer commits, so GitHub cannot merge it (conflicts inpackages/cli/api/theme-edit/_how-question.mjsandtheme-how-every-clause-answered.test.mjs), Files changed shows 234 files for a 3-file change, and CI has not run; rebasing the one commit onto the currenttheme-r15-p22applies cleanly. _how-question.mjs:6876names any held-back clause with no part or thing, so "bigger buttons, thanks" (also "thank you!" and "hmm") now ends withnot used: "thanks": … say it as a part and a look; skip clauses made only of chat words (the file'sPRONOUN_WORDlist already hasthanks,thankandplease) and add a test row for it.
Claims and files checked
Review mode: full; reason: no-earlier-review
Claims:
- Changeset: a mood said beside an ask is named as not used: verified (three new test rows; a probe of "bigger buttons, spooky vibes")
- Changeset: tagged experimental with a patch bump: verified
- Description: before, the mood was dropped without a word: verified (the new rows fail on the base)
- Description: the rest of the ask is answered as before: verified (identical commands across 18 probe asks)
- Description: one check in the how reader, with no setting, command or flag change: verified for the pull request's own commit; false as GitHub shows the branch (234 files from the outdated base)
- Description: a mood said alone keeps its own answer: verified (the No-match hint is unchanged)
- Description: regression rows added and 47 tests pass: verified
- Description: lint and typecheck pass: lint verified on the changed files; the strict typecheck shows no error in them
- Description: tagalongs removed or split: false as GitHub shows the branch (200 carried base-branch commits)
- Description: stacked on theme-r15-p22, which it needs: partly; it sits on an earlier version of that branch
- Description: no internal context in public text: verified
Files:
.changeset/experimental-theme-how-held-mood-named.md: clearpackages/cli/api/theme-edit/_how-question.mjs: courtesy-word finding; conflicts with the basepackages/cli/api/theme-edit/theme-how-every-clause-answered.test.mjs: conflicts with the base; needs a courtesy rowpackages/cli/api/theme-edit/_part-words.mjsandpackages/cli/api/theme-edit/theme-how-roles-and-sides.test.mjs: lack the base's two newer commits (rebase finding)- The other 229 files: identical to the base branch tip, no change once rebased
af97a46 to
ae60440
Compare
55b7d01 to
e53c061
Compare
There was a problem hiding this comment.
Needs an engineering owner's decision, then two fixes.
No current record defines what astryx experimental theme editor how answers, so whether it lists a clause it cannot read beside an answered ask (a mood such as "spooky vibes", and as built also courtesy such as "please" or "thanks") needs an engineering owner's decision; an engineering owner records it by commenting /approve-spec <full head SHA> on this pull request at the head that carries the final code, and the author may do so as an engineering owner. The rebase onto theme-r15-p22 resolves the earlier merge conflict.
_how-question.mjs:6894names any held-back clause with no part or thing, so "rounder cards, please" (also "thanks", "thank you!", "hmm") now ends withnot used: "please": … say it as a part and a look; skip clauses made only of chat words (the file'sPRONOUN_WORDlist already hasplease,thanksandthank) and add a test row for it.- Miss:
_how-question.mjs:31272-31274checks held clauses only against the answer text, so "rounder cards, not sure about 20px?" now lists"not sure about 20px?"twice on thenot used:line; skip a held clause the typed-value list already names, and add a test row for it.
Claims and files checked
Review mode: full; reason: rebase
Claims:
- Release note: a mood said beside an ask is named as not used: verified (three new test rows; a probe of "bigger buttons, spooky vibes")
- Release note: tagged experimental with a patch bump: verified (the changeset check passes)
- Description: before, the mood was dropped without a word: verified (the new rows fail on the base)
- Description: the rest of the ask is answered as before: verified (identical commands and other lines across 23 probed asks)
- Description: one check in the how reader names a held mood, with no setting, command or flag change: verified; the check also names courtesy and filler (first finding)
- Description: a mood said alone keeps its own answer: verified
- Description: regression rows added and 47 tests pass: verified
- Description: lint, typecheck and changeset check pass: lint and changeset check verified; the strict typecheck shows no error in the changed files
- Description: one defect, no tagalongs, no hidden API, default or interaction change: verified (three files, no public API change)
- Description: every piece of an ask is written or named, never dropped: holds for moods; the rule lives in a test, not a record (owner decision)
- Description: stacked on theme-r15-p22, which it needs: verified (the branch sits on its current tip)
- Description: no internal context in public text: verified
Files:
.changeset/experimental-theme-how-held-mood-named.md: clearpackages/cli/api/theme-edit/_how-question.mjs: courtesy finding (line 6894); duplicate finding (lines 31272-31274)packages/cli/api/theme-edit/theme-how-every-clause-answered.test.mjs: needs rows for courtesy and the duplicate
ae60440 to
5429950
Compare
e53c061 to
7ea48da
Compare
5429950 to
45c15a1
Compare
3796f59 to
b621cad
Compare
45c15a1 to
2399d96
Compare
7032241 to
7b8cc14
Compare
There was a problem hiding this comment.
Needs an engineering owner's decision, then three fixes.
No current record defines what astryx experimental theme editor how answers, so listing a clause it cannot read beside an answered ask on the not used: line, with chat-only clauses and clauses ending in "?" left unnamed, needs an engineering owner's decision, recorded by commenting /approve-spec <full head SHA> on this pull request at the head that carries the final code; the author is an engineering owner and may do so. The chat-word skip and the comma-case dedupe from the last round work: "please", "thanks", "thank you!" and "rounder cards, not sure about 20px?" now answer as intended.
_how-question.mjs:6889still names fillers and multi-word thanks, so "bigger buttons, thank you so much" (also "hmm", "cheers", "idk", "thanks a lot", "many thanks") ends withnot used: "thank you so much": … say it as a part and a look; add those words to the chat-word test and add rows for them._how-question.mjs:31303dedupes a held clause only on an exact match with a typed-value entry, so "bigger buttons. i wonder about 13px" (or the same with " - ") lists"bigger buttons. i wonder about 13px", "i wonder about 13px"; skip a held clause that any typed-value entry contains, and add a row with a period.- Regression: the Testing line (47 passing rows, a clean CLI typecheck and lint) is false at this head because
theme-r15-p22deletedrelLumbut kept its caller at_how-question.mjs:14876, so the row "translucent said of a part with a fill" throws aReferenceErrorand tsc and eslint flag that line; fix the caller on the base branch (read it withluminanceas:871does), rebase, and restate the result.
A mood said as a question ("bigger buttons, spooky vibes?") is still dropped without a word; the owner decision covers whether that is intended.
Claims and files checked
Review mode: full; reason: rebase
Claims:
- Release note: a mood said beside an ask is named as not used instead of dropped: verified for moods without a question mark (three new rows; a 40-ask probe); a mood ending in "?" is still dropped (non-blocking, owner decision)
- Release note: an experimental patch for the CLI: verified (the changeset check passes)
- Description: before, the mood was dropped without a word: verified (the three mood rows fail on the base)
- Description: the rest of the ask is answered as before: verified (identical commands and other answer lines across 40 probed asks)
- Description: pure chat words and questions back to the editor are not named: verified for "please" and "thanks!"; false for fillers and multi-word thanks (first finding)
- Description: one check in the how reader names a held mood, with no setting, command or flag change: verified
- Description: a mood said alone keeps its own answer: verified
- Description: regression rows for chat words, a question back and a clause named once: verified (they pass); the clause-named-once row covers only the comma form (second finding)
- Description: 47 rows pass, the CLI typechecks, and lint passes: false at this head (third finding); the changeset check passes
- Description: one defect restored, no tagalongs, no hidden API, default or interaction change: verified (three files, no public API change)
- Description: every clause ends as a command or a named line: holds for moods without a question mark; the contract lives in a test, not a record (owner decision)
- Description: stacked on the round-15 theme editor branch, which it needs: verified (one commit on the branch tip)
- Description: no internal context in public text: verified
Files:
.changeset/experimental-theme-how-held-mood-named.md: clearpackages/cli/api/theme-edit/_how-question.mjs: filler finding (line 6889); duplicate finding (line 31303); base-branch caller at line 14876 (third finding)packages/cli/api/theme-edit/theme-how-every-clause-answered.test.mjs: needs rows for fillers and a period-split clause; one inherited row fails at this head
5c88613 to
e0ef5cb
Compare
94a2e1f to
6169eb2
Compare
There was a problem hiding this comment.
Needs an engineering owner's decision and one description fix.
No current record defines what astryx experimental theme editor how lists on its not used: line, so naming a held-back mood beside an answered ask, while leaving chat-only clauses and question-word questions unnamed, needs an engineering owner's decision; an engineering owner records it by commenting /approve-spec <full head SHA> on this pull request at the head that carries the final code, and the author may do so as an engineering owner. The rebase onto main clears the earlier conflict, and the code findings from earlier reviews stay fixed. For the decision's boundary: chat outside the word list ("haha", "sounds good", "thank you kindly") is named as an unread ask, and "pretty please" is quoted as "pretty".
- The Testing section says the run was on a round-15 branch and that the translucent-fill row fails on both trees, but the branch now sits on
main, the file passes 57 of 57, and the base passes 46 of 46 including that row, so restate it.
Claims and files checked
Review mode: full; reason: rebase
Claims:
- Release note, a mood said beside an ask is now named as not used instead of dropped: verified (new rows pass; "bigger buttons, spooky vibes" names it)
- Release note, an experimental patch for the CLI: verified (the changeset check passes)
- User impact, before the change the mood was dropped without a word, and now it is named while the rest is answered as before: verified (commands and other answer lines identical on 45 asks)
- Every piece of an ask is written or named: holds for the probed moods and typed values; chat is left out on purpose (part of the owner decision)
- An owner decision that moods are named and chat words and questions back are not: not established; no record or approval carries it
- The answer contract is covered by the test file: the rows pass; the contract lives in a test, not a record
- One check, with no setting, command or flag change: no setting, command or flag changes; the change also filters chat out of the existing typed and silent entries
- Reproduction before, result after, and a mood said alone keeping its answer: verified
- Regression rows for a mood, chat and thanks words, a question back, a mood as a question, a typed value and a clause named once: verified; all 11 pass, and 5 fail on the base code
- One defect restored, with no hidden API, default or interaction change: no API or default change; whether it restores or adds behavior is the owner decision
- No internal context in public text: verified
- Every new row passes: verified; the translucent-fill failure on both trees: false (finding above)
- The CLI typechecks, and the changeset check and lint pass: lint, the changeset check and three typecheck configurations pass; the strict configuration here reports two errors only in unchanged template pages that need a built theme package
- First of a three-part stack: the other two build on this branch rather than
main, so this one is reviewed on its own
Files:
.changeset/experimental-theme-how-held-mood-named.md: clearpackages/cli/api/theme-edit/_how-question.mjs: clear apart from the owner decision on what is namedpackages/cli/api/theme-edit/theme-how-every-clause-answered.test.mjs: clear; 57 of 57 pass
|
Covers the theme-editor reading this pull request records (the owner's ruling): an ask's mood clauses the editor does not read are printed in the "not used" line; chat words and questions back are not named there. |
|
/approve-spec f3e752e |
…d, never dropped Chat words and a question back to the editor are not asks; a held clause is named once. [skip ci]
|
/approve-spec e9d2a78 |
There was a problem hiding this comment.
Changes requested for one description fix; the code itself needs nothing more.
The direction (a held-back mood is named on not used:, while chat words and question-word questions are not) is recorded by an engineering owner's approval of this head, the new rows pass, and commands and every other answer line are unchanged.
- The Size section says the three pull requests add 163 lines to
_how-question.mjs(33,090 → 33,253 on a namedmaincommit), but at their current heads they sit onfeature/theme-editor, where this pull request takes the file from 32,833 to 32,888 lines and the three together reach 33,022 (189 lines), so restate it with the current base and counts.
Optional, inside the approved boundary: only one trailing courtesy word is stripped, so "pretty please" is quoted as "pretty" and "spooky vibes please thanks" as "spooky vibes please".
Claims and files checked
Review mode: same-head; reason: none
Claims:
- Release note, a mood said beside an ask is now named as not used instead of dropped: verified (the new rows pass; "bigger buttons, spooky vibes" names it)
- Release note, an experimental patch for the CLI: verified (a patch entry led by the experimental tag; the changeset check passes)
- Commit message, chat words and a question back are not asks and a held clause is named once: verified (the chat, question and named-once rows pass)
- Stack line, three chained pull requests: a chain, but the other two build on this branch rather than
main, so this one is reviewed on its own - User impact, the mood was dropped without a word before, and now it is named while the rest is answered as before: verified (commands and other answer lines identical on 76 asks)
- Problem and fit, every piece of an ask is written or named: holds for the probed moods and typed values; chat is left out by the approved decision
- Decision, moods are named and chat words and questions back are not: verified (an engineering owner approved this head; the code matches it)
- Expected behavior, the answer contract is covered by the every-clause test file: verified (its header states the rule; 59 of 59 rows pass)
- Smallest restoration, one check with no setting, command or flag change: verified; the change also keeps chat out of the existing typed and silent entries
- Evidence, reproduction before, result after, and a mood said alone keeping its answer: verified
- Regression rows for a mood, chat and thanks words, a question back, a mood as a question, a typed value and a clause named once: verified (all pass; 5 fail on the base code)
- Scope, one defect restored with no hidden API, default or interaction change: verified (no API or default change)
- Scope, no internal context in public text: verified
- Scope, separable tagalongs removed: verified (no tagalong; only the
howanswer changes) - Size, the stack adds 163 lines (33,090 → 33,253 on a named
maincommit): false (finding above) - Size, a trim was tried and dropped: not checkable here; it describes a discarded experiment
- Size, the file does not end smaller than its base: verified (32,833 → 32,888)
- Testing, the named test run shows no failure the base does not have: verified for this pull request (7,123 pass, none fail); not run with the two pull requests above it
- Testing, build, typecheck, lint, knowledge and changeset checks pass: lint, the changeset, knowledge and CLI-structure checks and three CLI typecheck configurations pass; the strict configuration reports two errors only in unchanged template pages that need a built theme, the same on the base; the build was not run
- Replay line, no worse answers: not checkable here (the author's own replay); consistent with identical commands on 76 probed asks
- Preflight line, pass: not checkable here (the author's own run); the overlapping checks above pass
Files:
.changeset/experimental-theme-how-held-mood-named.md: clearpackages/cli/api/theme-edit/_how-question.mjs: clearpackages/cli/api/theme-edit/theme-how-every-clause-answered.test.mjs: clear; 59 of 59 pass
There was a problem hiding this comment.
Approved: the description now gives the current size figures, and nothing else blocks.
An engineering owner's approval of this head records the direction (a held-back mood such as "spooky vibes" in "bigger buttons, spooky vibes" is named on not used:, while chat words and question-word questions are not), the five new mood and thanks rows fail on the base code and every row passes on this head, and commands and every other answer line are unchanged. CI's test, lint and build workflows run only for pull requests into main, so none of them ran on this head.
Optional, inside the approved boundary: only one trailing courtesy word is stripped, so "pretty please" is quoted as "pretty" and "spooky vibes please thanks" as "spooky vibes please".
Claims and files checked
Review mode: same-head; reason: none
changed rules (0): none
Claims:
- Title, a mood said beside an ask is named as not used, never dropped: verified (the mood rows pass on this head and fail on the base code)
- Release note, a mood said beside an ask is now named as not used instead of dropped: verified ("bigger buttons, spooky vibes" names it)
- Release note, an experimental patch for the CLI: verified (a patch entry led by the experimental tag; the changeset check passes)
- Commit message, chat words and a question back are not asks and a held clause is named once: verified (the chat, question and named-once rows pass)
- Stack line, three chained pull requests: a chain (each head contains the one below), but the two above build on this branch rather than
main, so this one is reviewed on its own - User impact, the mood was dropped without a word before, and now it is named while the rest is answered as before: verified (commands and other answer lines identical on 76 asks)
- Problem and fit, every piece of an ask is written or named: holds for the probed moods and typed values; chat is left out by the approved decision
- Decision, moods are named and chat words and questions back are not: verified (an engineering owner approved this head; the code matches it)
- Expected behavior, the answer contract is covered by the every-clause test file: verified (its header states the rule; 59 of 59 rows pass)
- Smallest restoration, one check with no setting, command or flag change: verified; the change also keeps chat out of the existing typed and silent entries
- Evidence, reproduction before, result after, and a mood said alone keeping its answer: verified
- Regression rows for a mood, chat and thanks words, a question back, a mood as a question, a typed value and a clause named once: verified (all pass; 5 fail on the base code)
- Scope, one defect restored with no hidden API, default or interaction change: verified (no API or default change)
- Scope, separable tagalongs removed: verified (no tagalong; only the
howanswer changes) - Scope, no internal context in public text: verified
- Size, this pull request takes the module from 32,833 to 32,888 lines on its base branch: verified
- Size, the three pull requests together take it to 33,030 lines: verified at their current heads
- Size, the file does not end smaller than its base: verified
- Testing, the named test run shows no failure the base does not have: verified for this pull request (7,123 pass, none fail); not run together with the two pull requests above it
- Testing, build, typecheck, lint, knowledge and changeset checks pass: lint, the changeset, knowledge and CLI-structure checks and three CLI typecheck configurations pass; the strict configuration reports two errors only in unchanged template pages that need a built theme, the same on the base; the build was not run
- Replay line, no worse answers: consistent (no command or other answer line changed on 76 probed asks)
- Preflight line, pass: consistent (the checks it shares with the list above pass)
Files:
.changeset/experimental-theme-how-held-mood-named.md: clearpackages/cli/api/theme-edit/_how-question.mjs: clear (one optional note above)packages/cli/api/theme-edit/theme-how-every-clause-answered.test.mjs: clear; 59 of 59 pass
|
Landed on main in #13315. |
Stack: #12723 → #12772 → #12773
User impact
A person asks
astryx experimental theme editor howfor a change and adds a mood beside it ("bigger buttons, spooky vibes"). Before, the mood was dropped with no word, so the person could not tell whether the editor had read it. Now the answer names it as not used, and the rest of the ask is answered as before.Problem and solution fit
Found while cloning themes from plain-language asks: a mood word in a list of asks was neither written nor named. The general rule: every piece of an ask is written or named as not used, never dropped without a word. This change applies that rule to a mood said beside an ask.
Decision
Owner decision: in the experimental
astryx experimental theme editor how, a mood or style clause said beside an ask that the editor does not read is named as "not used", never dropped silently; pure chat words ("please", "thanks!") and questions back to the editor are not named.Expected behavior and authority
The editor's answer contract: every clause is answered, as a command or as a named line (covered by
theme-how-every-clause-answered.test.mjs).Smallest restoration
One check in the how reader names a held mood as not used. No setting changes, and no new command or flag.
Evidence
theme-how-every-clause-answered.test.mjs: a mood named; chat words and thanks phrases not named; a question back not named; a mood said as a question named; a typed value no line writes still named; a held clause named once (comma and period forms).Scope
Components: cli (experimental theme editor how)
Size
On
feature/theme-editor(3db4f41), this PR takes_how-question.mjsfrom 32,833 to 32,888 lines (+55). The three PRs of this stack together take it to 33,030 (+197). The file does not end smaller than its base.Testing
CI=1 vitest run --project node packages/cli/api/theme-edit packages/cli/api/theme packages/cli/clients/cli/commands/experimentalon feature/theme-editor plus this stack: no failure that feature/theme-editor does not have. The build, typecheck, lint, knowledge and changeset checks pass in the local preflight's CI half.replay: worse 0 at e9d2a78
preflight: pass e9d2a78 (review deferred to batch: subagent cap)