Repository navigation
feat(desktop): draft child-text selectors, member counts and attribute text, and fold in a third batch's findings - #9132
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
[Medium impact] No new blocking issue was found in the reviewed changes. SummaryAdds child-text selectors, member counts, and checks for text stored in attributes.
Review used the full PR range because the previous and current heads have different merge bases with the supplied target commit. Diagram%%{init: {'theme': 'neutral'}}%%
flowchart LR
Capture[Captured seed and end] --> Views[Read document views]
Views --> Draft[Suggest checks, values and guards]
Draft --> Task[Author selects task checks]
Capture --> Seed[Map paths and scrub seed]
Seed --> Export[Write bundle]
Task --> Export
Export --> Live[Read saved app files]
Live --> Wait[Wait for files to settle]
Wait --> Grade[Evaluate task checks]
Reviews (55) · Last reviewed commit: "Merge remote-tracking branch 'live-5600/..." · Reviewed by Greptile |
… into morluto#9132 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
morluto#9091's review fixes meet this branch's guard rules. One sibling cap of 16 remains, with variesAmong computed once per step. draftGuards stops once four guards that aren't coordinates are in hand. Two incoming changes needed adapting here: leftOutFiles now takes an array, and AbiWord's lone section is named by its xid. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@morluto this one is ready for review. It merges cleanly into main, and all checks pass. It is stacked on #9114, so once that merges, its diff shrinks to this PR's own commits. The description's "Final review round" section lists the main merges and the fixes from an independent review of this PR's diff. |
…ckages' into HEAD
# Conflicts: # src/domain/desktop/appTaskDraftNoise.test.ts
# Conflicts: # src/application/desktop/DesktopApplicationExport.ts # src/application/desktop/DesktopBuildComputers.ts # src/desktop/AgentEnvComputer.ts # src/domain/desktop/stateRoles.ts
# Conflicts: # docs/desktop-build-witness.md # docs/specs/desktop-app-environments/build-witness/spec.md
# Conflicts: # docs/desktop-application-tasks.md # src/domain/desktop/appTaskDraftNamed.ts # src/domain/desktop/appTaskDraftNoise.ts # src/domain/desktop/appTaskDraftValues.test.ts
# Conflicts: # src/composition/capabilityServices.ts
# Conflicts: # .agents/skills/reverse-engineer-anything/references/desktop-build.md # docs/desktop-application-capture.md # docs/desktop-application-export.md # docs/desktop-application-state.md # docs/desktop-application-tasks.md # docs/desktop-build-computer.md # docs/desktop-build-witness.md # docs/specs/desktop-app-environments/build-witness/spec.md # docs/specs/desktop-app-environments/build-witness/verification.md # src/application/desktop/DesktopApplicationCapture.ts # src/application/desktop/DesktopApplicationExport.test.ts # src/application/desktop/DesktopApplicationExport.ts # src/application/desktop/DesktopBuildBundle.ts # src/application/desktop/DesktopBuildCapture.ts # src/application/desktop/DesktopBuildComputers.ts # src/application/desktop/DesktopBuildOutputRead.test.ts # src/application/desktop/DesktopBuildSummary.ts # src/application/desktop/DesktopBuildWitness.test.ts # src/application/desktop/DesktopExportFiles.ts # src/application/desktop/DesktopExportLaunch.ts # src/application/desktop/DesktopGzipDocument.test.ts # src/application/desktop/DesktopTaskDraft.ts # src/application/desktop/DesktopTaskDraftNotes.test.ts # src/application/desktop/DesktopTaskExport.test.ts # src/contracts/desktopBuildToolContracts.ts # src/desktop/DesktopApplicationSession.test.ts # src/domain/desktop/appExport.test.ts # src/domain/desktop/appExport.ts # src/domain/desktop/appExportPython.ts # src/domain/desktop/appExportUnowned.test.ts # src/domain/desktop/appExportUnowned.ts # src/domain/desktop/appTaskChecks.fixture.ts # src/domain/desktop/appTaskChecks.ts # src/domain/desktop/appTaskDraft.fixture.ts # src/domain/desktop/appTaskDraft.ts # src/domain/desktop/appTaskDraftAdded.test.ts # src/domain/desktop/appTaskDraftAdded.ts # src/domain/desktop/appTaskDraftFileNotes.test.ts # src/domain/desktop/appTaskDraftFileNotes.ts # src/domain/desktop/appTaskDraftGuards.test.ts # src/domain/desktop/appTaskDraftGuards.ts # src/domain/desktop/appTaskDraftLineGuards.ts # src/domain/desktop/appTaskDraftNamed.ts # src/domain/desktop/appTaskDraftNoise.test.ts # src/domain/desktop/appTaskDraftNoise.ts # src/domain/desktop/appTaskDraftNotes.ts # src/domain/desktop/appTaskDraftPositional.test.ts # src/domain/desktop/appTaskDraftScalars.ts # src/domain/desktop/appTaskDraftText.ts # src/domain/desktop/appTaskDraftTextAdded.test.ts # src/domain/desktop/appTaskDraftValues.test.ts # src/domain/desktop/appTaskDraftValues.ts # src/domain/desktop/appTaskPython.ts # src/domain/desktop/attributeRank.ts # src/domain/desktop/desktopCapture.test.ts # src/domain/desktop/desktopCapture.ts # src/domain/desktop/positionalKeys.ts # src/domain/desktop/runtimeFiles.ts # src/domain/desktop/seedScrub.ts # src/domain/desktop/selectorCandidates.ts # src/domain/desktop/stateChanges.ts # src/domain/desktop/stateFormats.ts # src/domain/desktop/stateRoles.test.ts # src/domain/desktop/stateRoles.ts # src/domain/desktop/viewPointer.ts # tests/boundary/mcp/buildCaptureDraftMcp.test.ts # tests/boundary/mcp/buildCaptureRetryMcp.test.ts # tests/boundary/mcp/buildComputerMcp.test.ts # tests/boundary/providers/desktopExportPython.test.ts # tests/fixtures/buildCaptureFakes.ts
# Conflicts: # .agents/skills/reverse-engineer-anything/references/desktop-build.md # docs/desktop-build-witness.md # docs/specs/desktop-app-environments/build-witness/spec.md # src/application/desktop/DesktopTaskDraftNotes.test.ts # src/domain/desktop/appTaskChecks.fixture.ts # src/domain/desktop/appTaskChecks.test.ts # src/domain/desktop/appTaskChecks.ts # src/domain/desktop/appTaskDraftAdded.ts # src/domain/desktop/appTaskDraftGuards.ts # src/domain/desktop/appTaskDraftNamed.ts # src/domain/desktop/appTaskDraftNoise.test.ts # src/domain/desktop/appTaskDraftText.ts # src/domain/desktop/appTaskDraftValues.ts # src/domain/desktop/appTaskPython.ts # src/domain/desktop/appTaskPythonPointer.ts # src/domain/desktop/selectorCandidates.ts # src/domain/desktop/viewPointer.test.ts # src/domain/desktop/viewPointer.ts # src/domain/xmlDocument.ts
Desktop task drafts now suggest child-text selectors, member counts and attribute-text checks supported by the task evaluator.
The draft pairs records, selects stable names and distinguishes likely layout or bookkeeping noise from candidate checks.
Maintainer follow-up and validation
Drafting now recognizes Unicode XML roots and multiline attribute ownership, preserves requested UUID-shaped text and relationship IDs such as accountId, and avoids separate fragment-count checks for joined text already covered by a text assertion. Export restores nested aliases parent-first in either input order. Regressions failed on the original implementations and pass after the repairs. The owning task guide now states the ID evidence rule and the remaining manual-review limitation for save-generated IDs. Parent fixes, including selected paths and format ownership, are included. Numeric drafting and evaluation now share whitespace-aware parsing, so a suggested near-value check must require the edit and falls back to exact comparison when necessary. Additional checks passed:
npm run docs:check.At head
9e1119a7fa, the affected tests below completed with 399 passed (399);npm run check:fastandgit diff --checkpassed. This includes the updated parent stack and main through25d3c7237f. Checks use source/domain and controlled boundary fixtures; no real desktop provider qualification was performed. Current-head CI and review remain required before auto-merge.Maintainer follow-up
Quoted ID_-shaped requested text remains literal unless supported by actual ID assignments. TypeScript and generated Python share the XML name grammar, including Unicode roots. Oversized nested memo values and selector candidates use the existing bounded-check omission rule while retaining short checks. Truncated member-count reads retain their unknown status and reason in both evaluators. Archive ID discovery walks declared XML roots, preserving type references without treating XML-shaped JSON as XML. Removed duplicate tests while retaining stronger coverage. Negative controls failed before these repairs; corrected path/alias and exact text-check parents are included. Additional checks passed:
npm run docs:check.At head
e14095f80b, the affected tests below completed with 497 passed (497);npm run check:fast,npm run format:checkandgit diff --checkpassed. This includes the updated parent stack and main through25d3c7237f. Checks use source/domain and controlled boundary fixtures; no real desktop provider qualification was performed. Current-head CI and review remain required before auto-merge.Author readiness
Human owner: @earakely-scale