Skip to content

docs: document preferred and additional citation systems - #11

Merged
maehr merged 1 commit into
mainfrom
docs/preferred-citation-system
Aug 12, 2026
Merged

docs: document preferred and additional citation systems#11
maehr merged 1 commit into
mainfrom
docs/preferred-citation-system

Conversation

@maehr

@maehr maehr commented Aug 4, 2026

Copy link
Copy Markdown
Member

Authoring-guidance follow-up to textrefs/textrefs.org ADR-0005 (issue textrefs/textrefs.org#60). No data changes — the compiler derives preferred_citation_system_key from the existing top-level citation_system:, so every work file compiles unchanged.

What the parent repo now does, and what this records here:

  • The top-level citation_system: is the work's preferred system. It mints the short /cite/{work_key}/{locator} alias and is published as preferred_citation_system_key. Changing it retargets that alias to a different reference — allowed, since /cite/ aliases are presentational, but worth calling out in a PR.
  • A work cited under more than one system lists the others under additional_systems:, each with its own citation_system:, resolvers:, and locators. Those references get only the qualified /cite/{work_key}/{citation_system_key}/{locator} alias.
  • reference_status: sets one block's reference status. The top-level block inherits the work's status; an additional_systems block defaults to draft and never inherits active, so adding a fallback system never promotes data by accident.
  • Locators MUST NOT contain / — the alias grammar distinguishes the two forms by segment count alone.

Depends on textrefs/textrefs.org#63; merge that first so the linked authoring guide describes the same format.

🤖 Generated with Claude Code

The parent repo's compiler now mints a qualified
`/cite/{work}/{system}/{locator}` alias for every reference and the bare
`/cite/{work}/{locator}` only for the work's preferred system (ADR-0005).

Record what that means for authoring here: the top-level `citation_system:`
is the preferred one, further systems go under `additional_systems:`, and
`reference_status:` on a fallback block defaults to `draft` rather than
inheriting the work's status. Also state that locators may not contain `/`.

No data changes — the compiler derives `preferred_citation_system_key`
from the existing top-level `citation_system:`.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 4, 2026 13:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Ready to approve

The change is limited to documentation updates that are consistent with the stated intent (“no data changes”) and introduces no code or schema modifications.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

Updates the registry’s authoring guidance (AGENTS.md) to document the semantics of preferred vs. additional citation systems (per ADR-0005), clarifying how /cite/ aliases and reference_status behave without changing any registry data.

Changes:

  • Document that the top-level citation_system is the preferred system and is used to mint the short /cite/{work_key}/{locator} alias.
  • Document how additional_systems are represented and how their aliases differ (qualified /cite/{work_key}/{citation_system_key}/{locator} only).
  • Document reference_status block behavior and the prohibition on / in locators due to alias grammar/validation.
File summaries
File Description
AGENTS.md Adds explicit authoring rules for preferred/additional citation systems, reference status inheritance, and locator constraints.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

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