Skip to content

Normalize v2 document storage and human views#128

Merged
codeforester merged 1 commit into
mainfrom
enhancement/127-20260616-v2-document-storage
Jun 16, 2026
Merged

Normalize v2 document storage and human views#128
codeforester merged 1 commit into
mainfrom
enhancement/127-20260616-v2-document-storage

Conversation

@codeforester

Copy link
Copy Markdown
Owner

Summary

  • Add v2 financial storage roots plus document object/view metadata tables under the BB_ schema.
  • Add storage DAO/path helpers for relative key validation, path resolution, deterministic object keys, and read-only managed-file guardrails.
  • Expose the separate financial/ directory namespace and update architecture docs/open questions around canonical storage and generated human views.
  • Drop the superseded v2 path columns from BB_DOCUMENT and BB_IMPORT_ATTEMPT so future v2 code uses object/view references.

Validation

  • uv run pytest tests/test_financial_storage.py tests/test_financial_foundation.py tests/test_database.py -q
  • uv run pytest -q
  • ./tests/validate.sh
  • git diff --check
  • git diff --cached --check

Closes #127

@codeforester codeforester merged commit aeb64a7 into main Jun 16, 2026
2 checks passed
@codeforester codeforester deleted the enhancement/127-20260616-v2-document-storage branch June 16, 2026 16:51
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.

Normalize v2 document storage and human views

1 participant