P12-T4 Data storage documentation#53
Merged
Merged
Conversation
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.
Description
Adds
docs/data-storage.md— a comprehensive reference for all data storage containers in mcpbridge-wrapper. Covers the SQLite metrics database (SharedMetricsStore), the in-memory collector (MetricsCollector), and the audit log files (AuditLogger), including table schemas, field semantics, data flow, and retention/reset behaviour.Also adds a "Data Storage" section to
docs/architecture.mdand its DocC counterpart linking to the new document.Task: P12-T4 (Phase 12 — Data Collection Enhancements)
Type of Change
Quality Gates
make test- All tests pass with ≥90% coverage (437 passed, 5 skipped; 96.1% coverage)make lint- No linting errors (ruff check src/: all checks passed)make format- Code is properly formatted (no source code changed)make typecheck- Type checking passes (no source code changed)make doccheck- Documentation is synced with DocC (if docs changed)Documentation Sync
docs/architecture.mdSources/XcodeMCPWrapper/Documentation.docc/Architecture.mdNote:
docs/data-storage.mdis new and has no existing DocC counterpart; the DocCArchitecture.mdreferences it via an external link.Testing
Checklist
Validation Report
See
SPECS/ARCHIVE/P12-T4_Add_documentation_about_data_storage/P12-T4_Validation_Report.mdfor full quality gate results.