Skip to content

fix: formalize tags and related conventions in framework docs#25

Merged
montfort merged 1 commit intomainfrom
fix/framework-tags-related-conventions
Mar 23, 2026
Merged

fix: formalize tags and related conventions in framework docs#25
montfort merged 1 commit intomainfrom
fix/framework-tags-related-conventions

Conversation

@montfort
Copy link
Copy Markdown
Contributor

Summary

Resolve ambiguity in frontmatter tags and related fields that caused inconsistent behavior from AI agents (3 different formats coexisting in related, no formal convention for tags).

Tags convention

  • kebab-case keywords, 3-8 per document
  • Describe topic, technology, component, or concern
  • Example: [sqlite, persistence, hexagonal-architecture]

Related convention

  • DevTrail document filenames only (with .md extension)
  • Include relative path from .devtrail/ for documents in subdirectories
  • Filename alone sufficient for same-directory documents
  • Prohibited: task IDs (T001, US3), issue numbers, URLs — those go in document body

Files updated

  • DOCUMENTATION-POLICY.md (EN + ES) — new subsections under metadata
  • AGENT-RULES.md (EN + ES) — new rule in Document Format section
  • DEVTRAIL.md — tags/related added to minimum metadata example

🤖 Generated with Claude Code

Add explicit conventions for frontmatter tags and related fields
to resolve ambiguity that caused inconsistent agent behavior.

Tags:
- kebab-case keywords, 3-8 per document
- Describe topic, technology, component, or concern

Related:
- DevTrail document filenames only (with .md extension)
- Include path from .devtrail/ for documents in subdirectories
- Filename alone for same-directory or well-known documents
- Explicitly prohibit task IDs, issue numbers, and URLs

Updated files:
- DOCUMENTATION-POLICY.md (EN + ES)
- AGENT-RULES.md (EN + ES)
- DEVTRAIL.md (unified rules)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@montfort montfort merged commit b770821 into main Mar 23, 2026
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 23, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants