context-list · v1.0.1 · 2026-09-30 · sha256 38b3f2f7ffc16b3c

context-list v1.0.1A

Immutable. This exact content never changes and is served at /api/v1/blob/38b3f2f7ffc16b3c.

---
name: "context-list"
description: "List all six CocoContext standard files with their status (line count and last-modified date). Shows which have been created and which are pending."
version: "1.0.1"
author: "CocoPlus"
tags:
  - cocoplus
  - cococontext
---

Your objective is to display a status table and completion dashboard for all CocoContext organizational standards files.

## Pre-flight Check

Check that `.cocoplus/` exists. If not:
Output: "CocoPlus not initialized in this directory. Run `$pod init` to begin." Then stop.

## Read File Status

For each of the six standard context files, check `.cocoplus/context/<file>.md`:
- If exists: read line count and last-modified date
- If absent: mark as "not created"

The six files:
1. `approved-models.md`
2. `quality-thresholds.md`
3. `pii-policy.md`
4. `warehouse-policy.md`
5. `naming-conventions.md`
6. `governance-gates.md`

Also check for any additional `.md` files in `.cocoplus/context/` (custom entries added by the team) and include them in the table.

Compute completion:
- Configured standards: number of the six standard files that exist and contain non-whitespace content
- Total standards: 6
- Recommended next standard: first missing high-priority standard in this order: `pii-policy.md`, `governance-gates.md`, `quality-thresholds.md`, `approved-models.md`, `warehouse-policy.md`, `naming-conventions.md`

## Output

```
CocoContext Standards
Completion: 2/6 standards configured
Recommended next: pii-policy.md
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Context File             Lines   Last Modified
──────────────────────   ─────   ──────────────
approved-models.md         47    2026-04-20
quality-thresholds.md      31    2026-04-15
pii-policy.md              88    2026-04-01
warehouse-policy.md         —    not created
naming-conventions.md      52    2026-04-01
governance-gates.md         —    not created
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Run `$context add` to create or update a standards file.
Run `$context view <name>` to read a file in full.
```

Replace example values with actual data from the filesystem.

## Anti-Rationalization

| Shortcut / Temptation | Why It Fails |
|-----------------------|--------------|
| Only show files that exist | Showing "not created" entries makes gaps visible — the point of the list is governance coverage awareness |

## Exit Criteria

- [ ] All six standard file slots shown regardless of whether they exist
- [ ] Existing files show accurate line count and last-modified date
- [ ] Missing files shown as "not created"
- [ ] Footer links to `$context add` and `$context view`
- [ ] Output includes completion progress and recommended next standard