Skip to content

One-DOCX stay-or-go walk is the only review - #373

Merged
cursor[bot] merged 13 commits into
mainfrom
cursor/review-one-docx-walk-e3d0
Oct 4, 2026
Merged

cursor[bot] merged 13 commits into
mainfrom
cursor/review-one-docx-walk-e3d0

Conversation

@mikolaj92

@mikolaj92 mikolaj92 commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

The stay-or-go walk of one DOCX is the only review. review_docx opens that file and walks zdanie, then akapit, then rozdział, then całość. On a unit, stay or go. Stay may add, update, or delete a Word comment, or change text as tracked insert / delete / replace, through one open Docxtor handle. Go moves to the next unit.

Pinned to Docxtor 0.17.0 at 4abb48008c18d668e755000c26a650a15349bc4b (v0.17.0). The walk uses only that open handle: add_comment, update_comment, remove_comments, insert_revision, delete_revision, replace_revision, and publish(). Docxtor is not edited here.

Walk tests against that pin: 29 passed, including a second Word comment on a sentence that already has one.

Checks are green (no failing required checks; mergeable / CLEAN). Merging to main.

Open in Web Open in Cursor 

cursoragent and others added 4 commits October 4, 2026 08:24
Review one DOCX by walking that file with a stay-or-go loop at each
level. Side effects write comments and text on the source path during
the walk instead of emitting a new reviewed.docx only after post-order
scans.

Co-authored-by: Patryk Mikołajczyk <mikolaj92@users.noreply.github.com>
Docxtor treats existing comment markers as opaque, so a second identical
range cannot be placed. Write that extra comment on the paragraph so it
still sits on the sentence during the live walk.

Co-authored-by: Patryk Mikołajczyk <mikolaj92@users.noreply.github.com>
Each zdanie, akapit, and rozdział has its own stay-or-go box. Stay
recurses on that unit with a comment or text change on the same DOCX;
go moves to the next numbered box. Całość stay walks the whole document
again n times; go is done on that file.

Co-authored-by: Patryk Mikołajczyk <mikolaj92@users.noreply.github.com>
review_docx walks zdanie, akapit, rozdział, then całość on the same
file. Each unit has its own stay loop; stay count is however many
times the reviewer stays. Side effects are Word comments and tracked
insert, delete, and replace through Docxtor. Other review paths are
gone: two-scan name-then-judge, review_tree, review_document writing
a separate reviewed.docx, takt as a review, and the Pack pipeline.

Co-authored-by: Patryk Mikołajczyk <mikolaj92@users.noreply.github.com>
@cursor cursor Bot changed the title Review one DOCX by walking that same file One-DOCX stay-or-go walk is the only review Oct 4, 2026
cursoragent and others added 3 commits October 4, 2026 09:25
LiveDocx keeps a single DocxDocument for the walk and asks it to
add, update, or delete a comment, and to tracked-insert, delete, or
replace text, then publish that same path. Byte-level Docxtor APIs
and apply_replacements are gone. The stay-or-go walk remains the
only review.

Co-authored-by: Patryk Mikołajczyk <mikolaj92@users.noreply.github.com>
@mikolaj92
mikolaj92 marked this pull request as ready for review October 4, 2026 09:37
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

cursoragent and others added 6 commits October 4, 2026 09:41
LiveDocx.delete_comment now uses the open-handle method. A later stay
that adds another comment on the same sentence still goes through
Docxtor: add_comment first, then add_paragraph_comment when the
occupied span is opaque. Tests pass against the 0.15.0 pin.

Co-authored-by: Patryk Mikołajczyk <mikolaj92@users.noreply.github.com>
Drop leftover review paths and the notes that sat beside them: Pack
research, Takt three-scan notes, old release changelog, text-tree
parser, footnote reader, and the notice pack fixture. The public
surface is the zdanie → akapit → rozdział → całość walk on one
Docxtor handle. Pin stays 608336b0.

Co-authored-by: Patryk Mikołajczyk <mikolaj92@users.noreply.github.com>
The walk does not call Takt. Research notes, changelog, and release
notes that named it are already gone. Tests no longer mention
TaktReviewer or takt.

Co-authored-by: Patryk Mikołajczyk <mikolaj92@users.noreply.github.com>
AGENTS.md now states the stay-or-go walk and nothing else. FALLBACKS.md
is gone. Fala, Dike, Argus, and Temida are not mentioned.

Co-authored-by: Patryk Mikołajczyk <mikolaj92@users.noreply.github.com>
Byte-level Docxtor functions are gone. LiveDocx uses DocxDocument.open
then add_comment, update_comment, remove_comments, insert_revision,
delete_revision, replace_revision, and publish on that same file.

Co-authored-by: Patryk Mikołajczyk <mikolaj92@users.noreply.github.com>
The walk still uses one open handle: add_comment, update_comment,
remove_comments, insert_revision, delete_revision, replace_revision,
and publish. A later stay can add another comment on the same zdanie.

Co-authored-by: Patryk Mikołajczyk <mikolaj92@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants