Commit Graph

72 Commits

Author SHA1 Message Date
OthmanAdi f31c3e3f14 docs: clarify Claude and Codex support routes 2026-08-29 20:05:33 +02:00
OthmanAdi af9a1fab2f docs: record help and npm package fixes 2026-08-29 11:45:35 +02:00
OthmanAdi 71258dae71 fix: create the skill destination before manual copies 2026-08-22 12:53:05 +02:00
Dylan Pulver 3c5ea2b14f docs: name the skill directory in the skills-only install commands
docs/installation.md:101 and docs/windows.md:38 copy skills/* into the user's
skills directory. Since the v3.11.0 move of the language variants to
skills/i18n/, that glob also copies i18n/, which is not a skill: the user ends
up with ~/.claude/skills/i18n/ holding no SKILL.md, and the five translations
at ~/.claude/skills/i18n/planning-with-files-<lang>/ rather than the
~/.claude/skills/planning-with-files-<lang>/ that commands/plan-<lang>.md
probes first.

Both now name skills/planning-with-files, matching section 4 of
installation.md, README.md:250 and every other copy command in docs/. A second
line copying skills/i18n/* would restore what the glob used to install, but
docs/languages.md:26 states that installing English installs no translation,
and six skills in ~/.claude/skills/ returns the five extra descriptions to
every session that PR #226 removed from the plugin route.

The guard lives in tests/test_plugin_skill_surface.py, which owns the skills/
depth invariant. It matches only lines starting with cp or Copy-Item, so the
prose describing the skills/*/SKILL.md plugin scan does not trip it.
2026-08-22 12:53:05 +02:00
OthmanAdi de6749b902 release: v3.11.0
Version bump across the 19 parity targets, CHANGELOG, CONTRIBUTORS, and the
README releases row for the skills/i18n move that closes #130.

