Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "claude-pilot",
"name": "pilot-shell",
"build": {
"dockerfile": "Dockerfile"
},
"runArgs": [
"--name",
"claude-pilot"
"pilot-shell"
],
"workspaceFolder": "/workspaces/claude-pilot",
"workspaceFolder": "/workspaces/pilot-shell",
"customizations": {
"vscode": {
"extensions": [
Expand Down Expand Up @@ -87,7 +87,7 @@
/* https://github.com/jungaretti/features/tree/main/src/ripgrep */
"ghcr.io/jungaretti/features/ripgrep:1": {}
},
"postCreateCommand": "curl -fsSL https://raw.githubusercontent.com/maxritter/claude-pilot/main/install.sh | bash",
"postCreateCommand": "curl -fsSL https://raw.githubusercontent.com/maxritter/pilot-shell/main/install.sh | bash",
"remoteUser": "root",
"containerUser": "root"
}
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
launcher/** filter=git-crypt diff=git-crypt
launcher/**/__init__.py !filter !diff
docs/site/api/** filter=git-crypt diff=git-crypt
.gitattributes !filter !diff
6 changes: 6 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@

set -eo pipefail

# --- Skip in worktrees (spec workflow commits are squash-merged later) ---
if [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ] && \
[ "$(git rev-parse --git-dir)" != ".git" ]; then
exit 0
fi
Comment on lines +11 to +15
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Avoid blanket pre-commit bypass for all worktrees.

This exits for any linked worktree, not just spec workflow commits, so it disables all test gates and artifact rebuilds for regular dev worktrees too. That increases the risk of untested changes or stale artifacts being committed. Consider making this skip explicit (env flag / branch prefix) so the default remains safe.

Suggested safer opt‑in gate
-# --- Skip in worktrees (spec workflow commits are squash-merged later) ---
-if [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ] && \
-   [ "$(git rev-parse --git-dir)" != ".git" ]; then
-  exit 0
-fi
+# --- Optional skip in worktrees (spec workflow commits are squash-merged later) ---
+if [ "${PRE_COMMIT_SKIP_WORKTREE:-0}" = "1" ]; then
+  if [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ] && \
+     [ "$(git rev-parse --git-dir)" != "$(git rev-parse --git-common-dir)" ]; then
+    exit 0
+  fi
+fi
📝 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
# --- Skip in worktrees (spec workflow commits are squash-merged later) ---
if [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ] && \
[ "$(git rev-parse --git-dir)" != ".git" ]; then
exit 0
fi
# --- Optional skip in worktrees (spec workflow commits are squash-merged later) ---
if [ "${PRE_COMMIT_SKIP_WORKTREE:-0}" = "1" ]; then
if [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ] && \
[ "$(git rev-parse --git-dir)" != "$(git rev-parse --git-common-dir)" ]; then
exit 0
fi
fi
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.githooks/pre-commit around lines 11 - 15, The current pre-commit hook
unconditionally exits for any linked worktree by checking git rev-parse
--is-inside-work-tree and git rev-parse --git-dir, which bypasses all gates;
update the condition in the .githooks/pre-commit script to perform an explicit
opt-in instead (e.g., check an env var like SKIP_PRE_COMMIT_WORKTREE or a
branch-name prefix such as SPEC/), so only when that env flag is set or the
branch name matches the spec workflow pattern the hook exits early; modify the
existing worktree check block (the if that calls git rev-parse
--is-inside-work-tree and git rev-parse --git-dir) to require the additional
opt-in predicate before running exit 0.


# --- 1. Python unit tests ---
LAUNCHER_CHANGED=$(git diff --cached --name-only -- 'launcher/' 'pilot/hooks/' | head -1)
INSTALLER_CHANGED=$(git diff --cached --name-only -- 'installer/' | head -1)
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ Paste any error messages or logs here

## Checklist

- [ ] I am using the latest version of Claude Pilot
- [ ] I am using the latest version of Pilot Shell
- [ ] I have searched existing issues to avoid duplicates
- [ ] I can reproduce this consistently with the steps above
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Feature Requests
url: https://claude-pilot.com/#pricing
url: https://pilot-shell.com/#pricing
about: Feature requests are available on the Team plan. Visit our pricing page for details.
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

All notable changes to Claude Pilot will be documented in this file.
All notable changes to Pilot Shell will be documented in this file.

## [6.11.0] - 2026-02-24

Expand Down Expand Up @@ -434,7 +434,7 @@ All notable changes to Claude Pilot will be documented in this file.
- Rebuild console assets with latest changes
- Address code review findings
- Stale session cleanup, context hook, install docs, and CI pipeline
- Continue reworking towards Claude Pilot Console
- Continue reworking towards Pilot Shell Console

### Features

Expand Down Expand Up @@ -543,13 +543,13 @@ All notable changes to Claude Pilot will be documented in this file.

### BREAKING CHANGES

- Major workflow changes for Claude Pilot v6.0
- Project renamed from Claude CodePro to Claude Pilot
- Major workflow changes for Pilot Shell v6.0
- Project renamed from Claude CodePro to Pilot Shell

### Features

- Add multi-pass plan verification and installer auto-version
- Renamed Project to Claude Pilot
- Renamed Project to Pilot Shell

### Bug Fixes

Expand Down
16 changes: 8 additions & 8 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLAUDE PILOT SOFTWARE LICENSE AGREEMENT
PILOT SHELL SOFTWARE LICENSE AGREEMENT

Copyright (C) 2026 Max Ritter (@maxritter). All rights reserved.

Expand All @@ -13,9 +13,9 @@ OF THIS LICENSE AGREEMENT. IF YOU DO NOT AGREE, DO NOT USE THE SOFTWARE.
1. DEFINITIONS

"Licensor" means Max Ritter (@maxritter), the sole copyright holder and
developer of Claude Pilot.
developer of Pilot Shell.

"Software" means Claude Pilot in its entirety, including but not limited to all
"Software" means Pilot Shell in its entirety, including but not limited to all
source code, object code, compiled binaries, scripts, configuration files,
rules, skills, commands, hooks, plugins, documentation, assets, user interface
components, and any updates, patches, or modifications provided by the Licensor.
Expand All @@ -31,7 +31,7 @@ to the Cython-compiled launcher binary.
this Agreement.

"Subscription" means an active, paid license purchased from the Licensor through
the official channels at https://claude-pilot.com, or a valid trial
the official channels at https://pilot-shell.com, or a valid trial
period that has not expired.

"Output" means any code, artifacts, configurations, files, extensions, or other
Expand Down Expand Up @@ -166,7 +166,7 @@ beyond those expressly stated in Section 2 of this Agreement.

(a) USE OF THE SOFTWARE BEYOND THE TRIAL PERIOD REQUIRES AN ACTIVE
SUBSCRIPTION. Subscription terms, pricing, and payment terms are as
published at https://claude-pilot.com and may be updated by the
published at https://pilot-shell.com and may be updated by the
Licensor from time to time.

(b) FAILURE TO MAINTAIN an active Subscription terminates Your rights under
Expand Down Expand Up @@ -266,12 +266,12 @@ CLAIM.

(h) NOTICES. All notices required or permitted under this Agreement shall be
directed to the Licensor through the official channels published at
https://claude-pilot.com.
https://pilot-shell.com.

================================================================================

For licensing inquiries: https://claude-pilot.com
For bug reports (Trial & Solo): https://github.com/maxritter/claude-pilot/issues
For licensing inquiries: https://pilot-shell.com
For bug reports (Trial & Solo): https://github.com/maxritter/pilot-shell/issues
For priority support & feature requests (Team): mail@maxritter.net

================================================================================
Loading
Loading