Repository navigation
The passive pass is not reported at note severity, as story 138 requires - #86
Merged
Merged
Conversation
Story 138 asks for the passive pass at note severity. A Finding now carries an optional `severity: "note"`, set only by the `passive` rule. Orwell's passive, on the same span, and every other rule pass leave it unset. Reconciliation takes the severity from the Run, so a stored passive Finding picks it up on the next save. The findings schema and its parser are unchanged. The parser reads only the schema's fields, and a test shows that a model returning `severity` gets no severity on its Finding. The Rail's row and the Callout give a note a quiet outlined "Note" label and a lighter issue weight. They use existing colour names only. Queue order and Band membership are unchanged. No Dexie migration: the field is optional and unindexed, and the schema version is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FjB3Gu8vhg5enkAneTdqga
Codex Review SummaryThis 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. |
This was referenced Sep 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<
695F
/div>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #53.
What changed
src/core/finding.ts: adds an optionalseverity?: FindingSeverity("note"only) toFinding. Its comment says it is for rule passes only.src/core/rulePass.ts:RuleMatchcan carry the severity, andfindingsFromMatchescopies it onto the Finding. Only thepassiverule (passiveVoiceAuxiliaries) setsseverity: "note". Orwell 4's passive, on the same span, does not.src/core/reconcile.ts: severity comes from the Run, likeinVoiceListdoes. A passive Finding stored before this change gets the severity on the next save, and a stale severity is dropped.src/editor/FindingRow.tsx: aNoteLabelcomponent, a quiet outlined "Note" chip (border-rule,text-muted-ink). A note row shows it before the issue, and its issue text is lighter (font-normal,text-quiet-ink).src/editor/FindingCallout.tsx: the Callout uses the same label and the same lighter weight.Checklist
runRulePasstests cover the Starterpassivepass and a Writer's own pass that carriespassiveVoiceAuxiliaries.findingsSchema.tsandparseFindings.tsare untouched. A newcritiquetest sends a model response containingseverity: "note"through thesendseam. The resulting Finding has noseveritykey, and neither the request'sresponse_formatnorFINDINGS_SCHEMAcontains "severity". The parser reads only the schema's fields, so an unknown field never reaches a Finding.pnpm harnesspasses (24 tests).pnpm dev, in the light and dark schemes: the row in the All view and the Callout both show the "Note" label and the lighter weight. Queue ordering and Band membership are unchanged, so ADR 0010's four properties hold.findingsstore is indexed onid, documentId, [documentId+passId](src/storage/obelusDatabase.ts, version 8). The new field is optional and not indexed, and the version is unchanged.docs/migrations.mdcovers only schema and version changes.src/index.cssis untouched.pnpm test(1096),pnpm typecheck,pnpm run gatesandpnpm buildall pass.Note on vocabulary
CONTEXT.md lists "note" under Avoid as a synonym for Finding. Here it is used only as the spec's severity name ("note severity"), never for a Finding itself. If it needs a CONTEXT.md entry, that is for
/domain-modeling.🤖 Generated with Claude Code
Generated by Claude Code