Skip to content

fix(dispatcher): a marker reader trusts bytes it should qualify - #215

Merged
Ardnived merged 9 commits into
mainfrom
claude/fix-205-qualify-marker-reads
Oct 27, 2026
Merged

Ardnived merged 9 commits into
mainfrom
claude/fix-205-qualify-marker-reads

Conversation

@sydevs-bot

@sydevs-bot sydevs-bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Four seams that read a dispatcher-owned marker out of a comment now require its author to be identity.expectedLogin, so a hand-posted marker can no longer silence an advisory or seed a record.
  • Blocked by:, Re-check: and Sentry: lines inside a code fence are documentation now, read by nobody — format-ticket/SKILL.md's own example was being related and then deleted.
  • Joined, not listed: the journal's two owned markers (postAnomaly, refreshTally) had the identical defect, found while building part 1 — the journal is a public issue, and postAnomaly's own doc comment already pointed at commentOnce as its twin.
  • Joined, not listed: the fence rule moved below the readers into liveLines, which is what brought parseRecheck and parseSentry in; a flag per loop would have fixed two readers of five.
  • From the critic's round: the journal's author test moved down into its own listing, and a missing expected login now throws instead of refusing every comment.

Change outline

Flow — a dispatcher-owned marker, and where its author test comes from

The clause is one line at each seam. The threading is the change worth reading.

 apply({ config, … })                                   dispatcher/apply.mjs
+  bot = config.identity.expectedLogin
   commentOnce(gh, t, bot, key, body, …)
-    comments.some(body.startsWith(mark))               # any author
+    comments.some(isLogin(c.user.login, bot) && body.startsWith(mark))
     → "already posted", or post it
   doFire({ config, … })
+    bot = config.identity.expectedLogin                # not nested in apply()
     fire failed → commentOnce(…, bot, `fire-failed …`)

 loadRecord(gh, ref, bot)                               dispatcher/record.mjs
   listComments, page by page
+    isLogin(c.user.login, bot) → then parseRecord      # the filter sees an author
-    parseRecord(c.body) truthy → that is the record    # any author
   none → { id: null, rec: emptyRecord() }              # the record is created

-allComments(gh, owner, repo, n)                        dispatcher/journal.mjs
-  every author                                         # each reader filtered
+ownComments(gh, config, n)
+  isBot(c.user.login, config) → kept                   # the listing filters, once
 postAnomaly(gh, config, …)
-  allComments(…).some(anomalyLine(c.body) === line)    # any author
+  ownComments(…).some(anomalyLine(c.body) === line)
 refreshTally(gh, config, …)
-  tallyFrom(allComments(…).map(c => c.body))           # any author
+  tallyFrom(ownComments(…).map(c => c.body))

 isLogin(login, expected)                               dispatcher/decide.mjs
+  !expected → throw                                    # was: matches nothing
   isBot(login, config) → isLogin(login, config.identity?.expectedLogin)

Where the login comes from, at every call site:

 gather(gh, target, config)                             dispatcher/gather.mjs
   bot = config.identity.expectedLogin                  # already bound, now used
   loadRecord(gh, base, bot)
   inSetBuild(gh, parent, childRef, lock, bot)
     loadRecord(gh, goalRef, bot)
 listSweepTargets({ config, … })                        dispatcher/sweep.mjs
+  bot = …                                              # hoisted from the orphan pass
   loadRecord(gh, ref, bot) ×2

Behaviour — the decision per marker line

