Promote kind to the common schema — written at creation of every object
User addendum to the integrity pass: kind moves from the lane table to the common frontmatter table — board/lane/card at creation, comment reserved; value-trusted where consulted, consequential only inside .trash/ today, carried everywhere for consistency. A missing kind backfills on touch via the integrity service. Guide v6 teaches kind on every object. Claude-Session: https://claude.ai/code/session_01CqjXB7ASoWtbyoGod68k97
This commit is contained in:
@@ -18,7 +18,7 @@ The app silently maintains a `CLAUDE.md` in every board — a condensed, agent-f
|
||||
- Creating cards (mkdir UUID, write `index.md`, ordering rules) — plain UTF-8, no BOM, preserving each file's existing line endings (01-storage-format.md's encoding contract).
|
||||
- Moving between lanes (folder move), reordering (gapped ranks, only touch the moved item).
|
||||
- Deletes — move the card **or lane** folder into `<root>/.trash/` (top position; never delete a folder outright unless permanence is meant; lanes rejoined 2026-07-29 → guide v6); colors/icons.
|
||||
- v6 additionally teaches **`kind: lane`**: lane frontmatter always carries it (include it when creating a lane; stamp it when trashing a lane that lacks it) — it is what tells a trashed lane from a card inside the flat `.trash/` (01-storage-format.md ▸ Deletion).
|
||||
- v6 additionally teaches **`kind`** — common schema, written at creation of every object (re-ruled 2026-07-29): include `kind: lane` / `kind: card` when creating anything (`kind: board` at board root), and stamp `kind: lane` when trashing a lane that lacks it. The *value* is what tells a trashed lane from a card inside the flat `.trash/` (01-storage-format.md ▸ Deletion); the app backfills a missing key on touch (01 ▸ Validation and healing), so omitting it is healable, never fatal.
|
||||
- New in the rewrite: **attachments** (the `attachments/` convention, importing files) — including the rule that **card files belong in `attachments/`**: a loose file written beside `index.md` will be relocated there by the app with a notice (01-storage-format.md's loose-file carve-out), so agents should put it there in the first place.
|
||||
- New in the rewrite: **`modified-by` self-stamping** — stamp files you write; re-stamp every write *and every move* (the app clears it on its own writes; a bare folder move leaves the card unstamped); self-commit instead when you need exact authorship.
|
||||
- New in the rewrite: a pointer to the optional **`CLAUDE.user.md`** (see below), instructing agents to read it when present.
|
||||
|
||||
Reference in New Issue
Block a user