docs: ADR 0003 — enterprise/regulated scope with layered model#36
Open
docs: ADR 0003 — enterprise/regulated scope with layered model#36
Conversation
4a3bb88 to
aac9557
Compare
Proposes shifting pta-standards from a pure file-format specification to an accounting-standards-referenced specification via a four-layer architecture (syntax → semantic model → reporting → regulatory output). Includes: - Comprehensive prior-art survey (XBRL GL, SAF-T, GnuCash, ERPNext, Odoo, python-accounting, Ellerman, Bjorner, REA, FIBO) - Explicit relationship to existing ROADMAP.md and core/ structure - Build-on vs. build-from-scratch matrix - Phased implementation roadmap - Open questions for follow-up RFCs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
aac9557 to
588b733
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Proposes adopting enterprise/regulated-grade accounting as the scope of pta-standards, via a four-layer specification architecture that preserves the current file-format spec unchanged at Layer 1 and adds semantic, reporting, and regulatory layers above it.
What this changes (if accepted)
What this does NOT change
Why now
The current spec's "UNDEFINED: pending clarification" items are almost all questions that would be answered by referencing a standard (GAAP, IFRS, IAS, ASC). Answering them ad-hoc recreates work that accounting standards bodies have already done. Referencing those standards resolves the questions and makes the spec meaningful to accountants.
Open questions
The ADR explicitly leaves 6 questions unresolved for follow-up RFCs. Key ones:
Assets:Bank:Checking-style accountsReview request
This is an architectural proposal, not an implementation PR. Looking for:
🤖 Generated with Claude Code