Reading a line is now two questions, not one. The second is new.

 a body line carrying a marker
   inside a ``` fence
-    read as state                                      # the defect
+    skipped, by every reader over `liveLines`
   outside a fence
     `Blocked by:` resolving ≥1 in-org issue
       relate it, apply `blocked`, strip the line       # unchanged
     `Blocked by:` resolving none
       silence                                          # unchanged
     `Re-check:` / `Sentry:`                            # unchanged

Files — where the fence rule lives

One reader owns it, so the next marker reader inherits it.

 dispatcher/markers.mjs
   lines(body)                 # split and trim, fences included
+  isFence(line)               # the one definition of a fence here
+  liveLines(body)             # lines(), fenced blocks dropped
   parseBlockedBy              # was: its own flag  → liveLines
   parseRecheck                # was: no flag       → liveLines
   parseSentry                 # was: no flag       → liveLines
   parseOpenQuestions          # was: its own flag  → liveLines
   stripBlockedBy              # keeps its own loop, shares isFence

Test results

  • Lean gate: ✓ claude plugin validate ./workflow --strict passed, node --test workflow/lib/*.test.mjs 97 passed.
  • Targeted specs: ✓ node --test dispatcher/test/*.test.mjs 308 passed (10 new, in record.test.mjs, act.test.mjs, journal.test.mjs and markers.test.mjs); the merge with fix(dispatcher): refuse a Blocked by line that names no issue #204 brought the rest.
  • node workflow/lib/comment-lint.mjs --base origin/main: no banned comment added.
  • rule-delta.mjs: not run. No file under workflow/skills/ is in this diff, so plugin.json keeps its version too.
  • Every new test was watched failing before it was kept, and each half separately: with the fence flag removed from the reader only, stripBlockedBy's test still fails; with it removed from the stripper only, the reader's still passes. That is the trap the ticket's ## Notes named.
  • refreshTally's filter is only right if every session comments as sydevs-bot, so I checked the real journal rather than the fixture: on Mon — 63 dispatches · 0 failed · 3 anomalies #214's first page, all 8 comments — 6 sydevs-dispatch-done across four handlers (audit-nightly, review-pr, address-review, audit-deps) and 2 anomalies — are authored by sydevs-bot. It is structural, not incidental — start-run step 1 stops a session that cannot match get_me to identity.expectedLogin, before it writes anything.
  • Fixture pre-mortem: record.test.mjs assumes a REST issue comment carries user.login, verified against act.test.mjs's existing status-comment fixtures and the two seams' own listComments calls; markers.test.mjs's fenced body is copied from workflow/skills/format-ticket/SKILL.md:216-220, including its ```markdown info string. The three fixtures that gained user: { login: 'sydevs-bot' } and rerun.test.mjs's config were incomplete, not canonical — act.test.mjs loads the real loop-config.json.

Manual verification

  1. The one checklist item a routine cannot run: a supervised BOT_DISPATCH=dry dispatch over a scratch issue carrying a hand-posted <!-- sydevs-dispatcher: blocked --> comment from a human login. The planned blocked comment should still appear in the run log. A routine cannot reach the Actions dispatch, so this is yours.
  2. Worth confirming on that run: the status comment is still found and edited in place, not duplicated, on an item whose record the bot already wrote.

Notes for reviewer

The one judgement call: isLogin exists because the criterion asked for the login, not the config. All three cleanup lenses argued the same alternative — pass config to commentOnce and loadRecord and call the existing isBot, dropping the new export. It is a fair reading: every call site does hold config. I built the criterion's shape instead, and the two joined journal seams show why it is coherent rather than merely literal: postAnomaly and refreshTally already take config, so they call isBot; commentOnce and loadRecord take scalars only, as inSetBuild does with lock. Each seam uses the idiom its own signature already has, and isBot is now a one-liner over isLogin, so the compare is defined once either way. Say the word and it becomes config at all four.

isLogin is strictly narrower than the isBot it replaces, and a missing expected login throws. The old compare returned true when expectedLogin was absent and the login was too. Every isBot call site can therefore only become more restrictive, never less — I walked all 34, and the only widening shape (human = respondTo(login) && !isBot(login)) needs a login that is both in respondTo and falsy.

The absent case is now a crash, not a false, per the critic's second finding. Refusing every comment was quiet in the wrong place: loadRecord reports no record, sweep.mjs:59 reads a lock with no record as sweep-timeout, and the dispatcher breaks a live session's lease. The suite passes unchanged except the one test that asserted the old semantics, so no isBot site reaches the predicate without identity.expectedLogin.

