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
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <type>` (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 <type>` (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.

Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.**

Expand All @@ -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.

Expand Down
8 changes: 4 additions & 4 deletions docs/contributing-agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |

Expand Down Expand Up @@ -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 <type>` from the project root.
- Generate new IDs with `bash plugin/scripts/idd-next-id <type>` 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.
Expand Down Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
12 changes: 12 additions & 0 deletions docs/releases/v1.8.1.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion plugin/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion plugin/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion plugin/commands/archive.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion plugin/references/exploration-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ docs/explorations/EXPL-<id>-<slug>/

```markdown
---
id: EXPL-<id> # from bin/idd-next-id exploration
id: EXPL-<id> # from scripts/idd-next-id exploration
title: <short name>
status: charting # charting | resolving | clear | abandoned
created: <ISO8601>
Expand Down
File renamed without changes.
File renamed without changes.
40 changes: 20 additions & 20 deletions plugin/skill-catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand All @@ -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
},
Expand Down Expand Up @@ -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
},
Expand Down Expand Up @@ -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
},
Expand Down Expand Up @@ -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
},
Expand Down Expand Up @@ -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
},
Expand Down Expand Up @@ -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
},
Expand All @@ -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
},
Expand Down Expand Up @@ -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
},
Expand Down Expand Up @@ -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
},
Expand Down Expand Up @@ -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
},
Expand Down Expand Up @@ -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
},
Expand Down Expand Up @@ -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
},
Expand Down Expand Up @@ -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
},
Expand Down Expand Up @@ -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
},
Expand Down Expand Up @@ -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
},
Expand Down Expand Up @@ -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
},
Expand Down Expand Up @@ -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
},
Expand Down Expand Up @@ -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
},
Expand Down Expand Up @@ -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
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/check.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
});
Expand Down
4 changes: 2 additions & 2 deletions scripts/lib/packages.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand All @@ -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');
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/plugin-inventory.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"commands": {
"archive.md": "591463a3441cf5c10e6daa57b7dae5a67fd9b1c0632a7af16ebe13787b54d02c",
"archive.md": "d6fced12bfe1d3080fb9af744fa6b9e9784ab72aa7592649e544d4040c0e95ac",
"chart.md": "1201e6e7fe8d7aeaf8561a6071591f45aa3351f3cb8c50b240734a896b2be58e",
"deep-review.md": "18dc5540522fb261d48e8aaceb5914d3af0788bdf9663dd5fe7250af94eaee09",
"define-expectations.md": "2a87e385c3806521dcd2358266940a2ba7304680ce44cc8fbdc26273e403a28d",
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/helpers.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
Loading