Repository navigation
chore: clean up - #78
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughAdds CLI-agent infrastructure and scaffolding (shared server-client utilities, new subcommands, tests, and a git-policy endpoint), updates configuration for desktop dev start and ports, expands allowed Bash permissions in settings, and adds/duplicates documentation guidance and a new skill doc. Changes
Sequence Diagram(s)sequenceDiagram
participant CLI as CLI (user)
participant SC as server-client util
participant Server as OpenKit Server
participant Git as Git / git-policy resolver
CLI->>SC: inferWorktreeIdFromCwd() / parseFlag(...)
SC->>Server: GET /api/worktrees/:id/git-policy
Server->>Git: resolveGitPolicy(worktreeId)
Git-->>Server: git policy
Server-->>SC: 200 OK + policy
SC-->>CLI: outputResult / serverJson response
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
AGENTS.md (1)
1-1:⚠️ Potential issue | 🔴 CriticalFix the file header.
The file header shows
# CLAUDE.mdbut this file isAGENTS.md. The header should be# AGENTS.md. While the content of these files must stay in sync per coding guidelines, each should have its own correct header identifying the file.🔧 Proposed fix
-# CLAUDE.md +# AGENTS.mdAs per coding guidelines: CLAUDE.md and AGENTS.md must stay in sync. Any change made to one must be applied to the other in the same update.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@AGENTS.md` at line 1, Update the top-level header in the AGENTS.md file so it correctly identifies the file: replace the incorrect header text "# CLAUDE.md" with "# AGENTS.md" (keep the rest of the content the same to stay in sync with CLAUDE.md per guidelines).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@docs/superpowers/plans/2026-03-16-cli-agent-commands.md`:
- Around line 1549-1567: The fenced code block that starts with the line
"Commands:" is missing a language identifier; update the opening fence to
include a language (for example change "```" to "```text") so the block is
marked consistently with the rest of the document and keep the closing fence
unchanged.
In `@docs/superpowers/specs/2026-03-16-cli-agent-commands-design.md`:
- Around line 38-43: Several fenced code blocks in the document are missing
language identifiers; update each block that contains CLI examples (e.g., the
blocks containing "openkit hooks run [--worktree <id>] [--trigger <trigger>]
[--step <stepId>]", "openkit hooks status [--worktree <id>]", the report/config
blocks, and the other similar command blocks) to include a language tag such as
```text or ```bash at the opening fence so they render with consistent
highlighting; apply this change to every occurrence noted in the review (the
blocks around those command examples).
---
Outside diff comments:
In `@AGENTS.md`:
- Line 1: Update the top-level header in the AGENTS.md file so it correctly
identifies the file: replace the incorrect header text "# CLAUDE.md" with "#
AGENTS.md" (keep the rest of the content the same to stay in sync with CLAUDE.md
per guidelines).
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: cb366891-53a0-4690-8ba5-227275c5be2c
📒 Files selected for processing (6)
.claude/settings.json.openkit/config.jsonAGENTS.mdCLAUDE.mddocs/superpowers/plans/2026-03-16-cli-agent-commands.mddocs/superpowers/specs/2026-03-16-cli-agent-commands-design.md
| ``` | ||
| Commands: | ||
| (default) Start the server and open the UI | ||
| init Interactive setup wizard to create .openkit/config.json | ||
| add [name] Set up an integration (github, linear, jira) | ||
| ui Manage optional UI components (web/desktop) | ||
| activity Emit workflow activity events (for agent/user coordination) | ||
| task Manage task resolution and worktree creation | ||
| hooks Run and manage verification hooks | ||
| notify Send activity notifications | ||
| commit Stage and commit worktree changes | ||
| push Push worktree branch | ||
| pr Create a pull request | ||
| policy Check git operation permissions | ||
| worktree Manage worktrees (list, create, start, stop, remove) | ||
| issues Browse Jira/Linear issues | ||
| context Read task context for a worktree | ||
| notes Read issue notes and todos | ||
| ``` |
There was a problem hiding this comment.
Add language identifier to fenced code block.
The fenced code block at line 1549 is missing a language identifier. Add a language identifier (e.g., text or leave it as code block content) for consistency with the rest of the document.
📝 Proposed fix
-```
+```text
Commands:
(default) Start the server and open the UI🧰 Tools
🪛 markdownlint-cli2 (0.21.0)
[warning] 1549-1549: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@docs/superpowers/plans/2026-03-16-cli-agent-commands.md` around lines 1549 -
1567, The fenced code block that starts with the line "Commands:" is missing a
language identifier; update the opening fence to include a language (for example
change "```" to "```text") so the block is marked consistently with the rest of
the document and keep the closing fence unchanged.
| ``` | ||
| openkit hooks run [--worktree <id>] [--trigger <trigger>] [--step <stepId>] | ||
| openkit hooks status [--worktree <id>] | ||
| openkit hooks report [--worktree <id>] --skill <name> --trigger <trigger> --success|--failed [--summary <text>] [--file <path>] | ||
| openkit hooks config [--worktree <id>] | ||
| ``` |
There was a problem hiding this comment.
Add language identifiers to fenced code blocks.
Multiple fenced code blocks are missing language identifiers (lines 38, 54, 64, 78, 94, 104). Add language identifiers (e.g., text or bash) for consistency and proper syntax highlighting.
📝 Example fix for one block
-```
+```text
openkit hooks run [--worktree <id>] [--trigger <trigger>] [--step <stepId>]
openkit hooks status [--worktree <id>]Apply the same pattern to all other fenced code blocks missing language identifiers throughout the file.
Also applies to: 54-56, 64-69, 78-84, 94-97, 104-107
🧰 Tools
🪛 markdownlint-cli2 (0.21.0)
[warning] 38-38: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@docs/superpowers/specs/2026-03-16-cli-agent-commands-design.md` around lines
38 - 43, Several fenced code blocks in the document are missing language
identifiers; update each block that contains CLI examples (e.g., the blocks
containing "openkit hooks run [--worktree <id>] [--trigger <trigger>] [--step
<stepId>]", "openkit hooks status [--worktree <id>]", the report/config blocks,
and the other similar command blocks) to include a language tag such as ```text
or ```bash at the opening fence so they render with consistent highlighting;
apply this change to every occurrence noted in the review (the blocks around
those command examples).
…kill - add CLAUDE.md/AGENTS.md rule prohibiting absolute paths in docs (hardcoded user paths make plans non-portable across machines) - replace all /Users/fum4/_work/dawg/ references in plan files with repo-relative paths - update address-pr-review skill to read Clode Review from issue comments instead of PR reviews API
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.claude/skills/address-pr-review/SKILL.md:
- Around line 37-49: The doc and logic currently search for the marker string
"Clode Review" in Step 3 (the gh api comment filtering and the subsequent stop
condition); update both places to use one canonical marker (e.g., "Claude
Review" or "Code Review") consistently so the fetch criteria and the existence
check match; ensure the search used in the API result filtering (the logic that
checks user.login === "github-actions[bot]" and comment body contains the
marker) and the conditional that informs the user "no Clode Review found" are
changed to reference the exact same corrected marker string.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 677f6633-535e-4ddc-905f-3b9d109cec5b
📒 Files selected for processing (5)
.claude/skills/address-pr-review/SKILL.mdAGENTS.mdCLAUDE.mddocs/superpowers/plans/2026-03-12-vertical-web-app-tests.mddocs/superpowers/plans/2026-03-16-cli-agent-commands.md
✅ Files skipped from review due to trivial changes (2)
- docs/superpowers/plans/2026-03-12-vertical-web-app-tests.md
- CLAUDE.md
| ### Step 3: Fetch the Clode Review comment | ||
|
|
||
| The code review is posted as a **PR issue comment** (not a PR review) by `github-actions[bot]`, with a title containing "Clode Review". | ||
|
|
||
| ```bash | ||
| gh api repos/{owner}/{repo}/issues/{number}/comments | ||
| ``` | ||
|
|
||
| From the results: | ||
|
|
||
| 1. Find comments where `user.login` is `github-actions[bot]` **and** the body contains "Clode Review" | ||
| 2. Among matching comments, pick the **latest** by `created_at` | ||
| 3. If no Clode Review comment is found, inform the user and stop |
There was a problem hiding this comment.
Fix review identifier typo to avoid false “no review found” outcomes.
The workflow keys off "Clode Review" in both fetch criteria and stop condition. If the actual marker is "Claude Review" (or "Code Review"), this flow will incorrectly stop without processing comments. Use one canonical string consistently.
💡 Proposed doc fix
-### Step 3: Fetch the Clode Review comment
+### Step 3: Fetch the Claude Review comment
-The code review is posted as a **PR issue comment** (not a PR review) by `github-actions[bot]`, with a title containing "Clode Review".
+The code review is posted as a **PR issue comment** (not a PR review) by `github-actions[bot]`, with a title containing "Claude Review".
@@
-1. Find comments where `user.login` is `github-actions[bot]` **and** the body contains "Clode Review"
+1. Find comments where `user.login` is `github-actions[bot]` **and** the body contains "Claude Review"
@@
-3. If no Clode Review comment is found, inform the user and stop
+3. If no Claude Review comment is found, inform the user and stop🧰 Tools
🪛 LanguageTool
[grammar] ~37-~37: Ensure spelling is correct
Context: ...` for API calls. ### Step 3: Fetch the Clode Review comment The code review is post...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
[grammar] ~49-~49: Ensure spelling is correct
Context: ...the latest by created_at 3. If no Clode Review comment is found, inform the use...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In @.claude/skills/address-pr-review/SKILL.md around lines 37 - 49, The doc and
logic currently search for the marker string "Clode Review" in Step 3 (the gh
api comment filtering and the subsequent stop condition); update both places to
use one canonical marker (e.g., "Claude Review" or "Code Review") consistently
so the fetch criteria and the existence check match; ensure the search used in
the API result filtering (the logic that checks user.login ===
"github-actions[bot]" and comment body contains the marker) and the conditional
that informs the user "no Clode Review found" are changed to reference the exact
same corrected marker string.
Summary by CodeRabbit
New Features
Documentation
Chores