Review findings dismissed, with reasons.

  • Qualify at the listing instead: one cross-module ownComments(gh, ref, config) every marker reader goes through. Not taken as a shared helper. gather.newestComments must stay unqualified — it carries human comments — so one helper would cover four seams and sit beside a deliberate exception, and decide.mjs already filters by author at each decision rather than at the fetch. Taken inside journal.mjs, where the critic put it on the second round: both callers of the private allComments repeated the clause, and the reason given for leaving it off — a session's entry is a comment too — did not hold, because finish-run posts that entry as sydevs-bot.
  • Hoist the cheap startsWith ahead of isLogin, and lower-case the constant side once. Not taken. The clause order states the invariant — author first, then marker — and both seams sit behind a paginated HTTP request that costs four orders of magnitude more than the allocations saved.
  • Accept ~~~ fences too, since ste-lint.py does. Not taken. It would change parseOpenQuestions, which no criterion here covers, and no tracked file uses that spelling.
  • A shared fence flag between stripBlockedBy and the readers. Not taken as a flag; taken as isFence. The stripper must emit every unit it does not drop, and each unit carries its own line ending, so it keeps its loop.

One consequence of the #204 merge, for your call. A fenced Blocked by: line naming no in-org issue is now also not reported by #204's unresolvedBlockers advisory. That is deliberate — a fenced line is documentation, so the advisory would otherwise comment on an author's own example. The edge it opens: an unbalanced fence in a body silently suppresses both the relationship and the advisory that exists to say "the body advertises a blocker nothing enforces". Author-self-inflicted, not reachable by anyone who cannot already edit the body, and a fix costs more than malformed markdown is worth. Say the word if the advisory should see fenced lines.

Also noticed, deliberately not in scope. relationships.bodyMarkerFormat (loop-config.json:362) is still read by no code — #205's ## Notes names it, and it is a dead value rather than a defect. It belongs in whatever next edits that block.

Detail

