kb, types, instructions, tools: Benennungsregel - ein GTD-Projekt heißt nach seinem Ergebnis, nie nach dem Artefakt; new project nennt die kb/-Titelkollision im Fehlerfall (#244); 11.0.0-beta.3
CI / verify (push) Successful in 8m59s
CI / pwsh (push) Successful in 3m34s
CI / python314 (push) Successful in 5m47s
Release / converters (push) Successful in 27s
Release / release (push) Successful in 39s
Release / wiki-mirror (push) Skipped

Files changed:
- CHANGES.md
- VERSION
- docs/explanation/knowledge-and-commitment.md
- docs/how-to/run-the-weekly-review.md
- docs/reference/commands/pages.md
- instructions/gtd-weekly-review/SKILL.md
- instructions/kb-profiles.md
- kb/CONVENTIONS.md
- kb/CONVENTIONS.md.template
- tools/CONTRACT.md
- tools/chemenu/commands/new_page.py
- tools/chemenu/tests/test_new_page.py
- types/project.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015uxGFdBAmyA23g1isCtGEY
This commit is contained in:
torbenandClaude Opus 5.5 committed 2026-11-20 22:38:59 +01:00
1 parent 722d2e8085
commit df048ac559
13 files changed
+62 -7

No files matched your search

+2 -1
View File
@@ -14,7 +14,7 @@ place only: `instructions/dev/version-parts.md` § The candidate model.
---
## 11.0.0-beta.2 - 2026-11-18 - Wartezeiten der CI-Läufe mit dem Job python314 gemessen (#245 close)
## 11.0.0-beta.3 - 2026-11-20 - Benennungsregel: ein GTD-Projekt heißt nach seinem Ergebnis, nie nach dem Artefakt; new project nennt die kb/-Titelkollision (#244)
**Author:** Torben Nehmer
@@ -34,6 +34,7 @@ place only: `instructions/dev/version-parts.md` § The candidate model.
**Low impact**
- Publish-, Sync-Hilfe und Log-Vorlage nennen den reinen Log-Zusatz beim Abgleich
- Wartezeiten der CI-Läufe mit dem Job python314 gemessen (#245 close)
- Benennungsregel: ein GTD-Projekt heißt nach seinem Ergebnis, nie nach dem Artefakt; new project nennt die kb/-Titelkollision (#244)
<!-- /wikitool:bumps -->
### Abhängigkeiten festgeschrieben
+1 -1
View File
@@ -1 +1 @@
11.0.0-beta.2
11.0.0-beta.3
@@ -75,6 +75,11 @@ obligations explicitly: uniqueness is checked before a project is created rather
later; a rename is a deliberate, infrequent operation that touches both sides in one pass; and
nothing tries to re-match automatically behind the operator's back.
The shared name is the undertaking's, not the artifact's. A product, a codebase or a house has
its own entity page, and since a title is unique across `kb/`, a project named after the artifact
alone would collide with that page - so the project is named after its outcome
(`kb/CONVENTIONS.md` § Naming), and the artifact keeps its name for the page that describes it.
The last one is what makes the review's *both-directional* report matter. A tracker project with
no page and a page with no tracker project are reported separately, as two findings. They are
usually the two halves of one rename - and reporting them separately is exactly what turns a
+5
View File
@@ -58,6 +58,11 @@ command stops with exit 42 and asks you to create the project in the app yoursel
when you are done, and it continues with `--resume`. A tracker the wiki can only read refuses the
command outright.
Name the project after what it is meant to achieve, not after the thing it is about: the product
"Binford 9000" keeps that name for its entity page, and the project becomes "Binford 9000 -
Markteinführung EU". Titles are unique across the wiki, so `new project` refuses a name an entity
page already has. The rule itself is in your instance's `kb/CONVENTIONS.md` § Naming.
A single open item with no page of its own - a commitment that came with a source, say - is filed
with `tools/wikitool task new`. `task list` reads a project's open items back, and `task close --id`
marks one done. Nothing deletes an item. The commands are in the
+1
View File
@@ -95,6 +95,7 @@ tools/wikitool new project --name "Homelab migration" --set responsibility=infra
- `1` - A `raw_files` path does not exist
- `1` - A capture field the type-spec requires is missing, or set to `unknown`
- `1` - `--resume` with a type other than `project`
- `1` - new project: The name is already the title of a `kb/` page - typically the entity page of the artifact the project concerns
- `1` - new project: The name is already taken in the tracker (case-insensitively; for `caldav` against every list in the account)
- `1` - new project: The configured access path has no write path (Super Productivity's `access: "snapshot"`)
- `1` - new project: The page write failed after the tracker project was confirmed to exist
+1 -1
View File
@@ -56,7 +56,7 @@ surface, lives in `docs/explanation/knowledge-and-commitment.md`, which this ski
|---|---|---|---|
| `stalled` | A tracker project has zero open items and its `kb/` page is `state: active` | (a) A next action is genuinely missing - propose `tools/wikitool task new --title "<title>" --project "<project>"` with a title the user confirms or corrects, asked as one combined question ("Create '<title>' in project '<project>'?"), then run it once confirmed. (b) The initiative is deliberately paused - `tools/wikitool touch --page "<Title>" --set state=dormant`. (c) It is actually finished or given up on - `--set state=completed` or `--set state=abandoned` | Read the page's `## Ziel` and `## Status` sections and ask the user directly: is there still a next step toward that goal, or did this stop for a reason? A pause that was never decided is (a); a pause that *was* decided is (b), never left as `active` with nothing moving |
| `waiting_overdue` | A `WAITING` item's `follow_up_at` is older than the threshold | (a) Follow up now, then move the reminder forward in the tracker - the user's own action, there is no `wikitool` command for it. (b) The commitment is no longer needed - propose `tools/wikitool task close --id "<id>"` (the finding's own `item_id`), asked as one combined question naming the item's title and id, then run it once confirmed | Did the person the item names actually come through, and is the ask still relevant? If yes but late, (a); if the need has passed, (b) - never leave the same stale date standing unexamined |
| `unpaged_project` | A tracker project has no `kb/` page, past the age threshold | (a) It has grown a memory worth keeping (participants, decisions, context) - `tools/wikitool new project --name "<Name>" --set responsibility=<area>`. (b) It genuinely never needs one - confirm and leave it tracker-only | Ask: would anyone, including the operator in six months, need to know *why* this exists or who is in it? If yes, (a); a project that is fully explained by its own title and task list stays (b) |
| `unpaged_project` | A tracker project has no `kb/` page, past the age threshold | (a) It has grown a memory worth keeping (participants, decisions, context) - `tools/wikitool new project --name "<Name>" --set responsibility=<area>`. If the tracker project's name is already the title of a `kb/` page - usually the entity of the artifact it concerns - propose an outcome name instead (`kb/CONVENTIONS.md` § Naming); renaming the tracker project is the operator's own action in the tracker, there is no `wikitool` command for it, and once done run `new project` with the new name and `--resume`, since the tracker project then already exists. (b) It genuinely never needs one - confirm and leave it tracker-only | Ask: would anyone, including the operator in six months, need to know *why* this exists or who is in it? If yes, (a); a project that is fully explained by its own title and task list stays (b) |
| `no_open_loop` | A `kb/` page is `state: active` but its tracker project is missing or empty | (a) Same three options as `stalled` above. (b) The name diverged - a rename happened on one side only | Before assuming a stall, check whether a *similarly* named tracker project exists. If it does, this is `instructions/page-lifecycle.md`'s rename case (`tools/wikitool rename` for the page, plus renaming the tracker project to match), not a state change - the review reports both directions of a rename so it never has to be inferred silently |
| `someday_stale` | A someday/maybe item has not been touched past the threshold | (a) Activate it - give it a page with `tools/wikitool new project` if it is ready to become a committed initiative. (b) Strike it - propose `tools/wikitool task close --id "<id>"` (the finding's own `item_id`), asked as one combined question naming the item's title and id, then run it once confirmed. (c) Leave it - still genuinely "maybe" | Would the user commit to starting this today? If yes, (a). If it no longer belongs on the list at all, (b). If it is still worth keeping but not yet, (c) is a legitimate answer, not inaction - do not force a decision the user is not ready to make |
| `waiting_no_follow_up` | A `WAITING` item carries no `follow_up_at` at all - the provider had nothing to judge staleness against, so `waiting_overdue` could not even ask the question | (a) Set a follow-up date on the item, in the tracker itself - there is no `wikitool` command for this, same as moving a reminder forward. (b) Leave it open-ended deliberately - some commitments genuinely have no date yet | Ask whether there is a date to follow up on at all. If yes, (a); if the item is a genuine "whenever they get back to me", (b) is legitimate, but say so plainly rather than treating the finding as resolved by itself |
+1 -1
View File
@@ -86,7 +86,7 @@ stack's hardcoded behaviour until the conventions file existed.
|---|---|
| `language:` | `de` |
| `sections:` | `Beziehungen` / `Siehe auch` / `Fußnoten` |
| Naming | Human-readable titles with spaces; singular for entities; a decision named like any other concept, no `adr-NNN-` prefix; `X vs Y` for comparisons |
| Naming | Human-readable titles with spaces; singular for entities; a decision named like any other concept, no `adr-NNN-` prefix; `X vs Y` for comparisons; a GTD project named after its outcome, never the bare name of the artifact |
| Tone | Wikipedia register, with a German buzzword and filler list |
| Relationship labels | `hängt ab von` · `verwendet` · `implementiert` · `erweitert` · `ersetzt` · `steht in Konflikt mit` · `benötigt` · `erzeugt` · `konsumiert` · `besitzt` · `pflegt` · `läuft auf` · `verwandt mit` |
| Hedging | By source standing, not a score: `provenance: general` with no `sources:` says "im Allgemeinen"/"üblicherweise"; a claim rests on its weakest cited source's `authority` (`normative` vs. `opinion`); disagreement is named in prose ("möglicherweise", "laut X, aber Y widerspricht") |
+7 -1
View File
@@ -94,10 +94,16 @@ There is no `## Siehe auch` region any more. It was the reciprocal half of a bid
See [kb/concepts/COLLECTION.md § Decisions](concepts/COLLECTION.md#decisions).
- Prefer readability over convention when the two conflict.
What to name a thing: projects use their repository or common name; systems a descriptive
What to name a thing: codebases use their repository or common name; systems a descriptive
name; tools the tool's own name; technologies their standard spelling and capitalization;
people a full name or common handle.
A GTD project - a `project` page - is named after the undertaking or the outcome it aims at,
never after the bare name of the artifact it concerns: entity `Binford 9000`, project
`Binford 9000 im EU-Markt eingeführt` or `Binford 9000 - Markteinführung EU`. The artifact's
name belongs to its entity page, and since a project's title is also the name of its tracker
project, this keeps both free.
The naming facts that are *not* a choice, and therefore live in the contract: the filename
stem is the page title, `[[wikilinks]]` must match it exactly, and the title must be a valid,
unique file name on every platform (`kb/CONTRACT.md` § Titles are identifiers).
+3 -1
View File
@@ -81,7 +81,9 @@ them - they are rebuilt from frontmatter on every write. Any *other* heading is
- {Singular or plural for entities.}
- {How a comparison page's title reads.}
- {The ADR prefix, if this instance files decisions as pages.}
- {What to name a thing: projects, systems, tools, technologies, people.}
- {What to name a thing: codebases, systems, tools, technologies, people.}
- {What to name a GTD project (a `project` page, whose title is also its tracker project's
name) - after its outcome, or after the artifact it concerns.}
The naming facts that are *not* a choice, and therefore live in the contract: the filename
stem is the page title, `[[wikilinks]]` must match it exactly, and the title must be a valid,
+2
View File
@@ -214,6 +214,7 @@ Scaffold a new wiki page of any type.
- 1 A `raw_files` path does not exist
- 1 A capture field the type-spec requires is missing, or set to `unknown`
- 1 `--resume` with a type other than `project`
- 1 new project: The name is already the title of a `kb/` page - typically the entity page of the artifact the project concerns
- 1 new project: The name is already taken in the tracker (case-insensitively; for `caldav` against every list in the account)
- 1 new project: The configured access path has no write path (Super Productivity's `access: "snapshot"`)
- 1 new project: The page write failed after the tracker project was confirmed to exist
@@ -226,6 +227,7 @@ Scaffold a new wiki page of any type.
- A `raw_files` path does not exist -> Not transient - fix the path and retry once
- A capture field the type-spec requires is missing, or set to `unknown` -> Pass it explicitly (e.g. `--set fidelity=verbatim --set authority=reporting`), then retry once
- `--resume` with a type other than `project` -> Drop `--resume` and retry once
- new project: The name is already the title of a `kb/` page - typically the entity page of the artifact the project concerns -> Not transient - name the project after its undertaking or outcome (`kb/CONVENTIONS.md` § Naming) and retry once. Nothing was created, no tracker project either
- new project: The name is already taken in the tracker (case-insensitively; for `caldav` against every list in the account) -> Not transient - choose another name. If an earlier run of this exact command asked a human to create the project and they did, re-run with `--resume`
- new project: The configured access path has no write path (Super Productivity's `access: "snapshot"`) -> Not transient - point at the `access: "api"` instance the error names. A `--resume` retry refuses the same way, since nothing about the config changes by asking again
- new project: The page write failed after the tracker project was confirmed to exist -> Fix the write error, then re-run with `--resume` - a plain re-run is refused as a tracker collision
+8
View File
@@ -465,6 +465,14 @@ def _ensure_tracker_project(page_title: str, *, resume: bool) -> Optional[str]:
cause="`--resume` with a type other than `project`",
reaction="Drop `--resume` and retry once",
),
cli_contract.Failure(
label="new project",
cause="The name is already the title of a `kb/` page - typically the entity page of "
"the artifact the project concerns",
reaction="Not transient - name the project after its undertaking or outcome "
"(`kb/CONVENTIONS.md` § Naming) and retry once. Nothing was created, no tracker "
"project either",
),
cli_contract.Failure(
label="new project",
cause="The name is already taken in the tracker (case-insensitively; for `caldav` "
+23
View File
@@ -86,8 +86,10 @@ def _write_sp_backup(root, project_titles: list[str]) -> Path:
def _make_api_handler(state: dict):
class Handler(http.server.BaseHTTPRequestHandler):
posted = False
contacted = False
def do_GET(self): # noqa: N802 - stdlib method name
Handler.contacted = True
if self.path == "/health":
self._reply(200, {"server": "up", "rendererReady": True})
return
@@ -105,6 +107,7 @@ def _make_api_handler(state: dict):
def do_POST(self): # noqa: N802
# `new project` must never attempt this on the API path either -
# there is no POST /projects endpoint upstream (Gitea #124/#133).
Handler.contacted = True
Handler.posted = True
self._reply(404, {"error": "no such endpoint (fixture)"})
@@ -305,6 +308,26 @@ def test_new_project_refuses_a_tracker_collision_without_resume(monkeypatch, kb_
assert not (kb_dir / "gtd/haus/Kueche renovieren.md").exists()
def test_new_project_refuses_a_kb_title_collision_before_touching_the_tracker(monkeypatch, kb_dir):
"""Gitea #244: a project named after the artifact it concerns collides
with that artifact's entity page, since titles are unique across kb/.
The title check runs before the tracker step, so the refusal leaves
nothing behind on either side - no page, and no tracker request at all."""
root = kb_dir.parent
with _api_server([]) as (server, handler_cls):
_write_tasks_config(root, _base_url(server))
result = _invoke_new(monkeypatch, kb_dir, [
"new", "project", "--name", "gdeploy", "--set", "responsibility=haus",
])
assert result.exit_code == 1
assert "already exists" in result.output
assert "entities/tools/gdeploy.md" in result.output
assert not (kb_dir / "gtd/haus/gdeploy.md").exists()
assert handler_cls.contacted is False
assert handler_cls.posted is False
def test_new_project_resume_continues_past_an_existing_tracker_project(monkeypatch, kb_dir):
"""The retry half of the HumanInterventionRequired dance (#126's own
"Schritt 2"): once a human has created the tracker project by hand, a
+3 -1
View File
@@ -40,7 +40,9 @@ contract, the same way a type an instance invents for itself always does.
the thing it produces or touches. A codebase, a deployed system, a tool: that is `entity` with
`entity_type: codebase` (or `system`/`tool`/`technology`). "Ship Chemenu 7.0" is a `project`;
Chemenu the codebase is an `entity`. The two are homonyms, not the same page under two types -
see `kb/entities/COLLECTION.md` for the artifact side of that line.
see `kb/entities/COLLECTION.md` for the artifact side of that line. Titles are unique across
`kb/`, so the two cannot share a name either: how the project's title is chosen is
`kb/CONVENTIONS.md` § Naming.
- A bare task or a day-to-day commitment with no project shape of its own - that lives in the
task provider, not here (`kb/` never mirrors the tracker's momentary state, see below).