Adds comprehensive documentation and patterns

Provides detailed documentation for the Castle Accounting extension, including architecture, transaction flows, balance calculation, API endpoints, and future improvements.

Documents design patterns inspired by Beancount, such as immutable data structures, plugin architecture, and balance assertions, with recommendations for adoption in the Castle extension.

Includes an implementation roadmap, security considerations, performance considerations, and a migration path for existing data.
This commit is contained in:
padreug 2025-10-22 23:38:05 +02:00
parent 900ddb553b
commit 35d2057694
4 changed files with 2149 additions and 12 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 B

After

Width:  |  Height:  |  Size: 1.4 MiB

Before After
Before After

View file

@ -1,12 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100">
<rect x="20" y="35" width="60" height="50" fill="#8B4513" stroke="#000" stroke-width="2"/>
<rect x="35" y="55" width="15" height="30" fill="#654321"/>
<rect x="30" y="30" width="10" height="15" fill="#8B4513" stroke="#000" stroke-width="1"/>
<rect x="60" y="30" width="10" height="15" fill="#8B4513" stroke="#000" stroke-width="1"/>
<rect x="30" y="25" width="10" height="5" fill="#654321"/>
<rect x="60" y="25" width="10" height="5" fill="#654321"/>
<rect x="42" y="20" width="16" height="20" fill="#A0522D" stroke="#000" stroke-width="1"/>
<polygon points="50,15 46,20 54,20" fill="#654321"/>
<circle cx="42" cy="65" r="1.5" fill="#FFD700"/>
<text x="50" y="92" font-family="Arial" font-size="8" text-anchor="middle" fill="#FFD700"></text>
</svg>

Before

Width:  |  Height:  |  Size: 860 B