Skip to content

docs(standards): document canonical source principle in code-style-conventions#710

Merged
rjmurillo merged 1 commit into
mainfrom
docs/675-canonical-source-principle
Dec 31, 2025
Merged

docs(standards): document canonical source principle in code-style-conventions#710
rjmurillo merged 1 commit into
mainfrom
docs/675-canonical-source-principle

Conversation

@rjmurillo-bot

Copy link
Copy Markdown
Collaborator

Summary

Add formal documentation of the Canonical Source Principle to code-style-conventions.md, formalizing the single-source-of-truth pattern already used by SESSION-PROTOCOL.md and PROJECT-CONSTRAINTS.md.

Specification References

Type Reference Description
Issue Closes #675 docs(standards): Document canonical source principle in code-style-conventions

Changes

  • Added "Canonical Source Principle" section with:
    • Definition of what makes a document canonical (4 criteria)
    • Do/Don't table for referencing canonical sources
    • List of documents with formal canonical markers
    • List of de-facto authoritative sources
    • Process for creating new canonical sources

Type of Change

  • Bug fix (non-breaking change fixing an issue)
  • New feature (non-breaking change adding functionality)
  • Breaking change (fix or feature causing existing functionality to change)
  • Documentation update
  • Infrastructure/CI change
  • Refactoring (no functional changes)

Testing

  • Tests added/updated
  • Manual testing completed
  • No testing required (documentation only)

Agent Review

Security Review

  • No security-critical changes in this PR

Other Agent Reviews

  • Critic validated implementation plan

Critic Review: PASS after corrections - Fixed filename typo and split canonical sources into formal/de-facto categories.

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Comments added for complex logic
  • Documentation updated (if applicable)
  • No new warnings introduced

Related Issues

Closes #675

…nventions

Add Canonical Source Principle section to code-style-conventions.md:
- Define what makes a document canonical (4 criteria)
- Provide do/don't guidance for referencing canonical sources
- List current canonical sources with formal markers
- List de-facto authoritative sources
- Document process for creating new canonical sources

This formalizes the single-source-of-truth pattern already used by
SESSION-PROTOCOL.md and PROJECT-CONSTRAINTS.md.

Closes #675

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@github-actions

Copy link
Copy Markdown
Contributor

PR Validation Report

Tip

Status: PASS

Description Validation

Check Status
Description matches diff PASS

QA Validation

Check Status
Code changes detected False
QA report exists N/A

Powered by PR Validation workflow

rjmurillo-bot added a commit that referenced this pull request Dec 31, 2025
Session completed 4 PRs from priority issues:
- PR #708: Issue #700 - ConvertFrom-Json error handling
- PR #709: Issue #699 - GITHUB_OUTPUT error handling
- PR #710: Issue #675 - Canonical source principle
- PR #711: Issue #686 - Trust-based compliance antipattern

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rjmurillo rjmurillo merged commit 38b8c5d into main Dec 31, 2025
34 checks passed
@rjmurillo rjmurillo deleted the docs/675-canonical-source-principle branch December 31, 2025 20:45
rjmurillo pushed a commit that referenced this pull request Dec 31, 2025
* docs(governance): document trust-based compliance antipattern

Create PROTOCOL-ANTIPATTERNS.md documenting:
- Trust-based compliance antipattern with evidence from PR #669
- Verification-based enforcement replacement pattern
- Three case studies (branch verification, session init, test execution)
- Design guidelines and implementation checklist

Also adds links from SESSION-PROTOCOL.md and AGENT-INSTRUCTIONS.md
to the new antipatterns document.

Closes #686

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* docs(session): add session 112 log for autonomous development

Session completed 4 PRs from priority issues:
- PR #708: Issue #700 - ConvertFrom-Json error handling
- PR #709: Issue #699 - GITHUB_OUTPUT error handling
- PR #710: Issue #675 - Canonical source principle
- PR #711: Issue #686 - Trust-based compliance antipattern

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: rjmurillo[bot] <rjmurillo-bot@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
@rjmurillo rjmurillo added this to the 0.2.0 milestone Jan 9, 2026
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.

docs(standards): Document canonical source principle in code-style-conventions

2 participants