feat(classification): add the publication category as a durable flavor
Implements CUST-WP-0070-T02. publication joins DURABLE_FLAVORS, so CATEGORIES picks it up automatically; classification.py and the cli --category choices are updated to match canon v1.1. A published corpus of authored records previously had to be filed as project — the only non-durable category — implying eventual retirement of something meant to be kept. Repos with no classification file at all fell through to flavor=tooling. Full suite: 161 passed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SQ6oF1DtVDKcD1FCpvRVLx Assistant: claude-code Assistant-Model: opus Assistant-Process: 272883@bnt-lap001 Assistant-Session: f40c8f53-fb65-4980-9d29-bcdb3dd946f7
This commit is contained in:
parent
55002b6fc9
commit
7d7b35ade0
3 changed files with 13 additions and 3 deletions
|
|
@ -7,7 +7,9 @@ from dataclasses import dataclass
|
|||
from typing import Any
|
||||
|
||||
CONTRACT_VERSION = "1.0"
|
||||
CATEGORIES = frozenset({"experimental", "research", "project", "tooling", "product", "business"})
|
||||
CATEGORIES = frozenset(
|
||||
{"experimental", "research", "project", "tooling", "product", "business", "publication"}
|
||||
)
|
||||
DOMAINS = frozenset(
|
||||
{
|
||||
"infotech",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue