$ scripts/dev/openspec.sh validate --all --strict --no-interactive
npm notice run npx
npm notice run 'openspec' validate --all --strict --no-interactive
✓ change/organize-repository-structure
Totals: 1 passed, 0 failed (1 items)
exit=0

$ scripts/dev/openspec.sh status --change organize-repository-structure --json
npm notice run npx
npm notice run 'openspec' status --change organize-repository-structure --json
{
  "changeName": "organize-repository-structure",
  "schemaName": "spec-driven",
  "planningHome": {
    "kind": "repo",
    "root": "/tmp/opencode/chesspenguin-repository-structure",
    "changesDir": "/tmp/opencode/chesspenguin-repository-structure/openspec/changes",
    "defaultSchema": "spec-driven"
  },
  "changeRoot": "/tmp/opencode/chesspenguin-repository-structure/openspec/changes/organize-repository-structure",
  "artifactPaths": {
    "proposal": {
      "outputPath": "proposal.md",
      "resolvedOutputPath": "/tmp/opencode/chesspenguin-repository-structure/openspec/changes/organize-repository-structure/proposal.md",
      "existingOutputPaths": [
        "/tmp/opencode/chesspenguin-repository-structure/openspec/changes/organize-repository-structure/proposal.md"
      ]
    },
    "specs": {
      "outputPath": "specs/**/*.md",
      "resolvedOutputPath": "/tmp/opencode/chesspenguin-repository-structure/openspec/changes/organize-repository-structure/specs/**/*.md",
      "existingOutputPaths": [
        "/tmp/opencode/chesspenguin-repository-structure/openspec/changes/organize-repository-structure/specs/repository-governance/spec.md"
      ]
    },
    "design": {
      "outputPath": "design.md",
      "resolvedOutputPath": "/tmp/opencode/chesspenguin-repository-structure/openspec/changes/organize-repository-structure/design.md",
      "existingOutputPaths": [
        "/tmp/opencode/chesspenguin-repository-structure/openspec/changes/organize-repository-structure/design.md"
      ]
    },
    "tasks": {
      "outputPath": "tasks.md",
      "resolvedOutputPath": "/tmp/opencode/chesspenguin-repository-structure/openspec/changes/organize-repository-structure/tasks.md",
      "existingOutputPaths": [
        "/tmp/opencode/chesspenguin-repository-structure/openspec/changes/organize-repository-structure/tasks.md"
      ]
    }
  },
  "isPlanningComplete": true,
  "isComplete": true,
  "applyRequires": [
    "tasks"
  ],
  "nextSteps": [
    "All planning artifacts are complete. Run openspec instructions apply --change \"organize-repository-structure\" --json to inspect implementation progress."
  ],
  "actionContext": {
    "mode": "repo-local",
    "sourceOfTruth": "repo",
    "planningArtifacts": [
      "proposal",
      "specs",
      "design",
      "tasks"
    ],
    "linkedContext": [],
    "allowedEditRoots": [
      "/tmp/opencode/chesspenguin-repository-structure"
    ],
    "requiresAffectedAreaSelection": false,
    "constraints": [
      "Repo-local change artifacts and implementation edits are scoped to this project."
    ]
  },
  "artifacts": [
    {
      "id": "proposal",
      "outputPath": "proposal.md",
      "status": "done",
      "requires": []
    },
    {
      "id": "specs",
      "outputPath": "specs/**/*.md",
      "status": "done",
      "requires": [
        "proposal"
      ]
    },
    {
      "id": "design",
      "outputPath": "design.md",
      "status": "done",
      "requires": [
        "proposal"
      ]
    },
    {
      "id": "tasks",
      "outputPath": "tasks.md",
      "status": "done",
      "requires": [
        "specs",
        "design"
      ]
    }
  ],
  "root": {
    "path": "/tmp/opencode/chesspenguin-repository-structure",
    "source": "nearest"
  }
}
exit=0

$ scripts/dev/openspec.sh list --json
npm notice run npx
npm notice run 'openspec' list --json
{
  "changes": [
    {
      "name": "organize-repository-structure",
      "completedTasks": 21,
      "totalTasks": 23,
      "lastModified": "2026-12-03T15:03:28.050Z",
      "status": "in-progress"
    }
  ],
  "root": {
    "path": "/tmp/opencode/chesspenguin-repository-structure",
    "source": "nearest"
  }
}
exit=0

$ git diff --check HEAD
exit=0
