Repository navigation
Closed
Labels
handoffA link in the session handoff chain, one open issue per track
Description
Next steps, in priority order
- Fix the two The comment parser reads string and heredoc content as comments where a syntax carries no string state #1664 shapes the current prose gate still misreads as comments, in
.github/actions/prose-gate/prose_lint.py, with a test per shape intests/test_prose_lint.py. Done means each constructed input below reports nocomment-addedfinding, while a real comment line beside it still does:- A workflow
- run: |block whose shell opens a heredoc (cat > f <<EOF), with a body line opening# ...beforeEOF. The heredoc body is data the file writes, not a shell comment. - A line that only closes a block comment and then carries code, such as a
.cssfile holdingconst x = 1; /* A comment here.thenThe rest of it. */ const y = 2;. Deleting that second line removes code and leaves the comment unterminated.
- A workflow
- Drive the pull request into develop per
drive-pr, its body carryingCloses on promotion: #1664, withlocal-strict-reviewbefore every push.
External blockers
None known. The fix stays inside this repository's tree.
Internal dependencies
Step 2 follows step 1.
State
- No branch or worktree exists for this lane yet. The worker creates
feature/auto-1664perrepo-worktree, based ondevelop. - No pull request is open for The comment parser reads string and heredoc content as comments where a syntax carries no string state #1664.
- Re-derive before editing. The picker measured the gate at develop
b09f957cagainst a scratch repository holding the The comment parser reads string and heredoc content as comments where a syntax carries no string state #1664 inputs. Three shapes from The comment parser reads string and heredoc content as comments where a syntax carries no string state #1664 no longer reproduce there: the TOML"""string, the.tfheredoc, and the extensionless.husky/pre-pushall read clean. The prose gate was restructured into lexer-based extract, normalize, and evaluate layers after The comment parser reads string and heredoc content as comments where a syntax carries no string state #1664 was filed, so the issue'sSyntax["carry"]cause names code that no longer exists. Locate the extraction layer before planning the fix. - The multi-line double-quoted YAML scalar case from The comment parser reads string and heredoc content as comments where a syntax carries no string state #1664 was not measured by the picker. Measure it and fix it too where it still reproduces.
The parked decision queue
None for this lane.
What the last round did
The picker created this handoff from the open backlog. Nothing else has worked #1664.
What not to repeat
- The comment parser reads string and heredoc content as comments where a syntax carries no string state #1664 records six earlier attempts to identify a comment from the marker's neighbourhood, each of which regressed a language. Fix inside the lexer-based extraction, and test each language the change touches, rather than adding a text heuristic around the marker.
New learnings
None yet.
Metadata
Metadata
Assignees
Labels
handoffA link in the session handoff chain, one open issue per track
Activity
ptr727 commentedon Oct 30, 2026
Parked: waiting on decision #3666
What is done
feature/auto-1664, pushed at5c2f809b, with pull request Keep a Line Holding Code After a Block Comment's Closer Out of comment-added #3665 open intodevelopand its body current.local-strict-reviewpass./home/pieter/repos/worktrees/hub-auto-1664is left standing and clean.comment-added. It is marked by the newLine.trailedflag and tested across seven languages.run:heredoc body is read as data only where every pipeline stage runs a program inheredoc_data, no construct is left open, and none of the other conservative checks fires. Anything else stays code, as develop reads it.5c2f809b, listed in the PR body.pre-existing, a shift by a name before a data heredoc).cat >).What remains, by the answer on #3666
Line.trailedwith its tests and docs. Those arecode_follows,trailed, thecomment-addeddocstring, the README sentence, and the skill's first new sentence. Rewrite the PR body to close only the block-comment shape and record the heredoc shape as accepted. Re-run the local pass, push, attest, and drive todevelop.runs_body,command_word,compound,left_openandshell_barewith a real bash parser added to the gate's PEP 723 block andtests/requirements.txt.Review threads. Two Copilot threads on
efa7b9e3are still unanswered. One asks foruv,pypy3,fish,cshandtcsh. The other asks that quoted expansions be kept when the opener is masked. Both are fixed at head, since2629df91reads an unknown command or an expansion as code. Each needs a reply naming that SHA and a resolve, or under option 1, a reply saying the heredoc reading was withdrawn.Waiting on: decision #3666.
ptr727 commentedon Oct 30, 2026
Outcome
Track
auto-1664is complete. #1664 closes on the next develop -> main promotion.run:heredoc body stays code, as develop reads it. The comment parser reads string and heredoc content as comments where a syntax carries no string state #1664's heredoc shape is recorded as an accepted false positive that thecommentslabel clears. The reason is the direction of each error: develop's reading errs toward a visible false positive, while the hand-built shell reading errs toward silently dropping a real comment. Decide How the Prose Gate's Heredoc Half of #1664 Proceeds #3666 is closed.1a42d34b. It carries only the block-comment half: a line holding code after a block comment's closer is no longer acomment-addedline, tested across seven languages. The heredoc commits were withdrawn by forward commits rather than a history rewrite. Two recordedlocal-strict-reviewpasses covered the final head, the first raising fiveintroducedfindings that were all fixed and the second raising none. The two open Copilot threads were answered and resolved against the withdrawal.feature/auto-1664and its worktree were removed bypr_review.py cleanup.Not to repeat
Left for others
1a42d34, kept the pull request's original title, which names the withdrawn heredoc reading. The pull request is retitled to what merged. The promotion's own description is where that commit's scope can be stated correctly.ptr727 commentedon Oct 30, 2026
Parked decision queue at close: 0 open
decisionissues in this repository. #3666 was answered (narrow) and closed this session.