Skip to content

refactor(cli): remove ops state drawer (#2253) - #2256

Merged
Sinity merged 2 commits into
masterfrom
feature/refactor/assertion-state-surface-2253
Jun 21, 2026
Merged

Sinity merged 2 commits into
masterfrom
feature/refactor/assertion-state-surface-2253

Conversation

@Sinity

@Sinity Sinity commented Jun 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

Remove the old polylogue ops state CLI drawer and route the remaining useful user-overlay flow through the product command surface. Candidate assertion judgment now lives under polylogue mark candidates ...; tag mutation remains query-first through find QUERY then mark --tag-add/--tag-remove; the stale marks/annotations/saved-views/recall-packs/workspaces/blackboard/feedback command drawers are deleted rather than preserved as aliases.

Closes part of #2253; the issue stays open for ops insights, ops schema, and the demo/tutorial placement decisions.

Problem

ops state kept the pre-assertion user-overlay command family alive inside ops, even though assertions are now the substrate and mark is the product action. That made ops a miscellaneous drawer again, kept old showcase baselines in generated quality docs, and caused archive-debt action hints to point at the wrong owner.

Solution

  • Converted mark into an invoke-without-command Click group and added mark candidates {list,accept,reject,defer,supersede} using the existing assertion candidate API.
  • Deleted the polylogue/cli/commands/user_state*.py command modules and their state/blackboard/tags CLI tests and showcase baselines.
  • Updated archive-debt candidate actions to point at polylogue mark candidates list --format json.
  • Updated CLI reference generation, search/docs examples, topology/quality generated docs, terminal snapshots, JSON smoke matrices, and coverage manifests for the replacement surface.
  • Updated refactor(cli): finish ops/product command placement #2253 to mark the ops state reconciliation complete and keep the remaining command-placement work explicit.

Acceptance Criteria

  • ops state is no longer a registered ops command.
  • Candidate assertion review remains available through mark candidates.
  • Query-first tag mutation remains covered through mark --tag-add/--tag-remove tests.
  • No hidden compatibility alias or absence-only test was added.
  • Generated CLI/docs/topology/quality surfaces were refreshed.

Verification

  • devtools test tests/unit/cli/test_assertion_candidates.py tests/unit/cli/test_stdout_stderr_split.py tests/unit/cli/test_deterministic_output.py tests/unit/cli/test_json_output.py tests/unit/cli/test_json_envelope_contract.py tests/unit/cli/test_command_aux_runtime.py tests/unit/cli/test_cli_error_boundaries.py::TestCompletionsErrorBoundaries tests/unit/cli/test_terminal_snapshots.py tests/unit/operations/test_archive_debt.py -q → 282 passed
  • devtools render all --check → OK: /realm/project/polylogue/.cache/site matches sources
  • devtools verify --quick → exit_code 0
  • pre-push devtools verify --quick → exit_code 0

Summary by CodeRabbit

  • New Features

    • Added polylogue mark candidates command group for reviewing and acting on pending assertion candidates with subcommands for listing, accepting, deferring, rejecting, and superseding candidate assertions.
  • Changes

    • Relocated candidate assertion workflow to consolidated mark command structure.
    • Removed several operational CLI subcommands.

Problem: ops state kept the old user-overlay drawer alive after assertions and query-first mark became the product surface. It also kept stale help baselines, coverage manifests, and archive-debt actions pointing at a command bucket that was not actually operations maintenance.

What changed: move candidate assertion judgment under mark candidates, keep tag mutation on query-first mark, remove the old user_state CLI modules and state showcase baselines, update archive-debt actions plus docs/generated CLI references, and retarget tests to the live replacement surfaces.

Verification: devtools test tests/unit/cli/test_assertion_candidates.py tests/unit/cli/test_stdout_stderr_split.py tests/unit/cli/test_deterministic_output.py tests/unit/cli/test_json_output.py tests/unit/cli/test_json_envelope_contract.py tests/unit/cli/test_command_aux_runtime.py tests/unit/cli/test_cli_error_boundaries.py::TestCompletionsErrorBoundaries tests/unit/cli/test_terminal_snapshots.py tests/unit/operations/test_archive_debt.py -q (282 passed). devtools render all --check (ok). devtools verify --quick (exit_code 0).
github-actions Bot pushed a commit that referenced this pull request Jun 21, 2026
@coderabbitai

coderabbitai Bot commented Jun 21, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@Sinity, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 50 minutes and 16 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: e28e598e-36a7-4ea7-af28-3975a8c48e0c

📥 Commits

Reviewing files that changed from the base of the PR and between 1534977 and 7025d36.

📒 Files selected for processing (3)
  • polylogue/cli/click_command_registration.py
  • polylogue/cli/query_group.py
  • tests/unit/cli/test_cli_action_contracts.py
📝 Walkthrough

Walkthrough

The polylogue ops state CLI command group and its four backing modules (user_state.py, user_state_blackboard.py, user_state_feedback.py, user_state_tags.py) are removed. Candidate assertion judgment is relocated under polylogue mark candidates by converting mark from a Click command to a Click group and adding list, accept, reject, defer, and supersede subcommands. All docs, tests, baselines, the exercise catalog, and topology metadata are updated accordingly.

Changes

ops state → mark candidates migration

Layer / File(s) Summary
mark promoted to Click group with mark candidates subcommands
polylogue/cli/click_app.py, polylogue/cli/query_group.py, polylogue/cli/query_verbs.py
click_app.py imports _LazyGroup and selects it for the mark verb; query_group.py adds an early-return special-case for mark candidates two-token parsing; query_verbs.py converts mark_verb from @click.command to @click.group(invoke_without_command=True) and adds the full mark candidates subtree (list, accept, reject, defer, supersede, _emit_candidate_judgment helper).
ops state command deregistration and module deletion
polylogue/cli/click_command_registration.py, docs/plans/topology-target.yaml
user_state is removed from _SHORT_HELP, _COMMAND_NAMES, _GROUP_ATTRS, and OPS_COMMANDS, dropping polylogue ops state from the CLI. Topology target entries for user_state.py, user_state_blackboard.py, user_state_feedback.py, and user_state_tags.py are removed.
archive_debt action retargeted
polylogue/operations/archive_debt.py, tests/unit/operations/test_archive_debt.py
The "Review candidate assertions" action command switches from polylogue ops state candidates list to polylogue mark candidates list; the unit test expectation is updated to the ("mark", "candidates") tuple.
Tests updated for mark candidates
tests/unit/cli/test_assertion_candidates.py, tests/unit/cli/test_deterministic_output.py, tests/unit/cli/test_json_envelope_contract.py, tests/unit/cli/test_json_output.py, tests/unit/cli/test_stdout_stderr_split.py, tests/unit/cli/test_cli_error_boundaries.py, tests/unit/cli/test_terminal_snapshots.py, tests/unit/cli/test_command_aux_runtime.py
All test parametrizations and invocations that referenced ops state tags, ops state, or ops completions are replaced with mark candidates, mark, or config completions equivalents; mark_candidates_group replaces candidates_group in assertion-candidates tests; tags_command test coverage is removed.
Removed ops state help baselines and test modules
tests/baselines/showcase/help-ops-state-*.txt, tests/unit/cli/__snapshots__/test_terminal_snapshots.ambr
All help-ops-state-* CLI help baseline text files are cleared/removed. Terminal snapshot .ambr files are updated to reflect the reformatted top-level help Commands block including the updated config description.
Exercise catalog updated for new CLI shapes
polylogue/showcase/exercise_catalog.json
help-ops-state-tags replaced by help-mark-candidates; completions exercise moved under config; query-list* exercises updated to read --all -n 1; count/stats subcommands replaced by analyze --count/analyze.
Documentation updated
docs/cli-reference.md, docs/search.md, docs/design/whole-product.md, docs/internals.md, AGENTS.md, devtools/render_cli_reference.py
cli-reference.md adds mark candidates section and removes ops state; docs/search.md updates candidate judgment examples; design/whole-product surface matrix updated; devtools/render_cli_reference.py SECTIONS swaps in "Mark Candidate Assertions".
Topology, test plan, and quality docs updated
docs/plans/topology-target.yaml, docs/topology-status.md, docs/plans/test-coverage-domains.yaml, docs/plans/test-closure-matrix.yaml, docs/test-quality-workflows.md
Topology status counts reduced by 4; test-coverage-domains and test-closure-matrix updated for tags domain; test-quality-workflows scenario catalog swaps help-ops-state* entries for help-mark-candidates*.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related issues

Possibly related PRs

  • Sinity/polylogue#353: Both PRs modify devtools/render_cli_reference.py's SECTIONS list to add/remove CLI reference sections.
  • Sinity/polylogue#1863: Both PRs modify _split_query_mode_args in polylogue/cli/query_group.py to add special-case two-token verb handling.
  • Sinity/polylogue#2204: This PR directly retargets the candidate-judgment CLI surface introduced in #2204 by moving it from ops state candidates to mark candidates.

Suggested labels

type:refactor, area:cli, area:storage, area:qa

Poem

🐇 Hop, hop, the ops state is gone,
mark candidates takes the throne!
Accept, reject, defer — what fun,
A new subcommand path begun.
The rabbit cheers: the CLI's reborn! 🎉

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 64.71% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'refactor(cli): remove ops state drawer' clearly and concisely summarizes the main change—removing the ops state CLI drawer in favor of routing commands through the mark verb.
Description check ✅ Passed The PR description comprehensively covers all required template sections: Summary, Problem, Solution, Verification, and Acceptance Criteria. It includes rationale, implementation details, test results, and deployment considerations.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/refactor/assertion-state-surface-2253

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 15349770fd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread polylogue/cli/click_app.py Resolved
Comment thread polylogue/cli/query_group.py Resolved

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@polylogue/cli/query_verbs.py`:
- Line 875: The `--limit` option uses `type=int` which permits zero and negative
values that could cause unintended behavior in downstream limit processing.
Replace the `type=int` parameter in the click.option decorator for `--limit`
with `click.IntRange(min=1)` to constrain the option to only accept positive
integers greater than zero, ensuring valid limit values are enforced at the CLI
argument parsing level.
- Around line 800-802: The early return at lines 800-802 silently allows parent
mutation flags like --tag-add, --star, and --note to be ignored when a mark
candidates subcommand is invoked. Before returning when ctx.invoked_subcommand
is not None, check if any mutation flags are set on the parent context (ctx) and
raise an error or validation exception if conflicting flags are detected. This
ensures users are informed of the conflict instead of having their flags
silently ignored.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 1e4b700c-7189-4734-a37d-8b439469ad3c

📥 Commits

Reviewing files that changed from the base of the PR and between b65833c and 1534977.

📒 Files selected for processing (69)
  • AGENTS.md
  • devtools/render_cli_reference.py
  • docs/cli-reference.md
  • docs/design/whole-product.md
  • docs/internals.md
  • docs/plans/test-closure-matrix.yaml
  • docs/plans/test-coverage-domains.yaml
  • docs/plans/topology-target.yaml
  • docs/search.md
  • docs/test-quality-workflows.md
  • docs/topology-status.md
  • polylogue/cli/click_app.py
  • polylogue/cli/click_command_registration.py
  • polylogue/cli/commands/user_state.py
  • polylogue/cli/commands/user_state_blackboard.py
  • polylogue/cli/commands/user_state_feedback.py
  • polylogue/cli/commands/user_state_tags.py
  • polylogue/cli/query_group.py
  • polylogue/cli/query_verbs.py
  • polylogue/operations/archive_debt.py
  • polylogue/showcase/exercise_catalog.json
  • tests/baselines/showcase/help-ops-state-annotations-delete.txt
  • tests/baselines/showcase/help-ops-state-annotations-list.txt
  • tests/baselines/showcase/help-ops-state-annotations-save.txt
  • tests/baselines/showcase/help-ops-state-annotations.txt
  • tests/baselines/showcase/help-ops-state-blackboard-list.txt
  • tests/baselines/showcase/help-ops-state-blackboard-post.txt
  • tests/baselines/showcase/help-ops-state-blackboard.txt
  • tests/baselines/showcase/help-ops-state-candidates-accept.txt
  • tests/baselines/showcase/help-ops-state-candidates-defer.txt
  • tests/baselines/showcase/help-ops-state-candidates-list.txt
  • tests/baselines/showcase/help-ops-state-candidates-reject.txt
  • tests/baselines/showcase/help-ops-state-candidates-supersede.txt
  • tests/baselines/showcase/help-ops-state-candidates.txt
  • tests/baselines/showcase/help-ops-state-feedback-clear.txt
  • tests/baselines/showcase/help-ops-state-feedback-list.txt
  • tests/baselines/showcase/help-ops-state-feedback-record.txt
  • tests/baselines/showcase/help-ops-state-feedback.txt
  • tests/baselines/showcase/help-ops-state-marks-add.txt
  • tests/baselines/showcase/help-ops-state-marks-list.txt
  • tests/baselines/showcase/help-ops-state-marks-remove.txt
  • tests/baselines/showcase/help-ops-state-marks.txt
  • tests/baselines/showcase/help-ops-state-recall-packs-delete.txt
  • tests/baselines/showcase/help-ops-state-recall-packs-list.txt
  • tests/baselines/showcase/help-ops-state-recall-packs-save.txt
  • tests/baselines/showcase/help-ops-state-recall-packs.txt
  • tests/baselines/showcase/help-ops-state-saved-views-delete.txt
  • tests/baselines/showcase/help-ops-state-saved-views-list.txt
  • tests/baselines/showcase/help-ops-state-saved-views-save.txt
  • tests/baselines/showcase/help-ops-state-saved-views.txt
  • tests/baselines/showcase/help-ops-state-tags.txt
  • tests/baselines/showcase/help-ops-state-workspaces-delete.txt
  • tests/baselines/showcase/help-ops-state-workspaces-list.txt
  • tests/baselines/showcase/help-ops-state-workspaces-save.txt
  • tests/baselines/showcase/help-ops-state-workspaces.txt
  • tests/baselines/showcase/help-ops-state.txt
  • tests/integration/test_cli_tags_surface.py
  • tests/unit/cli/__snapshots__/test_terminal_snapshots.ambr
  • tests/unit/cli/test_assertion_candidates.py
  • tests/unit/cli/test_blackboard.py
  • tests/unit/cli/test_cli_error_boundaries.py
  • tests/unit/cli/test_command_aux_runtime.py
  • tests/unit/cli/test_deterministic_output.py
  • tests/unit/cli/test_json_envelope_contract.py
  • tests/unit/cli/test_json_output.py
  • tests/unit/cli/test_stdout_stderr_split.py
  • tests/unit/cli/test_terminal_snapshots.py
  • tests/unit/cli/test_user_state_command.py
  • tests/unit/operations/test_archive_debt.py
💤 Files with no reviewable changes (45)
  • tests/baselines/showcase/help-ops-state-annotations-delete.txt
  • tests/baselines/showcase/help-ops-state-feedback-record.txt
  • tests/baselines/showcase/help-ops-state-blackboard-post.txt
  • tests/baselines/showcase/help-ops-state-marks-remove.txt
  • tests/baselines/showcase/help-ops-state-feedback-clear.txt
  • tests/baselines/showcase/help-ops-state-candidates-list.txt
  • tests/baselines/showcase/help-ops-state-marks-add.txt
  • tests/baselines/showcase/help-ops-state-candidates-reject.txt
  • tests/baselines/showcase/help-ops-state-candidates-defer.txt
  • tests/baselines/showcase/help-ops-state-marks.txt
  • tests/baselines/showcase/help-ops-state-workspaces-save.txt
  • tests/baselines/showcase/help-ops-state-candidates.txt
  • tests/baselines/showcase/help-ops-state.txt
  • tests/baselines/showcase/help-ops-state-recall-packs-list.txt
  • tests/baselines/showcase/help-ops-state-candidates-supersede.txt
  • tests/baselines/showcase/help-ops-state-feedback-list.txt
  • tests/baselines/showcase/help-ops-state-annotations-list.txt
  • tests/baselines/showcase/help-ops-state-saved-views-list.txt
  • tests/baselines/showcase/help-ops-state-recall-packs.txt
  • tests/baselines/showcase/help-ops-state-workspaces-list.txt
  • tests/baselines/showcase/help-ops-state-workspaces.txt
  • tests/baselines/showcase/help-ops-state-candidates-accept.txt
  • tests/baselines/showcase/help-ops-state-blackboard-list.txt
  • tests/baselines/showcase/help-ops-state-feedback.txt
  • polylogue/cli/commands/user_state_tags.py
  • tests/baselines/showcase/help-ops-state-marks-list.txt
  • tests/baselines/showcase/help-ops-state-saved-views.txt
  • tests/baselines/showcase/help-ops-state-saved-views-delete.txt
  • AGENTS.md
  • tests/integration/test_cli_tags_surface.py
  • tests/baselines/showcase/help-ops-state-saved-views-save.txt
  • tests/baselines/showcase/help-ops-state-annotations.txt
  • tests/baselines/showcase/help-ops-state-blackboard.txt
  • tests/baselines/showcase/help-ops-state-annotations-save.txt
  • tests/baselines/showcase/help-ops-state-recall-packs-save.txt
  • polylogue/cli/commands/user_state.py
  • tests/baselines/showcase/help-ops-state-workspaces-delete.txt
  • tests/baselines/showcase/help-ops-state-tags.txt
  • tests/baselines/showcase/help-ops-state-recall-packs-delete.txt
  • docs/internals.md
  • tests/unit/cli/test_blackboard.py
  • polylogue/cli/commands/user_state_feedback.py
  • polylogue/cli/commands/user_state_blackboard.py
  • polylogue/cli/click_command_registration.py
  • tests/unit/cli/test_user_state_command.py

Comment on lines +800 to +802
if ctx.invoked_subcommand is not None:
return

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Reject mixed mark mutation flags when a mark candidates subcommand is used.

At Line 800, the early return makes parent flags (--tag-add, --star, --note, etc.) silently no-op when users run mark candidates .... This can hide operator mistakes.

Suggested fix
-    if ctx.invoked_subcommand is not None:
-        return
+    if ctx.invoked_subcommand is not None:
+        if any(
+            (
+                tags_to_add,
+                tags_to_remove,
+                star,
+                unstar,
+                pin,
+                unpin,
+                do_archive,
+                do_unarchive,
+                note_text is not None,
+            )
+        ):
+            raise click.UsageError(
+                "Mark mutation flags cannot be combined with `mark candidates ...`."
+            )
+        return
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@polylogue/cli/query_verbs.py` around lines 800 - 802, The early return at
lines 800-802 silently allows parent mutation flags like --tag-add, --star, and
--note to be ignored when a mark candidates subcommand is invoked. Before
returning when ctx.invoked_subcommand is not None, check if any mutation flags
are set on the parent context (ctx) and raise an error or validation exception
if conflicting flags are detected. This ensures users are informed of the
conflict instead of having their flags silently ignored.


@mark_candidates_group.command("list")
@click.option("--target-ref", default=None, help="Limit candidates to one target object ref.")
@click.option("--limit", "-l", type=int, default=50, show_default=True)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Constrain --limit to positive integers.

Line 875 uses type=int, so 0/negative values are accepted and may produce unintended broad candidate reads depending on downstream limit semantics.

Suggested fix
-@click.option("--limit", "-l", type=int, default=50, show_default=True)
+@click.option("--limit", "-l", type=click.IntRange(min=1), default=50, show_default=True)
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
@click.option("--limit", "-l", type=int, default=50, show_default=True)
`@click.option`("--limit", "-l", type=click.IntRange(min=1), default=50, show_default=True)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@polylogue/cli/query_verbs.py` at line 875, The `--limit` option uses
`type=int` which permits zero and negative values that could cause unintended
behavior in downstream limit processing. Replace the `type=int` parameter in the
click.option decorator for `--limit` with `click.IntRange(min=1)` to constrain
the option to only accept positive integers greater than zero, ensuring valid
limit values are enforced at the CLI argument parsing level.

Resolve the reviewed lazy Click-group dispatch bug by invoking the resolved group instead of the proxy group, and keep explicit query terms like 'find mark candidates' on the search path instead of treating them as the candidate subcommand.\n\nVerification:\n- devtools test tests/unit/cli/test_cli_action_contracts.py::test_mark_contract_guard_requires_all_or_first_for_multi_match tests/unit/cli/test_cli_action_contracts.py::test_mark_contract_guard_allows_first_for_multi_match tests/unit/cli/test_cli_action_contracts.py::test_explicit_mark_candidates_terms_remain_query_text tests/unit/cli/test_assertion_candidates.py tests/unit/cli/test_stdout_stderr_split.py::TestErrorOutputContent -q\n- devtools verify --quick
@Sinity
Sinity merged commit 212bfe3 into master Jun 21, 2026
14 checks passed
@Sinity
Sinity deleted the feature/refactor/assertion-state-surface-2253 branch June 21, 2026 01:11
@Sinity

Sinity commented Oct 1, 2026

Copy link
Copy Markdown
Owner Author

Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.

  • 60.F001 / P1: fixed-already at the checked revision: polylogue/cli/click_app.py:595 enables invocation without a child for the lazy mark group. The proxy delegates invocation to the resolved group at polylogue/cli/click_command_registration.py:53, preserving the mark callback.

Only the rows listed above are dispositioned. Held findings remain open.

@Sinity

Sinity commented Oct 1, 2026

Copy link
Copy Markdown
Owner Author

Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.

  • 61.F086 / P2: fixed-already at the checked revision: polylogue/cli/query_group.py:109 only recognizes root subcommands before explicit find, and line 122 preserves an initial action word as query text. There is no preceding mark-candidates special case in the current splitter, so find mark candidates remains an explicit search.

Only the rows listed above are dispositioned. Held findings remain open.

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.

1 participant