Status marker hygiene

From CarlosCaPe/octorato · View interactive version

Status marker hygiene is an AI agent skill from the GitHub repository CarlosCaPe/octorato. Status Marker Hygiene

How to use this skill

Skill file

Status Marker Hygiene

What

A discipline for maintaining accurate status indicators (โœ…โš ๏ธ๐Ÿ”ดโณ) throughout a document's lifecycle, ensuring markers always reflect the actual state of their associated content.

Why

Status markers are visual contracts with readers. When a reader sees โœ…, they trust that item is complete. When markers lie:

Status marker decay is insidious because the marker itself looks authoritative while the underlying reality has changed.

Status Marker Semantics

| Marker | Meaning | Lifecycle |

|--------|---------|-----------|

| โณ | Pending / In Progress / TBD | Initial state โ†’ resolves to โœ… or ๐Ÿ”ด |

| โš ๏ธ | Warning / Partial / Needs Attention | Risk flag โ†’ resolves to โœ… or ๐Ÿ”ด |

| ๐Ÿ”ด | Blocker / Critical / Failed | Escalation state โ†’ resolves to โœ… or remains |

| โœ… | Complete / Confirmed / Passed | Terminal state (should not regress) |

State transitions:

โณ TBD โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ†’ โœ… Complete
             โ”‚
             โ””โ”€โ”€โ†’ โš ๏ธ Partial โ”€โ”€โ”ฌโ”€โ”€โ†’ โœ… Resolved
                               โ”‚
                               โ””โ”€โ”€โ†’ ๐Ÿ”ด Blocked โ”€โ”€โ†’ โœ… Cleared

How

Marker Placement Rules

  1. One marker per claim: Don't stack โœ…โš ๏ธ โ€” pick the dominant state
  2. Marker near content: Place marker within 2 lines of what it describes
  3. Consistent position: Either leading (โœ… Item) or trailing (Item โœ…)
  4. Scope clarity: Make clear if marker covers one item or a group

Marker Audit Protocol

After any document edit, audit markers in the affected area:

## Marker Audit Checklist

For each โœ… in edited area:
- [ ] Is the content actually complete?
- [ ] Are there any remaining "TBD" or "pending" phrases?
- [ ] Do referenced items (ยง, Finding #) also show โœ…?

For each โณ in edited area:
- [ ] Is work still genuinely pending?
- [ ] Has the item been completed elsewhere?
- [ ] Should this be promoted to โœ… or escalated to โš ๏ธ?

For each โš ๏ธ in edited area:
- [ ] Is the warning still valid?
- [ ] Has the issue been resolved?
- [ ] Should this be promoted to โœ… or escalated to ๐Ÿ”ด?

For each ๐Ÿ”ด in edited area:
- [ ] Is the blocker still active?
- [ ] Has a workaround been implemented?
- [ ] Should this be demoted to โš ๏ธ or cleared to โœ…?

Bulk Marker Verification

# Count markers by type
grep -c 'โœ…' document.md && echo "checkmarks"
grep -c 'โš ๏ธ' document.md && echo "warnings"  
grep -c '๐Ÿ”ด' document.md && echo "blockers"
grep -c 'โณ' document.md && echo "pending"

# Find โœ… near TBD (contradiction)
grep -n 'โœ…' document.md | while read line; do
  linenum=$(echo $line | cut -d: -f1)
  sed -n "$((linenum-2)),$((linenum+2))p" document.md | grep -q "TBD\|pending\|โณ" && echo "Contradiction at line $linenum"
done

Table Row Status Updates

When updating status tables, follow this pattern:

# WRONG: Update marker without updating text
| Task | Status |
| Do the thing | โœ… | โ† marker updated
| But the thing isn't done | | โ† text still says "isn't done"

# RIGHT: Update marker AND text together
| Task | Status |
| Do the thing | โœ… Complete โ€” verified in testing |

Common Marker Contradictions

| Pattern | Problem | Resolution |

|---------|---------|------------|

| โœ… TBD | Checkmark on pending item | Remove TBD or change to โณ |

| โš ๏ธ Resolved | Warning on resolved item | Change to โœ… Resolved |

| ๐Ÿ”ด No longer blocking | Blocker that isn't blocking | Change to โœ… Cleared or remove |

| โณ Complete | Pending marker on done item | Change to โœ… Complete |

| โœ… deferred to Phase 4 | Complete marker on deferred item | Change to โณ or remove deferral |

When to Use

Anti-Patterns

| Anti-Pattern | Problem | Solution |

|--------------|---------|----------|

| Optimistic checkmarks | Mark โœ… when "almost done" | Only โœ… when verifiably complete |

| Warning accumulation | โš ๏ธ pile up, never resolved | Schedule warning triage |

| Blocker inflation | Everything is ๐Ÿ”ด | Reserve ๐Ÿ”ด for true blockers |

| Marker-free documents | No visual status at all | Add markers to key sections |

| Stale marker inheritance | Copy section, forget to update markers | Reset markers in copied content |

Real-World Example

From the Acme Corp TDD session:

Problem: Charter Traceability table had 6 rows with โš ๏ธ "deferred to Phase 4" but the content for those deliverables was being written in that same session.

Detection: User asked "podemos poner todo esto en verde?" โ€” visual audit revealed the disconnect.

Resolution:

  1. Drafted all 6 deliverable sections (ยง6.1โ€“ยง6.6)
  2. Updated each row: โš ๏ธ โ†’ โœ… with new section references
  3. Updated summary note to reflect "all 8 deliverables addressed"

Verification: Node.js script confirmed all 8 rows showed [GREEN] status.

Marker Style Guide

For consistency across documents:

## Preferred Formats

โœ… **Complete** โ€” task finished, verified
โš ๏ธ **Partial** โ€” some work done, gaps remain  
๐Ÿ”ด **Blocked** โ€” cannot proceed until X resolved
โณ **Pending** โ€” work not yet started

## Avoid

โœ”๏ธ (different checkmark, inconsistent)
โŒ (ambiguous: failed? removed? not applicable?)
โš ๏ธ (color-only, no semantic meaning)
[x] (markdown checkbox, different rendering)

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.