Repository navigation
feat(desktop): check text kept in attributes, name a record by a child's text, and count members - #9114
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. |
[High impact] The reviewed changes appear safe to merge; all four numbered findings are addressed. SummaryAdds XML text checks over attributes, selectors using child text, and array-member counts in both TypeScript and the exported Python verifier.
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart LR
A[Task schema] --> B[TypeScript checks]
A --> C[Exported Python checks]
D[Captured end view] --> B
E[Shipped seed bytes] --> F[Read rewritten seed view]
F --> B
B --> G[Accept task only when unfinished]
C --> H[Grade saved app files]
Reviews (43) · Last reviewed commit: "Merge branch 'codex/desktop-ready-9112' ..." · Reviewed by Greptile |
… into morluto#9132 Co-Authored-By: Claude Opus 5.5 <[email protected]>
main's morluto#9139 bounds the exported verifier's array-index conversion in the pointer code this branch moved into appTaskPythonPointer.ts. The bound is applied there, and appTaskPython.ts keeps this branch's shared pointer. 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]>
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]>
# Conflicts: # src/application/desktop/DesktopExportFiles.ts
# Conflicts: # .agents/skills/reverse-engineer-anything/references/desktop-build.md # docs/desktop-build-witness.md # docs/specs/desktop-app-environments/build-witness/verification.md # src/application/desktop/DesktopApplicationExport.test.ts # src/application/desktop/DesktopApplicationExport.ts # src/application/desktop/DesktopBuildCapture.ts # src/application/desktop/DesktopExportLaunch.ts # src/domain/desktop/appExport.test.ts # src/domain/desktop/appExport.ts # src/domain/desktop/seedDocument.test.ts # src/domain/desktop/seedDocument.ts # tests/boundary/mcp/buildCaptureMcp.test.ts # tests/fixtures/fakeBuildComputerRea.ts
…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: # 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-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/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/appTaskDraft.fixture.ts # src/domain/desktop/appTaskDraft.ts # src/domain/desktop/appTaskDraftAdded.test.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/appTaskDraftNoise.ts # src/domain/desktop/appTaskDraftText.ts # src/domain/desktop/appTaskDraftValues.ts # src/domain/desktop/desktopCapture.test.ts # src/domain/desktop/desktopCapture.ts # src/domain/desktop/runtimeFiles.ts # src/domain/desktop/seedScrub.ts # src/domain/desktop/selectorCandidates.ts # src/domain/desktop/stateRoles.test.ts # src/domain/desktop/stateRoles.ts # src/domain/desktop/viewPointer.ts # tests/boundary/mcp/buildCaptureRetryMcp.test.ts # tests/boundary/mcp/buildComputerMcp.test.ts # tests/boundary/providers/desktopExportPython.test.ts # tests/fixtures/buildCaptureFakes.ts
# Conflicts: # docs/desktop-build-witness.md # docs/specs/desktop-app-environments/build-witness/spec.md # src/domain/xmlDocument.test.ts # src/domain/xmlDocument.ts
Desktop tasks can check text held in XML attributes, select records by child text and count matching members.
The task schema, TypeScript evaluator and exported Python verifier share these checks, including incomplete-view handling.
Maintainer follow-up and validation
The XML range owner carries selected-ancestor state instead of rescanning open ancestors. The parser dependency retains separate depth-related namespace cost; this does not establish end-to-end linear XML parsing.
Propagated the owning #9089 file-URL seed-path repair and #9058 scratch-export guidance correction. Previously validated format, selection and cleanup fixes remain included. Local file URLs now reopen the selected exported seed path while preserving their URL suffix and unchanged encoded segments.
At head
f7d4f68118, the affected tests below completed with 114 passed (114);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
Integrated repairs at the owning parent boundaries: selected aliases map physical paths outside home, repeated separators in file URLs preserve the filename, redundant nested aliases no longer block startup, and free-text drafts use exact whole-element checks instead of accepting wrong-item substrings. Distinct aliases, collision checks, requested path spelling and numeric checks remain covered. Prior branch-specific fixes remain included.
At head
c8e11ce21a, the affected tests below completed with 118 passed (118);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