Also adds docs/languages.md, the page the translations never had, and
collapses the README FAQ by default.
2026-08-20 22:19:38 +02:00
OthmanAdi 9b7d0a0079 release: v3.10.1 2026-08-14 22:25:19 +02:00
OthmanAdi ad1b6927e8 fix: take first-party ownership of the npm channel (#213)
The documented Pi install pointed at npm packages the maintainer does not
control: README and .pi docs at @tomxprime/planning-with-files (published
once at 1.1.0 on 2026-05-22, 15 releases behind), docs/pi-agent.md at
pi-planning-with-files (published from a fork at 1.0.1 on 2026-02-04).
Neither can be refreshed from this repo, so the canonical Pi install
handed users a stale snapshot.

Changes:
- .pi/skills/planning-with-files/package.json renamed to the unscoped
  planning-with-files, version 3.9.0, matching the repo release.
- package.json files list gains negation patterns so node_modules,
  __pycache__ and the extension package-lock never enter the tarball
  (a dry-run pack from this machine was 179 MB unpacked without them,
  66 kB with).
- Bundled extension package renamed planning-with-files-pi-extension;
  lock file name and version synced (was stale at 1.1.0 vs 1.2.3).
- All live install docs point at pi install npm:planning-with-files.
- bump-version.py and test_skill_md_version_parity.py add the npm
  package.json to the parity set (19 entries) so the npm version can
  never silently drift from a release again. Publishing stays a manual
  per-release step, documented in AGENTS.md.
2026-08-03 11:28:29 +02:00
OthmanAdi 38a5e54641 docs: document the plan-root pin and correct the recitation token figure
The skill text described per tool call re-injection as "the +68% token tax
measured in the v2.21 eval". That eval measured total tokens for a whole task
with the skill against the same task without it, and its own write-up
attributes the difference to writing three structured files instead of one or
two. It never isolated recitation. Raised while answering #210; the wording
now states the measured per call figure instead of borrowing an unrelated
number.

PWF_PLAN_ROOT existed only in code comments and a refusal message, so the
escape hatch a user is told to reach for was undocumented. The skill now
explains the shared parent case and the ambiguity refusal, and the README
gains an environment variable table covering all seven knobs, several of which
had never been written down anywhere, including PWF_SESSION_ID.

README test count refreshed.
2026-08-01 22:06:20 +02:00
OthmanAdi b49ea488fb feat: make the Stop hook and session recovery fire everywhere, add long-run injection controls
The Stop scalar never dispatched on macOS or Linux (the PowerShell branch
was always selected because check-complete.ps1 ships on every platform)
and was a silent no-op anywhere CLAUDE_SKILL_DIR was unset (the :- install
path fallback can never substitute because the probed variable is always a
non-empty string). Both the legacy completion advisory and the v3
completion gate were dead in those environments. The scalar now selects
targets by file existence and dispatches by platform, PowerShell only
under MINGW/MSYS/CYGWIN, sh elsewhere. Windows output is unchanged.
Patched in all 14 SKILL.md variants that carry the scalar.

session-catchup probed a ~/.claude/projects name that Claude Code never
writes for POSIX paths (leading dash stripped) or paths containing an
underscore (replaced with a dash), so recovery after /clear silently
found nothing there. The mapper now probes the exact spelling first,
keeps both legacy spellings for stores created by older versions, and
settles ambiguity via the cwd recorded in the newest session file.
Propagated to every shipped copy including the older-generation root,
.hermes, and .mastracode scripts.

Also: the attestation SHA cache is keyed on the absolute plan path so two
projects can no longer share a slot and report a false PLAN TAMPERED;
resolve-plan-dir.ps1 reaches parity with the sh resolver (slug filter,
task_plan.md requirement in the newest-dir scan, fail-closed containment);
ledger-append.sh no longer truncates summaries mid-codepoint (UTF-8-safe
trim via iconv with a pure-sh fallback).

New long-run features, all opt-in or additive: structure-aware injection
(PWF_INJECT=smart or an inject-smart .mode token) keeps the active phase,
phase counts, and the last three decisions in the window late in long
plans; a Next Step section in both plan templates plus a sixth reboot
question; session-catchup annotates tool results (ok or FAILED with the
first error line) instead of only listing attempts.

Infrastructure: macos-latest joins the CI matrix, a BSD-userland
simulation harness runs the script fleet without realpath, readlink,
flock, or sha256sum on the Linux leg, and .gitattributes pins LF for
scripts. SEO surfaces: llms.txt rewritten as a Q&A page, three
problem-query docs pages, plugin.json and CITATION.cff keyword hygiene.

Suite grows from 217 to 301 passed, 11 skipped, on Windows and both
existing CI legs; default hook output stays byte-identical to v2.43
(legacy invariant proven by the existing invariant tests).
2026-07-21 21:17:19 +02:00
OthmanAdi eb913020c2 release: v3.7.0 (Agent Skills standard layout in-tree, plan-doctor in every mirror)
Ships .agents/skills/planning-with-files/ so tools reading the
cross-tool Agent Skills path natively (Zed, Amp, Warp, Devin,
Antigravity, Gemini CLI, Cursor) discover the current skill from a
plain git clone. Full canonical surface: SKILL.md, references, six
templates, complete script set including hook dispatchers, ledger
tooling, and plan-doctor.

Wired into both maintenance systems so it cannot silently rot:
sync-ide-folders.py gains a .agents manifest (and now ships
plan-doctor.sh to every synced IDE folder), the SKILL.md joins the
bump-version.py parity set and the version-parity test (18 locked
entries). AGENTS.md and the bump-version.py docstring describe the
actual parity set. docs/gemini.md routes new installs through the
standard path instead of the intentionally lagged .gemini variant.

18-file parity bump to 3.7.0, CHANGELOG entry, README release row and
version heading.
2026-07-18 12:10:33 +02:00
OthmanAdi 0ec48c1c13 docs: install-route matrix, trust prerequisite, trigger snippet, stale reference cleanup
installation.md now states what each install route actually ships (the
plugin route carries commands/ and reliable hook registration; npx
skills and manual copies do not), documents the project-trust gate that
silently disables project-level skills, and offers a one-line CLAUDE.md
trigger snippet: the July 2026 benchmark measured unforced skill
engagement at 60-67% while always-loaded rules lines engaged 100%.

The last two variant copies still teaching Manus-2025 "one tool call
per turn" (.factory, .mastracode) get the 2026 parallel-host update the
canonical reference.md already carries. kilocode.md notes the Windsurf
to Devin Desktop transition.
2026-07-18 11:54:33 +02:00
OthmanAdi 11b0ff6750 docs: document plan lifecycle (#202) and surface the v3 command, hook, and mode surface
Adds an "After Completion" section to docs/workflow.md stating that the planning
files are ephemeral working memory, gitignored by default, and not archived
automatically, with guidance on retaining a completed plan and a note that a
completion-triggered archive step is a welcome opt-in extension. Pointers added in
docs/quickstart.md and a README FAQ entry. This writes down the lifecycle that
issue #14 answered only informally (#202).

Expands the README, additively and in the visible body, to document the command
surface that shipped across v2.33 through v3.4 but was never listed. The Claude
Code command table gains pwf, plan-goal, plan-loop, plan-attest, and the language
commands. New sections cover the Pi extension commands, a v3 long-running-agent
feature list, a hooks and modes reference across Claude Code, Codex, and Pi, and a
note on command names versus skill names (there is no /pwf-de and no
/planning-with-files:planning-with-files-goal). The File Structure block now lists
all 12 command files.
2026-07-13 08:15:03 +02:00
OthmanAdi e8ce66f962 release: v3.4.1 (Codex hooks run on Windows, closes #201)
Codex on Windows runs each hook command through the native command
interpreter, not a POSIX shell. The .codex/hooks.json commands were POSIX
only (sh, python3, 2>/dev/null, $HOME, trailing || true), so python3 hit
the Microsoft Store alias, the redirection was an invalid path, and the
|| true success guard failed because true is not a Windows command. Every
hook exited non-zero and Codex reported "hook exited with code 1".

Add a per-hook commandWindows override, the sanctioned Codex mechanism.
The POSIX command is untouched, so macOS and Linux are byte for byte
unchanged. On Windows all seven hooks route through a new launcher,
.codex/hooks/pwf-hook.cmd, which picks a real Python (py -3, falling back
to python, never the Store python3 alias) and always exits 0. The three
shell hooks route through a new front door, .codex/hooks/run_sh.py.
codex_hook_adapter.run_shell_script resolves the Git for Windows sh.exe by
anchoring on git.exe and the standard install roots, so the shell scripts
run even when Git's usr\bin is off PATH, and hands session-catchup.py a
real interpreter via PYTHON_BIN. docs/codex.md Windows section rewritten.

Version bump 3.4.0 to 3.4.1 across the 17-file parity set. New tests: a
cross-platform guard that every hook declares a commandWindows free of the
POSIX tokens that break on Windows, and a Windows-only run_sh.py end-to-end
test. Reported by @mahdiit.
2026-07-12 13:01:02 +02:00
OthmanAdi 565d4ffab4 docs: sharpen competitive benchmark framing, lead with the recovery result
Rewrites the Benchmark v1 page and evals.md Test 5 to lead with what pwf wins:
a context-death resume in 5.0 turns (2.7x faster than a raw agent, 40 percent
fewer than the next method), correctness parity at 77/77, and the guarantees
table where pwf is the only method with automatic recovery, re-surfacing,
tamper-detection, isolation, and compaction. Triggering is reframed around the
like-for-like result (pwf leads superpowers 5 to 0). The single-machine Windows
per-fire timing is qualified as a local implementation detail under profiling,
not a headline. All numbers are unchanged and remain reproducible from the raw
runs. Docs only: no skill, hook, script, manifest, or version change.
2026-07-07 16:25:49 +02:00
OthmanAdi fbc562f5f4 docs: add competitive benchmark v1 (Test 5) and animated summary page
First head-to-head of planning-with-files v3.4.0 against six alternative
planning methods (native, filesystem-notes, naive-plan, superpowers,
spec-kit, memory-bank) in one harness on claude-opus-4-8, graded by
deterministic oracles only. 77 cells, all disk-verified.

Reported honestly, losses first-class: task outcomes saturate (77/77 pass,
no arm wins on pass rate at this task size); unforced trigger rate is 60 to
67 percent and is the top backlog item; overhead is real (+50 to 100 percent
cost on small tasks, ~2s per hook fire on Windows). Where pwf leads: a resume
after context death takes 5.0 turns versus 8.3 to 13.3 for rivals, when the
plan exists. Adds docs/evals.md Test 5, docs/benchmark/index.html, one README
badge. No version bump, no skill, hook, script, or manifest changes.
2026-07-07 07:32:26 +02:00
OthmanAdi ee892664af feat: honor PLANNING_DISABLED=1 per-invocation opt-out across all hook entry points (closes #195) 2026-07-06 07:19:12 +02:00
diksha adbdc8e13a feat: gate Pi hooks behind plan-execute
Add an explicit /plan-execute approval command for the Pi extension so task_plan.md can be drafted and reviewed without activating plan injection, pre-tool recitations, post-write reminders, or auto-continue.

Scope approval to the current session and plan path, reset it on session lifecycle events, and document the passive review flow with focused runtime and docs coverage.
2026-07-06 06:19:06 +02:00
OthmanAdi 8459756b18 release: v3.2.0 (v3 health audit: session-catchup + inject-plan Windows fixes, 0/0-phases guard, analytics templates, 2 PRs merged)
Version bumped to 3.2.0 across the 17 parity-locked files via
scripts/bump-version.py. .continue, .gemini, .pi, and .kiro lag
intentionally, now documented directly in AGENTS.md.

CHANGELOG, CONTRIBUTORS, and README updated. docs/evals.md gets a new
Test 4 documenting the functional verification of v3's long-running-session
mechanism on Windows, the two bugs it found, and what was fixed.
2026-07-03 17:03:43 +02:00
Igor Costa fb8127682d Add Autohand Code setup docs 2026-07-03 16:56:32 +02:00
stephen-abc cc7c67c511 fix: resolve windows test encoding errors and correct installation docs 2026-07-03 16:56:25 +02:00
OthmanAdi 22055786df docs: fix templates directory mislabel in docs/codebuddy.md
Three sections pointed users at .codebuddy/skills/planning-with-files/references/
for the task_plan.md, findings.md, and progress.md starter templates. Those
three files live in the skill's templates/ directory; references/ holds
examples.md and reference.md instead. Same mislabel PR #187 fixes in
antigravity.md, on a file outside that PR's scope.
2026-07-03 16:55:45 +02:00
Fat-Jan 1822d0459f docs: check canonical Codex hooks feature flag 2026-06-15 01:39:43 +02:00
OthmanAdi ca5b060bf7 fix(docs): align SHA-cache notes with v3 XDG cache path (follow-up to #174)
PR #174 documented the cache at ${TMPDIR:-/tmp}/pwf-sha, the v2.40 location.
v3.0.0 moved it to $XDG_CACHE_HOME/pwf-sha (or $HOME/.cache/pwf-sha), with
/tmp only as the HOME-unset fallback (scripts/inject-plan.sh:165). Corrected the
documented location, keying precision (first 16 hex of SHA-256 of the plan
path), the clear command, container behavior (HOME is usually set), and the
SKILL.md cross-link that repeated the stale /tmp path.
2026-06-13 08:45:05 +02:00
Matt Van Horn 65299cc6e8 docs: document SHA cache transient directory and keying 2026-06-13 08:43:11 +02:00
劉昱廷 23c9dd3d96 fix: add Codex PreCompact hook
Change-Id: I5e0490d41e13c9910f8ba87956a9f3a4632d2536
2026-06-13 08:40:31 +02:00
OthmanAdi 577a1c59b4 release: v2.43.0 (CONTRIBUTING.md + OpenCode docs fix + .continue/.gemini/.kiro variant sync) 2026-05-26 10:47:25 +02:00
carterusedulm2-maker c5afda4a80 docs: add Topic Handoff Pattern guidelines 2026-05-25 11:37:52 +02:00
CleanFix-Dev 450d3d45f1 docs: document attestation lock fallback (#168) 2026-05-24 13:52:46 +02:00
OthmanAdi 27ef36cd3b release: v2.39.0 (Pi full hook parity extension + Codex hooks flag fix)
Adds a bundled TypeScript extension under .pi/skills/planning-with-files/extensions/planning-with-files/
that maps Pi lifecycle events onto the same behavior the skill provides on Claude Code (PR #157 by
@TomXPRIME). Event surface: session_start, before_agent_start, tool_call, tool_result, agent_end,
session_before_compact, session_shutdown, input. Four modes: auto (DeepSeek-aware), parity,
cache-safe, notify. Attestation gate shares the v2.37 .attestation file. Four slash commands
registered (/plan-status, /plan-attest, /plan-goal, /plan-loop). 12 new contract tests.

Fixes docs/codex.md to use the canonical [features] hooks = true key (Issue #154 by @DLI1996),
with a deprecated-alias note so users on older configs keep working.

Version bumped to 2.39.0 across 14 SKILL.md variants, plugin.json, marketplace.json, CITATION.cff
via scripts/bump-version.py. .pi npm scheme bumped 1.0.1 -> 1.1.0 for the extension surface.
.continue, .gemini, .kiro lag intentionally.

Tests: 110 pass, 2 pre-existing Windows exec-bit failures unrelated to this release.
2026-05-21 21:33:16 +02:00
OthmanAdi 9bf31fc41e release: v2.36.0 (parallel plan isolation + Codex session isolation + Hermes docs)
Closes #146, #147, #148.

Parallel plan isolation (#148, @shawnli1874): init-session.sh slug mode
creates .planning/YYYY-MM-DD-<slug>/ for each task. set-active-plan.sh/.ps1
switch the active plan pointer. resolve-plan-dir.sh/.ps1 provide the
resolution chain ($PLAN_ID env, .active_plan file, newest plan dir, legacy
fallback). All four Codex hooks route through the resolver. resolve_latest_dir
now requires task_plan.md to be present, preventing system dirs like sessions/
from being selected as plan dirs. short_uuid() probes each Python candidate
before trusting command -v, fixing silent failure on Windows Store aliases.

Codex session isolation (#146, @githubYiheng): sessions attach to a plan by
creating .planning/sessions/<session_id>.attached. user-prompt-submit.sh,
pre_tool_use.py, stop.py, and post_tool_use.py all gate on session attachment
before injecting context or blocking. Legacy mode preserved when
.planning/sessions/ does not exist.

Hermes integration notes (#147, @09ashishkapoor): docs/hermes.md gains an
Integration Notes section covering current support level, what is not full
parity with hook-native platforms, recommended integration pattern, and a
tradeoffs table.

34 new tests across five files. Version bumped to 2.36.0 across 14 SKILL.md
variants, plugin.json, marketplace.json, and CITATION.cff.
2026-05-01 18:37:25 +02:00
bailob 2b358172f4 feat: add Hermes adapter for planning-with-files (#136)
* feat: add Hermes adapter for planning-with-files

- add a Hermes project plugin with planning tools, status parsing, and reminder hooks
- add Hermes-specific skill and command wrappers while keeping the workflow close to upstream
- document generic Hermes installation and cover the adapter with focused unit tests

* fix: bundle Hermes skill assets and paths
2026-04-21 15:47:38 +02:00
OthmanAdi fcf0522291 fix: correct openclaw.md install paths — .openclaw/ dir never existed, use clawhub-upload/ source 2026-04-15 21:09:37 +02:00
OthmanAdi 6aa4276926 release: v2.34.0 — Codex hooks restored, spring cleaning, contributors updated
Restores .codex/hooks.json and .codex/hooks/ scripts that were wiped when
master was rewritten during v2.32.0 (closes #132, original work by @Leon-Algo
in PR #120). Codex users now have full lifecycle hook parity with Claude Code,
Cursor, and Copilot: SessionStart, UserPromptSubmit, PreToolUse, PostToolUse,
and Stop hooks all active.

Also includes:
- Tessl skill-review CI from PR #131 (@popey)
- Exec bit fix from PR #122 (@Leon-Algo) + regression test
- Duplicate metadata.version key fixed in .codebuddy, .cursor, .mastracode,
  .opencode, and .codex SKILL.md files
- docs/codex.md rewritten to cover hooks installation and protocol
- CONTRIBUTORS.md: added @Leon-Algo, @YSAA1, @kevinaimonster, @wd041216-bit;
  updated @lasmarois entry to include PR #37; total now 32+
- Version bumped to 2.34.0 across all 17 SKILL.md variants, plugin.json,
  marketplace.json, and CITATION.cff
2026-04-15 20:57:07 +02:00
OthmanAdi 6dc9e3f44a feat(kiro): add Agent Skill layout under .kiro/skills/ (#112)
Adds full Kiro Agent Skill support with proper .kiro/skills/ layout,
bootstrap scripts, steering integration, and planning templates.
Replaces the old .kiro/scripts/ and .kiro/steering/ approach.
Also updates docs/kiro.md and sync-ide-folders.py skip list.

Contributed by Yi Chenxi (@EListenX)
2026-03-20 23:19:32 +01:00
v-yichenxi 402d929564 feat(kiro): add Kiro Agent Skill and align Mastra/Cursor hooks (v2.23.1)
IDE hook follow-up (v2.23.0 gaps):

- Mastra Code: hooks.json is the hook source — add UserPromptSubmit, refresh PostToolUse.
- Cursor: .cursor/hooks/ — add user-prompt-submit, update post-tool-use and stop scripts.

Kiro workspace skill:

- Add .kiro/skills/planning-with-files/ (SKILL.md, references, templates, scripts).
- Bootstrap creates .kiro/plan and auto steering planning-context.md (#[[file:]]).
- Add session-catchup.py; check-complete/bootstrap for sh and PowerShell.
- Remove duplicate .kiro/scripts and always-on steering; sync script skips .kiro.
- Update docs/kiro.md and README (Kiro = Agent Skill + Steering).
2026-03-20 11:40:00 +08:00
OthmanAdi bd8602d851 fix: bump version references to v2.26.0 (v2.24.0 and v2.25.0 already taken) 2026-03-20 00:56:40 +01:00
OthmanAdi ab7d76121d feat: IDE audit — Gemini/Factory/Copilot hooks, consolidate 4 redundant IDEs
v2.24.0 — Full IDE support audit and cleanup:

New features:
- Gemini CLI: add hooks (settings.json + 5 scripts: SessionStart, BeforeTool,
  AfterTool, BeforeModel, SessionEnd). BeforeModel is unique to Gemini — injects
  plan awareness before every model call.
- FactoryAI Droid: add hooks to SKILL.md frontmatter (was skills-only, now has
  all 4 lifecycle events) + add scripts.
- GitHub Copilot: add errorOccurred hook for automatic error logging to plan.

Bug fixes:
- Continue: fix .prompt file — was entirely in Chinese, now English
- Pi Agent: fix package.json repo URL (was ttttmr/, now OthmanAdi/)
- Mastra Code: sync drifted check-complete.sh and session-catchup.py to canonical
- CodeBuddy/Codex: remove duplicate assets/templates/ directories

Consolidation:
- Remove .adal/, .agent/ (Antigravity), .kilocode/, .openclaw/ directories.
  These IDEs implement the standard Agent Skills spec with no hooks — install
  via `npx skills add` which handles IDE-specific placement automatically.
- README: restructure IDE table into Enhanced (hooks) vs Standard (Agent Skills)
- sync-ide-folders.py: remove entries for consolidated IDEs

Net: -4,609 lines (removed duplication, added real value)
2026-03-20 00:53:33 +01:00
OthmanAdi 09ee8e4ec6 fix: session catchup, progress tracking, and post-completion workflow (v2.23.0)
Fixes #106. Three root causes identified and fixed:

1. Session catchup not working after /clear: Added UserPromptSubmit hook
   to all 7 IDE SKILL.md files. When task_plan.md exists, injects a
   directive to read all planning files before proceeding. Fires on every
   user message, ensuring context recovery after /clear or compaction.

2. Progress not updating consistently: PostToolUse hook message now leads
   with "Update progress.md" instead of only mentioning task_plan.md.
   Added plan existence guard to avoid noise when no plan is active.

3. Post-plan additions not tracked: check-complete scripts now output
   re-entry guidance when all phases are complete. Copilot agent-stop
   scripts now return continuation context instead of empty JSON.
   Added Critical Rule #7 (Continue After Completion) to SKILL.md body.

Applied across: 7 IDE SKILL.md files, 16 synced check-complete scripts,
4 Copilot hook scripts, CHANGELOG, plugin.json, marketplace.json.
2026-03-16 00:08:20 +01:00
OthmanAdi 7b55095bce docs: polish evals.md wording 2026-03-06 18:20:36 +01:00
OthmanAdi 6ecbe15838 docs: add real timing and token metrics to evals.md
Captured from task completion notifications during the eval run.
with_skill avg: 19,926 tokens / 115s
without_skill avg: 11,899 tokens / 98s
+68% tokens, +17% time — the cost of structured 3-file output.
2026-03-06 09:09:19 +01:00
OthmanAdi ade3ecec9f docs: add formal benchmark results, article, and README verification badges (v2.22.0)
Evaluated planning-with-files using Anthropic's skill-creator framework:
- 10 parallel subagents (5 with_skill + 5 without_skill), 5 task types
- 30 objectively verifiable assertions
- with_skill: 96.7% pass rate (29/30) vs 6.7% (2/30) without_skill
- 3 blind A/B comparisons: with_skill wins 3/3, avg 10.0/10 vs 6.8/10

Also documents the v2.21.0 security fix (WebFetch/WebSearch removed from
allowed-tools, Security Boundary section added) with full technical context
on why the PreToolUse hook created an indirect prompt injection amplification
vector and how the fix resolves it.

Added:
- docs/evals.md: full methodology, assertions, results, benchmark data
- docs/article.md: technical write-up for publication
- README.md: Benchmark Results section + 3 verification badges
- CHANGELOG.md: v2.22.0 entry
2026-03-06 09:06:44 +01:00
tt-a1i dbfe812adc Fix docs links and sync tooling consistency 2026-03-04 10:12:13 +08:00
OthmanAdi acfd2f0c74 fix(mastra): add hooks.json, fix SKILL.md path var, correct docs
Mastra Code reads hooks from .mastracode/hooks.json, not SKILL.md
frontmatter. All three hooks (PreToolUse, PostToolUse, Stop) were
silently non-functional. Added hooks.json with proper Mastra format
including matchers and timeouts. Fixed MASTRACODE_SKILL_ROOT env var
(does not exist in Mastra Code). Corrected docs/mastra.md to accurately
describe the hooks.json system and fixed personal install instructions
to include the hooks file.
2026-02-26 19:43:46 +01:00
OthmanAdi 6e8f128a79 feat: BoxLite sandbox runtime integration (Issue #84)
Adds documentation and examples for running planning-with-files
inside BoxLite micro-VM sandboxes via ClaudeBox.

- docs/boxlite.md: full integration guide covering ClaudeBox Skill
  API, persistent sessions, hooks behavior inside the VM, snapshots,
  session recovery, and troubleshooting
- examples/boxlite/quickstart.py: working Python example using
  ClaudeBox's Skill object to inject planning-with-files into a VM
- examples/boxlite/README.md: example context and requirements
- README: new Sandbox Runtimes section (BoxLite is infrastructure,
  not an IDE - kept separate from the 16-platform IDE table)
- README: BoxLite badge, Documentation table entry, version bump
  to 2.18.0, file structure updated
- CHANGELOG: v2.18.0 entry with full details
- CONTRIBUTORS: @DorianZheng added for Issue #84

BoxLite loads via pip install claudebox - no .boxlite/ folder needed
since ClaudeBox uses a Python Skill object, not file-system discovery.

Closes #84
2026-02-26 18:45:54 +01:00
OthmanAdi a8ce293833 feat: add Mastra Code support (platform #16)
- Created .mastracode/skills/planning-with-files/ with full hooks integration
  (PreToolUse, PostToolUse, Stop — native Mastra Code hook support)
- SKILL.md ships with PR #83 fixes pre-applied: comma-separated allowed-tools,
  metadata.version in standard location, enriched trigger terms
- Includes references, scripts (cross-platform), and templates
- Added docs/mastra.md installation guide (workspace + personal methods)
- Updated README: IDE table, badge, file structure, docs table, platform count
2026-02-25 20:28:49 +01:00
Lin Wan d69eda6b31 create github copilot plugin 2026-02-22 15:03:55 +01:00
OthmanAdi 0c1ddd21c3 Fix OpenCode compatibility - detect IDE and show helpful message
OpenCode uses different session storage (.json at ~/.local/share/opencode/) than Claude Code (.jsonl at ~/.claude/projects/). Session catchup now detects the IDE and provides a clear workaround message instead of silently failing.

- Added IDE detection (checks env vars and directory structure)
- OpenCode users get helpful message to manually read planning files
- Claude Code functionality unchanged
- Updated OpenCode docs with known limitations section

Fixes #74
2026-02-08 16:05:59 +01:00
OthmanAdi 0361bf17c4 Fix IDE-specific path references in SKILL.md files
- OpenCode: Replace CLAUDE_PLUGIN_ROOT with OPENCODE_SKILL_ROOT
- Kilocode: Replace CLAUDE_PLUGIN_ROOT with KILOCODE_SKILL_ROOT
- Cursor: Replace CLAUDE_PLUGIN_ROOT with CURSOR_SKILL_ROOT
- Update docs/opencode.md with oh-my-opencode configuration guide
- Add troubleshooting section for skill loading conflicts

Fixes #73
2026-02-06 15:10:12 +01:00
codelyc 7082c7f41f fix: update codebuddy paths and codex usage docs
Change-Id: I28fb0e5f6a88427370ff1bd079c4951311be5815
2026-02-05 10:59:44 +08:00
OthmanAdi 0b033eb025 Add Cursor hooks support — preToolUse, postToolUse, stop (fixes #61)
Cursor now supports hooks natively via .cursor/hooks.json. Added:
- hooks.json config with preToolUse, postToolUse, and stop hooks
- Hook scripts in bash (.sh) and PowerShell (.ps1)
- hooks.windows.json for native PowerShell users
- Rewrote docs/cursor.md — removed "hooks don't work" limitation,
  documented full hook support including auto-continuation via stop hook
- Updated README Cursor format from "Skills" to "Skills + Hooks"

The stop hook is the highlight: it checks task_plan.md completion and
uses Cursor's followup_message to auto-continue the agent if phases
are incomplete (capped at 3 retries via loop_limit).

Thanks to @sulsDotK for reporting that Cursor now supports hooks.
2026-02-04 22:03:37 +01:00