Measurements.

  • The fenced-body probes from the ticket's checklist, before and after: parseBlockedBy returned [{sydevs/SahajCloud#632}] and now returns []; stripBlockedBy(…).dropped was the fenced line and is now [].
  • Both blocker readers swept over git ls-files "*.md": one file reported a would-relate target before (workflow/skills/format-ticket/SKILL.md → SahajCloud#632), none does now.
  • parseRecheck and parseSentry swept the same way: no tracked file reads as state either before or after. That exposure is real but unwitnessed, like part 2's was before format-ticket/SKILL.md was measured — the fix is the same line, from the same place.
  • grep -rn "loadRecord\|commentOnce(" dispatcher/*.mjs: every posting call site passes a login. The commentOnce hits in decide.mjs are the plan-action constructor (decide.mjs:22), not the poster.

Why these commits ride together. One root cause, one file area, one verification command — the join rule's three tests. Each is separately revertable:

The accepted one-off duplicate. A comment the bot wrote under a former login stops being recognised, so after a rename or a PAT migration every advisory re-posts once and every record is re-created once, per open item, across five repos. That was decision 1 on the ticket (A, Ardnived, 2026-10-21) and no reconciliation path is built for it. docs/routine-setup.md gains a troubleshooting row so the symptom is not read as a loop fault.

Security. /security-review ran on both rounds, as securityReview.triggerPattern requires for a ^dispatcher/ diff, and reported nothing at either severity. Points worth keeping:

  • The branch is a net tightening. isLogin only ever refuses where the old isBot accepted, so no isBot call site can start treating a human as the bot — the direction that would matter. All 34 were enumerated.
  • The filters admit no non-bot author: a missing user, ghost, and a GitHub App's sydevs-bot[bot] all fail the compare, and lower uses toLowerCase, not the locale form, so there is no Turkish-I fold onto a login GitHub restricts to [A-Za-z0-9-].
  • liveLines has no reveal direction — it only skips — and the hide direction grants a body author nothing they could not get by deleting the line. An outsider's body markers are already inert (decide.mjs:750), and the real blocked gate is the native relationship, which no body text can clear.
  • Second round: expected is never attacker-influenced — it has one origin, config.identity.expectedLogin — so the new throw is not reachable from a comment, a body or an event payload. ownComments pages on the raw page length, not the filtered array, so the obvious refactoring bug is absent.
  • The two journal readers are already guarded against a throw: postAnomaly's call sits in its try/catch, and refreshTally runs inside journalTick's step().

Not run: /pr-review-toolkit:review-pr. No routine has the plugin, so the pass was /code-review's four cleanup angles via /simplify, plus /security-review.

Closes #205


Generated by Claude Code

…author

`commentOnce` deduped on the marker alone, and every key is guessable from
the item — 16 of the 18 on `main` prefix a fixed word with a head sha, a
comment id or a PR number, and two are bare words. So anyone who could
comment could pre-post `<!-- sydevs-dispatcher: <key> -->` and silence that
advisory for the item's life. `loadRecord` returned the first comment that
parsed, so a comment starting with `MARKER` seeded `current`, `pending`,
`fixCi` and `dispatches`.

Both filters are the one clause `isBot` already applies: the author must be
`identity.expectedLogin`. Neither adds a call — the listings both seams make
already carry `user.login` — so the login is threaded in, and `isLogin` holds
the compare for the two seams that have the login and not the config. The
filter lives in `loadRecord`, not `parseRecord`, which sees a body and no
author.

`isLogin` refuses an unnamed expected login, so a seam that forgets to thread
it rejects every comment rather than accepting every anonymous one.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KjgKczBxjLAu2ggz3a4uB1
…cker

`parseBlockedBy` had no fence state, unlike `parseOpenQuestions`, so a body
that shows the marker format as documentation had the example read as live:
related, labelled `blocked`, then deleted by `stripBlockedBy`. Swept over
every tracked `.md`, `format-ticket/SKILL.md` was the one file that would
have related `SahajCloud#632` and lost its own example.

The flag goes into both loops. It cannot be shared: the stripper splits after
every newline so each unit keeps its own line ending, and a reader-only fix
would relate nothing while still deleting the line.

Built against `main`'s shape. #204 introduces the
shared `blockerLines` pass and is still open, so expect a conflict here if it
merges first; the fence flag moves to that pass unchanged.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KjgKczBxjLAu2ggz3a4uB1
Only `identity.expectedLogin` is read back from a dispatcher-owned comment,
so an operator who renames the bot or migrates the PAT sees every advisory
re-post once and every status comment duplicated once. That is the accepted
cost of the author filter, and it looks like a loop fault without a row
saying so.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KjgKczBxjLAu2ggz3a4uB1
Joined to #205 by the same root cause, found while building it. The journal
is a public issue in this repo, and both its dispatcher-owned markers read
back without an author test.

`postAnomaly` deduped on the visible line, so a hand-posted
`⚠️ **<kind>** · <text>` silences that anomaly for the day — its own doc
comment already said "said once a day, like the `commentOnce` beside it",
and the resemblance was exact. `refreshTally` counted every author's
`sydevs-dispatch-done` marker, so a stranger could inflate the day's title
and the tally block `improve-loop` reads as the loop's usage evidence.

Both take `config` already, so both call the existing `isBot`. `allComments`
stays unqualified: a session's own journal entry is a comment too, and only
these two readers act on a marker the dispatcher owns.

Three fixtures gained the author they always had in production.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KjgKczBxjLAu2ggz3a4uB1
The fence skip was a flag in each loop, so adding one to `parseBlockedBy`
left `parseRecheck` and `parseSentry` out — and a ticket fencing an example
`Re-check: 2026-12-01` would have parked itself until that date. Same root
cause as #205's part 2, joined to it.

`liveLines` drops fenced blocks once, and all four line readers go through
it; `parseOpenQuestions` loses the flag it carried. `stripBlockedBy` keeps
its own loop, because it must emit every unit it does not drop and each unit
carries its own line ending — it shares `isFence`, which is now the one
definition of a fence here. That also ends the two spellings the first pass
left: a trimmed `startsWith` in the readers, `unit.trim()` in the stripper.

No behaviour changes for `parseBlockedBy`, `stripBlockedBy` or
`parseOpenQuestions`; `parseRecheck` and `parseSentry` gain the skip.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KjgKczBxjLAu2ggz3a4uB1
…locks

From the review round, no behaviour change beyond the first point.

- `apply` and `doFire` read `config.identity.expectedLogin` without the
  optional chain. With it, a config missing `identity` made `isLogin` match
  nothing and every advisory re-post on every dispatch, silently and
  forever; now it throws once. `rerun.test.mjs`'s partial config gains the
  identity it always had in production.
- The `commentOnce` and `loadRecord` docblocks carry the rule and the
  anchor, not the argument — the story belongs in `docs/why.md`.
- `act.test.mjs` shares one `exhaustedTarget` literal with the test that
  already had it, instead of a second factory beside the copies.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KjgKczBxjLAu2ggz3a4uB1
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Oct 27, 2026
@sydevs-bot

sydevs-bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 no session running

recent dispatches
  • 02:11Z address-review · attempt 1 · session · done
  • 02:11Z address-review · attempt 1 · session
  • 02:02Z review-pr · attempt 1 · session · done
  • 02:02Z review-pr · attempt 1 · session
  • 01:58Z resolve-conflicts · attempt 1 · session · done

Written by the sydevs dispatcher. Sessions never edit this comment.

Two conflicts, both the one this PR's body predicted, and both resolved by
keeping each side's behaviour.

dispatcher/markers.mjs — #204 lifted `parseBlockedBy`'s loop into a shared
`blockerLines` pass that `unresolvedBlockers` reads too; this branch had put
the fence rule in `liveLines`. The merged `blockerLines` iterates
`liveLines(body)`, so one line carries both: #204's single scan, and the fence
skip it inherits. A fenced `Blocked by:` line is now neither related, stripped,
nor reported as unresolved — the coherent reading of #205, since a fenced line
is documentation and #204's advisory would otherwise comment on an author's
own example.

dispatcher/apply.mjs — both sides added an import from `decide.mjs`. Both are
used: `isLogin` at the `commentOnce` author test, `isReviewer` at #212's
PR-author check.

Verified: `node --test dispatcher/test/*.test.mjs` 308 passed, lean gate
(`claude plugin validate ./workflow --strict`, `node --test
workflow/lib/*.test.mjs` 97) green from the worktree. #205's fenced-body probes
return `[]` for both readers, a live line still resolves its target, and a live
line naming a PR URL is still reported — so neither side's tests are passing by
losing the other's rule.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MdKgFW395rx3vdPocxnBNt
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Merged main (7824681) in. Both conflicts were the ones this PR's body predicted, and both kept each side.

markers.mjs — #204 lifted parseBlockedBy's loop into a shared blockerLines pass that unresolvedBlockers also reads. The merged blockerLines iterates liveLines(body), so the one line carries #204's single scan and this branch's fence skip.

One consequence neither side specified alone: a fenced Blocked by: line naming no in-org issue is now also not reported by #204's advisory. That is deliberate. A fenced line is documentation, so #204 would otherwise comment on an author's own example — the same defect #205 fixes, one reader along. Say the word if the advisory should see fenced lines.

apply.mjs — both sides added a decide.mjs import. Both are used: isLogin at the commentOnce author test, isReviewer at #212's PR-author check.

Gate green from the worktree: 308 dispatcher tests, 97 lib, plugin validate. #205's probes return [], a live line still resolves its target, and one naming a PR URL is still reported.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Oct 27, 2026

@sydevs-bot sydevs-bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧐 Adversarial review

The diff is the size of #205: four author filters and one fence skip, and the two joined journal seams share the root cause, the file area and the verification command the join rule asks for. Nothing here is an abstraction for one caller, and no part should be removed. I reproduced both halves: origin/main relates SahajCloud#632 out of format-ticket/SKILL.md's own fenced example, this branch relates nothing, and 308 dispatcher and 97 lib tests pass from a worktree.

One shape point, and it is this PR's own argument turned back on it. The fence rule moved down into liveLines so the next reader inherits it. The author rule did not, and both callers of allComments now repeat it — on a reason I could not verify.

Findings

  • should-fix — journal.mjs:235: the author clause belongs inside allComments, where the fence rule's own argument puts it.
  • consider — decide.mjs:49: a forgotten login reads as "no record", not as an error, and for loadRecord that silently sweeps a live lease.

What was checked

  • #205 criterion by criterion: six met, and the seventh is the author's attestation. grep -n "loadRecord\|commentOnce(" confirms all four and all five call sites thread the login, and bot's scope covers both inSetBuild calls (gather.mjs:236, :324).
  • Read whole: markers.mjs, journal.mjs, record.mjs, apply.mjs's commentOnce and doFire, sweep.mjs:50-70, and all 34 isBot sites.
  • The ticket's four probes from the branch: both fenced probes print [], and the git ls-files "*.md" sweep reports nothing for parseBlockedBy, parseRecheck or parseSentry.
  • finish-run writes sydevs-dispatch-done as sydevs-bot, which is what makes refreshTally's filter safe — and what defeats the allComments reason.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

Comment thread dispatcher/journal.mjs Resolved
Comment thread dispatcher/decide.mjs Resolved
@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Oct 27, 2026
`postAnomaly` and `refreshTally` were the only two callers of the journal's
private `allComments`, and both repeated the same `isBot` clause. That is the
argument this branch already makes for `liveLines`, unapplied one file along:
a third journal marker reader would have had to remember the clause.

`ownComments(gh, config, issue_number)` filters at the listing, so it cannot
be forgotten. The reason the old docblock gave for staying unqualified — a
session's own entry is a comment too — does not hold: `finish-run` posts that
entry as `identity.expectedLogin`, so the filter keeps it. The two tests that
feed each reader a comment from `Ardnived` are the regression guard, and both
still pass unchanged.

The config also carries `org` and `journalRepo`, so the two scalar parameters
go with it.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVk1affeEKXcQiprsx
`isLogin` returned false for a missing `expected`, so a seam that forgot to
thread the login refused every comment. That is quiet in the wrong place:
`loadRecord` then returns no record, `sweep.mjs:59` reads a lock with no
record as `sweep-timeout`, and the dispatcher breaks the lease of a live
session. `apply` re-creates the record after it, losing `fixCi` and
`dispatches`.

It throws now, so the mistake is a crash at the forgetful seam. The whole
dispatcher suite passes unchanged except the test that asserted the old
semantics, which this branch added and which now asserts the throw: no
`isBot` call site reaches the predicate without `identity.expectedLogin`,
and `apply` already throws earlier on a config that lacks it.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVk1affeEKXcQiprsx
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Both of the critic's findings are built and both threads are resolved. Pushed 8de5691.

  • Adopted — journal.mjs:235, in 583dbc3. The author test moved into a private ownComments(gh, config, issue_number), so neither reader carries it and a third inherits it. Your reason check was right: finish-run posts the session entry as sydevs-bot.
  • Adopted — decide.mjs:49, in 8de5691. isLogin throws on a missing expected login. I verified the danger first: sweep.mjs:59 reads a lock with no record as sweep-timeout, so the quiet version would break a live lease.

The base was already current — c9858a0 merged main ten minutes earlier.

Gate green: plugin validate, 97 lib and 308 dispatcher tests, comment-lint clean. /security-review found nothing.

One thing for you, in the body: an unbalanced fence now silences #204's unresolvedBlockers advisory too.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Oct 27, 2026
@sydevs-bot
sydevs-bot marked this pull request as ready for review October 27, 2026 02:24
@sydevs-bot
sydevs-bot requested a review from Ardnived October 27, 2026 02:24
@sydevs-bot sydevs-bot moved this from Revising to Approved in SYDevelopers Technical Roadmap Oct 27, 2026
@Ardnived
Ardnived merged commit 792bbaf into main Oct 27, 2026
46 of 49 checks passed
@Ardnived
Ardnived deleted the claude/fix-205-qualify-marker-reads branch October 27, 2026 03:59
@sydevs-bot sydevs-bot moved this from Approved to Done in SYDevelopers Technical Roadmap Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

fix(dispatcher): a marker reader trusts bytes it should qualify

3 participants