From c4a711b456a21d290baed98b21134d773fe713cd Mon Sep 17 00:00:00 2001 From: GrillerGeek <66818+GrillerGeek@users.noreply.github.com> Date: Wed, 25 Nov 2026 14:06:41 +0000 Subject: [PATCH] Fix Claude marketplace bin warning Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --- AGENTS.md | 2 +- CLAUDE.md | 2 +- README.md | 4 +-- docs/contributing-agents.md | 8 ++--- docs/installation.md | 2 +- docs/releases/v1.8.1.md | 12 +++++++ plugin/.claude-plugin/plugin.json | 2 +- plugin/.codex-plugin/plugin.json | 2 +- plugin/commands/archive.md | 2 +- plugin/plugin.json | 2 +- plugin/references/exploration-template.md | 2 +- plugin/{bin => scripts}/idd-archive-scan | 0 plugin/{bin => scripts}/idd-next-id | 0 plugin/skill-catalog.json | 40 +++++++++++------------ scripts/check.mjs | 2 +- scripts/lib/packages.mjs | 4 +-- tests/fixtures/plugin-inventory.json | 4 +-- tests/helpers.test.mjs | 2 +- 18 files changed, 52 insertions(+), 40 deletions(-) create mode 100644 docs/releases/v1.8.1.md rename plugin/{bin => scripts}/idd-archive-scan (100%) rename plugin/{bin => scripts}/idd-next-id (100%) diff --git a/AGENTS.md b/AGENTS.md index cc687f7..751a0c9 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -173,7 +173,7 @@ A Spec cannot enter **Ready** status until every item passes: 5. **Specs should be focused.** Prefer Specs that address a cohesive set of Expectations. If a Spec covers an entire feature with unrelated concerns, split it. Tightly-coupled deliverables can stay together. -6. **IDs are random short hashes.** Use `idd-next-id ` (in `plugin/bin/`) to generate a new ID — it produces a 4-hex-char suffix like `SPEC-a3f8` and ensures uniqueness against existing files in the working tree. IDs are immutable once assigned. Pre-existing sequential IDs in the form `SPEC-001`, `INT-002`, etc. remain valid; mixed format is supported indefinitely. +6. **IDs are random short hashes.** Use `idd-next-id ` (in `plugin/scripts/`) to generate a new ID — it produces a 4-hex-char suffix like `SPEC-a3f8` and ensures uniqueness against existing files in the working tree. IDs are immutable once assigned. Pre-existing sequential IDs in the form `SPEC-001`, `INT-002`, etc. remain valid; mixed format is supported indefinitely. 7. **Status lifecycle.** Artifacts progress through their status values in order. Don't skip states. Technical/deep review annotate outcomes while preserving lifecycle status. Author/orchestrator owns ready after all eleven checklist items; orchestration owns implementation transitions, human implementation approval gates review → validating, and QA/Product Owner validation gates validating → done. Follow the linked lifecycle contract. diff --git a/CLAUDE.md b/CLAUDE.md index 5c7e515..4592047 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -30,7 +30,7 @@ Assignments are explicit (not `inherit`) so a user running Opus in their main se loaded `SKILL.md` or `workflow.md` determines its local resource root. Claude command adapters use `CLAUDE_PLUGIN_ROOT` to reach those bundles; portable stages need no plugin-root variable or sibling skill. -- `plugin/bin/idd-next-id` generates artifact IDs; `plugin/bin/idd-archive-scan` +- `plugin/scripts/idd-next-id` generates artifact IDs; `plugin/scripts/idd-archive-scan` provides read-only archive inventory. Create output directories lazily. - `plugin/hooks/hooks.json` currently defines no hooks. - `plugin/.claude-plugin/plugin.json` owns plugin identity, version, and diff --git a/README.md b/README.md index 33eb8fe..a94a88e 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![License: CC BY-SA 4.0](https://img.shields.io/badge/License-CC_BY--SA_4.0-lightgrey.svg)](LICENSE) [![Framework](https://img.shields.io/badge/framework-v1.8-green.svg)](docs/framework.md) -[![Plugin](https://img.shields.io/badge/plugin-v1.8.0-blue.svg)](plugin/README.md) +[![Plugin](https://img.shields.io/badge/plugin-v1.8.1-blue.svg)](plugin/README.md) **Turn an idea into a reviewed specification that developers and AI agents can build.** @@ -18,7 +18,7 @@ without installing a plugin. ## Install -Install **IDD 1.8.0 from its published main branch**. Choose one route below for +Install **IDD 1.8.1 from its published main branch**. Choose one route below for your coding app. No source clone, contributor build or Guildhall installation is required. diff --git a/docs/contributing-agents.md b/docs/contributing-agents.md index 4fd2089..c02ec6d 100644 --- a/docs/contributing-agents.md +++ b/docs/contributing-agents.md @@ -45,7 +45,7 @@ for local installation and recorded host-evaluation limits. | `plugin/skill-catalog.json` | Explicit source/destination mappings, sixteen stages and seventeen bundles | | `plugin/skills/` | Committed generated complete router and standalone stage bundles; rebuild rather than edit | | `scripts/`, `tests/`, `.github/workflows/validate.yml` | Assembly, validation, regression tests and CI | -| `plugin/bin/`, `plugin/scripts/` | ID generation, archive inventory, and directory initialization helpers | +| `plugin/scripts/` | ID generation, archive inventory, and directory initialization helpers | | `plugin/.claude-plugin/plugin.json`, `plugin/hooks/hooks.json` | Plugin identity/configuration and currently empty hooks | | `docs/plans/`, `docs/reviews/` | Plans, gap-checks, execution evidence, and validation reports | @@ -74,7 +74,7 @@ Do not silently rewrite completed artifacts or historical reports. - Keep all five Spec blocks, explicit Boundaries, at least two edge cases per Expectation, and Product-level context inheritance. Reviewers report gaps; authors resolve them. Minor execution choices follow the lifecycle contract. -- Generate new IDs with `bash plugin/bin/idd-next-id ` from the project root. +- Generate new IDs with `bash plugin/scripts/idd-next-id ` from the project root. IDs are immutable random hashes; existing sequential IDs remain valid. Check collisions against live artifacts and archive records when integrating branches; independent branches cannot guarantee uniqueness against each other's unseen work. @@ -207,8 +207,8 @@ semantic review quality and human approval still need review. See [the pilot evaluation report](reviews/SPEC-b2e3-host-evaluation.md) for actual runs. For a quick dependency-free check, `git diff --check` and -`bash -n plugin/bin/idd-next-id plugin/bin/idd-archive-scan plugin/scripts/init-idd.sh` -remain available. `bash plugin/bin/idd-archive-scan` produces read-only inventory, +`bash -n plugin/scripts/idd-next-id plugin/scripts/idd-archive-scan plugin/scripts/init-idd.sh` +remain available. `bash plugin/scripts/idd-archive-scan` produces read-only inventory, including references from exploration maps and nested decision Markdown; it does not validate YAML or execute archival. diff --git a/docs/installation.md b/docs/installation.md index b04c715..7659bb0 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -6,7 +6,7 @@ and preserves Claude's sixteen commands, fourteen agents and two optional configuration fields. Installation does not create IDD artifacts or add npm dependencies to a consuming project. -Plugin **1.8.0** is available on the repository's `main` branch. The commands +Plugin **1.8.1** is available on the repository's `main` branch. The commands below use the repository-owned catalogs directly; their `-local` names are stable identifiers and do not mean a local clone is required. IDD works independently; Guildhall is optional. See [using IDD with Guildhall](../README.md#optional-use-with-guildhall) diff --git a/docs/releases/v1.8.1.md b/docs/releases/v1.8.1.md new file mode 100644 index 0000000..279ec65 --- /dev/null +++ b/docs/releases/v1.8.1.md @@ -0,0 +1,12 @@ +# IDD v1.8.1 - Marketplace compatibility + +Plugin 1.8.1. Framework v1.8. + +## What changed + +- Moved the two executable helper scripts from the top-level `plugin/bin/` + directory to `plugin/scripts/` to avoid Claude marketplace's hosted-plugin + executable warning. +- Updated skill assembly mappings, command permission paths, tests, and + contributor documentation while preserving helper behavior and bundled + `scripts/` entry points. diff --git a/plugin/.claude-plugin/plugin.json b/plugin/.claude-plugin/plugin.json index c0a2da1..d14b050 100644 --- a/plugin/.claude-plugin/plugin.json +++ b/plugin/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "idd-framework", - "version": "1.8.0", + "version": "1.8.1", "description": "Intent-Driven Development framework plugin — automates the IDD workflow with role-specific tools for stakeholder interviews, artifact generation, and structured documentation", "author": { "name": "GrillerGeek" }, "homepage": "https://github.com/grillergeek/idd-framework", diff --git a/plugin/.codex-plugin/plugin.json b/plugin/.codex-plugin/plugin.json index e4c70e5..19a16c9 100644 --- a/plugin/.codex-plugin/plugin.json +++ b/plugin/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "idd-framework", - "version": "1.8.0", + "version": "1.8.1", "description": "Intent-Driven Development framework plugin — automates the IDD workflow with role-specific tools for stakeholder interviews, artifact generation, and structured documentation", "author": { "name": "GrillerGeek" diff --git a/plugin/commands/archive.md b/plugin/commands/archive.md index 38c1362..3e26940 100644 --- a/plugin/commands/archive.md +++ b/plugin/commands/archive.md @@ -1,7 +1,7 @@ --- description: Consolidate terminal IDD artifacts into the roll-up ledger — classify mode produces a reviewable archive manifest; apply mode tags, distills to docs/idd-ledger.yaml, and deletes the archived files argument-hint: "[--apply manifest-path]" -allowed-tools: "Read Write Glob Grep Bash(ls *) Bash(mkdir *) Bash(git status *) Bash(git rm *) Bash(git tag *) Bash(git add *) Bash(git commit *) Bash(git mv *) Bash(${CLAUDE_PLUGIN_ROOT}/bin/idd-archive-scan *)" +allowed-tools: "Read Write Glob Grep Bash(ls *) Bash(mkdir *) Bash(git status *) Bash(git rm *) Bash(git tag *) Bash(git add *) Bash(git commit *) Bash(git mv *) Bash(${CLAUDE_PLUGIN_ROOT}/scripts/idd-archive-scan *)" --- Read `${CLAUDE_PLUGIN_ROOT}/skills/idd-archive/SKILL.md` and all bundled resources. Follow the complete procedure for `$ARGUMENTS`. Keep manifest review, all writes, tag/ledger reconciliation, deletion and commits in the main conversation. Optional read-only archivist/verifier workers must receive explicit `model: "sonnet"` through an actually available Agent/Task capability; otherwise use truthful sequential review. Never let a worker mutate the ledger or delete. Missing safe parsing/Git/write capabilities require a clear limitation. Default classify stops at a reviewable manifest; only explicit concrete apply approval proceeds. diff --git a/plugin/plugin.json b/plugin/plugin.json index 2481bdf..bc692dd 100644 --- a/plugin/plugin.json +++ b/plugin/plugin.json @@ -1,7 +1,7 @@ { "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json", "name": "idd-framework", - "version": "1.8.0", + "version": "1.8.1", "description": "Intent-Driven Development framework plugin — automates the IDD workflow with role-specific tools for stakeholder interviews, artifact generation, and structured documentation", "author": { "name": "GrillerGeek" diff --git a/plugin/references/exploration-template.md b/plugin/references/exploration-template.md index 103451a..0404e47 100644 --- a/plugin/references/exploration-template.md +++ b/plugin/references/exploration-template.md @@ -20,7 +20,7 @@ docs/explorations/EXPL--/ ```markdown --- -id: EXPL- # from bin/idd-next-id exploration +id: EXPL- # from scripts/idd-next-id exploration title: status: charting # charting | resolving | clear | abandoned created: diff --git a/plugin/bin/idd-archive-scan b/plugin/scripts/idd-archive-scan similarity index 100% rename from plugin/bin/idd-archive-scan rename to plugin/scripts/idd-archive-scan diff --git a/plugin/bin/idd-next-id b/plugin/scripts/idd-next-id similarity index 100% rename from plugin/bin/idd-next-id rename to plugin/scripts/idd-next-id diff --git a/plugin/skill-catalog.json b/plugin/skill-catalog.json index aa48138..29efc8a 100644 --- a/plugin/skill-catalog.json +++ b/plugin/skill-catalog.json @@ -66,7 +66,7 @@ "executable": false }, { - "source": "plugin/bin/idd-archive-scan", + "source": "plugin/scripts/idd-archive-scan", "destination": "stages/archive/scripts/idd-archive-scan", "executable": true }, @@ -91,7 +91,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "stages/chart/scripts/idd-next-id", "executable": true }, @@ -146,7 +146,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "stages/define-expectations/scripts/idd-next-id", "executable": true }, @@ -181,7 +181,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "stages/define-intentions/scripts/idd-next-id", "executable": true }, @@ -221,7 +221,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "stages/define-outcomes/scripts/idd-next-id", "executable": true }, @@ -726,7 +726,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "stages/interview/scripts/idd-next-id", "executable": true }, @@ -771,7 +771,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "stages/quick-spec/scripts/idd-next-id", "executable": true }, @@ -796,7 +796,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "stages/resolve/scripts/idd-next-id", "executable": true }, @@ -831,7 +831,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "stages/retro/scripts/idd-next-id", "executable": true }, @@ -906,7 +906,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "stages/write-spec/scripts/idd-next-id", "executable": true }, @@ -942,7 +942,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "scripts/idd-next-id", "executable": true }, @@ -1460,7 +1460,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "scripts/idd-next-id", "executable": true }, @@ -1501,7 +1501,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "scripts/idd-next-id", "executable": true }, @@ -1547,7 +1547,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "scripts/idd-next-id", "executable": true }, @@ -1598,7 +1598,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "scripts/idd-next-id", "executable": true }, @@ -1639,7 +1639,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "scripts/idd-next-id", "executable": true }, @@ -1764,7 +1764,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "scripts/idd-next-id", "executable": true }, @@ -1795,7 +1795,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "scripts/idd-next-id", "executable": true }, @@ -1831,7 +1831,7 @@ "executable": false }, { - "source": "plugin/bin/idd-archive-scan", + "source": "plugin/scripts/idd-archive-scan", "destination": "scripts/idd-archive-scan", "executable": true }, @@ -1872,7 +1872,7 @@ "executable": false }, { - "source": "plugin/bin/idd-next-id", + "source": "plugin/scripts/idd-next-id", "destination": "scripts/idd-next-id", "executable": true }, diff --git a/scripts/check.mjs b/scripts/check.mjs index 3a3d55e..9599ea7 100644 --- a/scripts/check.mjs +++ b/scripts/check.mjs @@ -19,7 +19,7 @@ export function checkRepository(root = repositoryRoot) { run(() => validateNativeDistribution(root)); run(() => checkVendor(root)); run(() => errors.push(...validateArtifacts(root).errors)); - const helpers = ['plugin/bin/idd-next-id','plugin/bin/idd-archive-scan','plugin/scripts/init-idd.sh']; + const helpers = ['plugin/scripts/idd-next-id','plugin/scripts/idd-archive-scan','plugin/scripts/init-idd.sh']; run(() => { for (const helper of helpers) if (!(fs.statSync(path.join(root,helper)).mode & 0o111)) throw new Error(`${helper}: MODE: executable bit required`); }); diff --git a/scripts/lib/packages.mjs b/scripts/lib/packages.mjs index 0aa2d11..bf31708 100644 --- a/scripts/lib/packages.mjs +++ b/scripts/lib/packages.mjs @@ -84,7 +84,7 @@ export function validatePlugin(root, catalog = readJSON(root,'plugin/skill-catal const commands = Object.keys(expected.commands).map(f => f.replace(/\.md$/,'')).sort(); if (JSON.stringify(catalog.stages.map(s => s.legacyCommand).sort()) !== JSON.stringify(commands)) fail('plugin/skill-catalog.json','INVENTORY','every legacy command needs a stage record'); const manifest = readJSON(root,'plugin/.claude-plugin/plugin.json'); - if (JSON.stringify(manifest) !== JSON.stringify(expected.manifest) || manifest.version !== '1.8.0') fail('plugin/.claude-plugin/plugin.json','MANIFEST_CHANGED','manifest differs from reviewed baseline'); + if (JSON.stringify(manifest) !== JSON.stringify(expected.manifest) || manifest.version !== '1.8.1') fail('plugin/.claude-plugin/plugin.json','MANIFEST_CHANGED','manifest differs from reviewed baseline'); for (const field of ['commands','agents','skills','hooks','mcpServers','lspServers']) { const values = Array.isArray(manifest[field]) ? manifest[field] : [manifest[field]]; for (let value of values) if (typeof value === 'string') { @@ -104,7 +104,7 @@ export function validateNativeDistribution(root) { strict(portable,['$schema',...fields],'portable manifest');strict(compat,[...fields,'skills','interface'],'Codex compatibility manifest'); assert.equal(portable.$schema,'https://agent-plugins.org/schemas/1.0.0/plugin.schema.json','Portable schema'); for(const k of fields){assert.deepEqual(portable[k],claude[k],`Common Claude metadata ${k}`);assert.deepEqual(compat[k],portable[k],`Common compatibility metadata ${k}`);} - assert.equal(portable.name,'idd-framework');assert.equal(portable.version,'1.8.0');assert.equal(portable.license,'Apache-2.0'); + assert.equal(portable.name,'idd-framework');assert.equal(portable.version,'1.8.1');assert.equal(portable.license,'Apache-2.0'); assert.equal(compat.skills,'./skills/','Legacy declaration must preserve fixed discovery'); const skills=containedPath(root,'plugin/skills');assert.ok(fs.statSync(skills).isDirectory(),'Fixed skills discovery requires a directory'); const catalog=json('plugin/skill-catalog.json');assert.equal(catalog.bundles.length,17);assert.deepEqual(fs.readdirSync(skills).sort(),catalog.bundles.map(b=>b.directory).sort(),'Native skill inventory'); diff --git a/tests/fixtures/plugin-inventory.json b/tests/fixtures/plugin-inventory.json index 8623199..09f3153 100644 --- a/tests/fixtures/plugin-inventory.json +++ b/tests/fixtures/plugin-inventory.json @@ -1,6 +1,6 @@ { "commands": { - "archive.md": "591463a3441cf5c10e6daa57b7dae5a67fd9b1c0632a7af16ebe13787b54d02c", + "archive.md": "d6fced12bfe1d3080fb9af744fa6b9e9784ab72aa7592649e544d4040c0e95ac", "chart.md": "1201e6e7fe8d7aeaf8561a6071591f45aa3351f3cb8c50b240734a896b2be58e", "deep-review.md": "18dc5540522fb261d48e8aaceb5914d3af0788bdf9663dd5fe7250af94eaee09", "define-expectations.md": "2a87e385c3806521dcd2358266940a2ba7304680ce44cc8fbdc26273e403a28d", @@ -35,7 +35,7 @@ }, "manifest": { "name": "idd-framework", - "version": "1.8.0", + "version": "1.8.1", "description": "Intent-Driven Development framework plugin \u2014 automates the IDD workflow with role-specific tools for stakeholder interviews, artifact generation, and structured documentation", "author": { "name": "GrillerGeek" diff --git a/tests/helpers.test.mjs b/tests/helpers.test.mjs index ae760c7..117a960 100644 --- a/tests/helpers.test.mjs +++ b/tests/helpers.test.mjs @@ -6,7 +6,7 @@ import path from 'node:path'; import { spawnSync } from 'node:child_process'; import { workspace,write,snapshot,root } from './helpers/workspace.mjs'; -function invoke(helper,dir,args=[],env=process.env) {return spawnSync('bash',[path.join(root,'plugin/bin',helper),...args],{cwd:dir,env,encoding:'utf8',timeout:10000});} +function invoke(helper,dir,args=[],env=process.env) {return spawnSync('bash',[path.join(root,'plugin/scripts',helper),...args],{cwd:dir,env,encoding:'utf8',timeout:10000});} function stub(t,dir) { const bin=workspace(t);write(bin,'od','#!/bin/sh\ncase "$*" in\n *-N2*) printf " a1 b2\\n" ;;\n *-N3*) printf " c3 d4 e5\\n" ;;\n *-N4*) printf " f6 a7 b8 c9\\n" ;;\nesac\n',0o755); return {...process.env,PATH:bin+path.delimiter+process.env.PATH};