repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

extensions/the-system/README.md

Raw

The System

Project governance for Pi through one /system command.

Commands

Lifecycle stages never auto-chain. Agents may recommend the next stage, but humans invoke optional stages.

Documents

Canonical artifacts live at:

.system/<type-plural>/<PREFIX>-<TYPE>-<8CHARS>-<slug>/index.md

Type dirs are research, specs, phases, plans, and issues. IDs use uppercase A-Z0-9_- tokens. Frontmatter references store IDs only.

Required fields:

Done phases and plans are immutable. Create a new artifact instead.

Resources

The extension exports no System skills and no top-level System prompt templates. /system uses internal prompt includes so System workflow guidance cannot spill into unrelated projects.

The generic mockup tool remains available.

Markdown source
File outline
# The System

Project governance for Pi through one `/system` command.

## Commands

- `/system` shows help.
- `/system init [PROJECT-PREFIX]` initializes or upgrades `.system` after confirmation.
- `/system doctor` runs read-only validation.
- `/system view <path|id|slug>` renders one document to temporary HTML.
- `/system edit <path|id|slug>` opens one document in `VISUAL`, `EDITOR`, or a platform editor.
- `/system book` renders the full dossier to temporary HTML.
- `/system research|spec|spec-verify|phase|plan|issue|exec [instructions]` injects stage prompts.

Lifecycle stages never auto-chain.
Agents may recommend the next stage, but humans invoke optional stages.

## Documents

Canonical artifacts live at:

```text
.system/<type-plural>/<PREFIX>-<TYPE>-<8CHARS>-<slug>/index.md
```

Type dirs are `research`, `specs`, `phases`, `plans`, and `issues`.
IDs use uppercase `A-Z0-9_-` tokens.
Frontmatter references store IDs only.

Required fields:

- research: `id`, `type: research`, `title`
- spec: `id`, `type: spec`, `title`, optional `research`
- phase: `id`, `type: phase`, `title`, `spec`, `status: draft|done`
- plan: `id`, `type: plan`, `title`, `spec`, optional `phase`, `status: draft|done`
- issue: `id`, `type: issue`, `title`, `specs`, `status: open|done`

Done phases and plans are immutable.
Create a new artifact instead.

## Resources

The extension exports no System skills and no top-level System prompt templates.
`/system` uses internal prompt includes so System workflow guidance cannot spill into unrelated projects.

The generic `mockup` tool remains available.