Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
540 commits
Select commit Hold shift + click to select a range
acf21d8
Update USER_MANUAL.md
Patrick010 Aug 17, 2025
4acd82a
Delete docs/manuals directory
Patrick010 Aug 17, 2025
10b9973
feat: Verify and integrate existing logging system
google-labs-jules[bot] Aug 17, 2025
e519f00
feat: Integrate logging system and correct documentation
google-labs-jules[bot] Aug 17, 2025
dae19f8
feat: Integrate logging system & overhaul documentation
google-labs-jules[bot] Aug 17, 2025
863e3a5
docs: Create and register ENDPOINTS.md
google-labs-jules[bot] Aug 17, 2025
df10ea5
docs: Restore archived documentation and fix links
google-labs-jules[bot] Aug 17, 2025
a146b6c
feat: Integrate logging system & perform full documentation overhaul
google-labs-jules[bot] Aug 17, 2025
1b7846e
feat: Integrate logging system & overhaul documentation
google-labs-jules[bot] Aug 17, 2025
f0bc8a2
feat: Integrate logging system & perform full documentation overhaul
google-labs-jules[bot] Aug 17, 2025
8c514ea
fix: Perform full and final documentation overhaul
google-labs-jules[bot] Aug 17, 2025
7f633c8
fix: Final and complete documentation overhaul
google-labs-jules[bot] Aug 17, 2025
02b07a8
fix: Final documentation alignment and logging integration
google-labs-jules[bot] Aug 17, 2025
c4e5f79
fix: Add dependency installation to start script
google-labs-jules[bot] Aug 17, 2025
d7cbdaa
fix: Final documentation and endpoint overhaul
google-labs-jules[bot] Aug 17, 2025
7388564
feat: Create comprehensive project documentation analysis file
google-labs-jules[bot] Aug 17, 2025
44ada5d
Add files via upload
Patrick010 Aug 17, 2025
2a52265
feat: Final code & documentation alignment
google-labs-jules[bot] Aug 17, 2025
a9d7fed
Final: Align Codebase, Integrate Logging & Overhaul Documentation
google-labs-jules[bot] Aug 17, 2025
a0b5c8c
Final: Align Codebase, Integrate Logging & Overhaul Documentation
google-labs-jules[bot] Aug 17, 2025
1770721
Final: Align Codebase, Integrate Logging & Overhaul Documentation
google-labs-jules[bot] Aug 17, 2025
0677a32
Final: Align Codebase, Integrate Logging & Overhaul Documentation
google-labs-jules[bot] Aug 17, 2025
559c47b
Final: Align Codebase, Integrate Logging & Overhaul Documentation
google-labs-jules[bot] Aug 17, 2025
33aeb79
Final: Align all documentation and integrate logging system
google-labs-jules[bot] Aug 17, 2025
657c797
docs: Add verification report to audit phase 4
google-labs-jules[bot] Aug 17, 2025
a0d1d07
feat: Implement flexible logging framework MVP
google-labs-jules[bot] Aug 17, 2025
20d9575
docs: Update project documentation for logging framework
google-labs-jules[bot] Aug 17, 2025
68df97b
docs: Update all project documentation for logging framework
google-labs-jules[bot] Aug 17, 2025
a096ad2
docs: Refactor and centralize logging documentation
google-labs-jules[bot] Aug 17, 2025
57b6b7d
docs: Finalize and centralize logging documentation
google-labs-jules[bot] Aug 17, 2025
5c831b7
docs(fix): Correct project registry and finalize documentation refactor
google-labs-jules[bot] Aug 17, 2025
0392dc8
Add files via upload
Patrick010 Aug 17, 2025
261db11
refactor: Canonicalize API endpoints and documentation
google-labs-jules[bot] Aug 17, 2025
b177804
fix(snitch): Adapt snitch to work with the new canonical API
google-labs-jules[bot] Aug 17, 2025
e8d6289
Documentation & Endpoint Canonicalization
Aug 18, 2025
4ce1205
Delete project/dg_report directory
Patrick010 Aug 18, 2025
9abfd06
feat: Build new snitch.exe with fix for user verification
google-labs-jules[bot] Aug 18, 2025
2cad60e
refactor: Consolidate snitch Go files to fix build conflict
google-labs-jules[bot] Aug 18, 2025
9c68a2d
refactor(snitch): Consolidate to a single Go file
google-labs-jules[bot] Aug 18, 2025
0efa80c
fix(snitch): Add validation for callback URL
google-labs-jules[bot] Aug 18, 2025
4a35c17
fix(api): Remove incorrect await in spotify_callback
google-labs-jules[bot] Aug 18, 2025
6da94fa
docs: Update project and snitch documentation
google-labs-jules[bot] Aug 18, 2025
aab0d5c
docs: Update all project and snitch documentation
google-labs-jules[bot] Aug 18, 2025
c620086
fix(api): Correct path to logging_framework.yml
google-labs-jules[bot] Aug 18, 2025
0d41c0f
fix(env): Correct logging paths for local development
google-labs-jules[bot] Aug 18, 2025
ede9530
feat(api): Make log file path configurable
google-labs-jules[bot] Aug 18, 2025
a454a67
refactor(api): Improve log path configuration
google-labs-jules[bot] Aug 18, 2025
ccdda85
feat(log): Implement tag-based routing for security logs
google-labs-jules[bot] Aug 18, 2025
cec7b73
feat(log): Finalize flexible logging framework
google-labs-jules[bot] Aug 18, 2025
64cb282
refactor(log): Revert to YAML-based log paths
google-labs-jules[bot] Aug 18, 2025
4801135
docs: Comprehensive update of all project documentation
google-labs-jules[bot] Aug 18, 2025
740fb8b
fix(api): Update deprecated Pydantic validator
google-labs-jules[bot] Aug 18, 2025
2265009
feat(log): Log successful authentication events
google-labs-jules[bot] Aug 18, 2025
88bfd30
feat(log): Log successful authentication events
google-labs-jules[bot] Aug 18, 2025
5ad2906
fix(log): Prevent duplicate security logs
google-labs-jules[bot] Aug 18, 2025
43a4961
docs(logging): Explain custom tag workflow
google-labs-jules[bot] Aug 18, 2025
eace9c8
docs: Secure current state and document all fixes
google-labs-jules[bot] Aug 18, 2025
e9e01b4
docs: Secure current state and document all fixes
google-labs-jules[bot] Aug 18, 2025
eda86b4
docs: Secure current state and document all fixes
google-labs-jules[bot] Aug 18, 2025
70fd9e0
docs: Propose dynamic plugin system for logging
google-labs-jules[bot] Aug 18, 2025
afdd0b9
docs: Add security section to plugin proposal
google-labs-jules[bot] Aug 18, 2025
a55b078
docs: Propose and integrate plugin architecture
google-labs-jules[bot] Aug 18, 2025
ae8f237
docs: Propose plugin architecture and update all high-level docs
google-labs-jules[bot] Aug 18, 2025
19481e5
docs: Add proposals for future architecture
google-labs-jules[bot] Aug 18, 2025
04e761a
docs: Finalize proposals and all project documentation
google-labs-jules[bot] Aug 18, 2025
ea51c54
docs: Comprehensive documentation overhaul
google-labs-jules[bot] Aug 18, 2025
69f47f0
docs: Comprehensive overhaul of all project documentation
google-labs-jules[bot] Aug 18, 2025
1ca8a9b
docs: Comprehensive overhaul of all project documentation
google-labs-jules[bot] Aug 18, 2025
dde95be
docs: Comprehensive documentation overhaul and new proposals
google-labs-jules[bot] Aug 18, 2025
9d52c9d
Fix and improve gonk-testUI
google-labs-jules[bot] Aug 18, 2025
34891b2
Fix and improve gonk-testUI
google-labs-jules[bot] Aug 18, 2025
762f0c2
Fix gonk-testUI and API timezone bug
google-labs-jules[bot] Aug 18, 2025
f60621b
Fix a suite of failing unit tests in the authentication module.
google-labs-jules[bot] Aug 18, 2025
1de87f5
Fix a TypeError in the authentication status endpoint.
google-labs-jules[bot] Aug 18, 2025
ab07666
Update living documentation to reflect the recent test suite and runt…
google-labs-jules[bot] Aug 18, 2025
d0147d9
Fix a TypeError in the Spotify callback caused by an inconsistency be…
google-labs-jules[bot] Aug 18, 2025
0fa8694
Fix a TypeError in the Spotify callback caused by an inconsistency be…
google-labs-jules[bot] Aug 18, 2025
164fba5
Refactor the authentication system to be fully provider-agnostic.
google-labs-jules[bot] Aug 18, 2025
75b987e
This commit fixes an `OperationalError` that occurred when querying t…
google-labs-jules[bot] Aug 18, 2025
db7c204
Add a new, detailed proposal for a plugin-driven, multi-source metada…
google-labs-jules[bot] Aug 19, 2025
44fa866
New log + proposals directory
Aug 19, 2025
be9783a
Onboarding refinement
Aug 19, 2025
c476e1f
Audit: Synchronize documentation with codebase reality
google-labs-jules[bot] Aug 19, 2025
0778d9d
Audit the PROJECT_REGISTRY.md file for completeness and accuracy.
google-labs-jules[bot] Aug 19, 2025
597e505
Audit and correct the `TASK_CHECKLIST.md` file.
google-labs-jules[bot] Aug 19, 2025
06f5029
Perform a full audit of project documentation, correcting multiple in…
google-labs-jules[bot] Aug 19, 2025
8486677
Perform a full audit of project documentation, correcting multiple in…
google-labs-jules[bot] Aug 19, 2025
d71e5ce
Align JWT documentation by correcting the traceability matrix
google-labs-jules[bot] Aug 19, 2025
b1b2cfb
Improve process documentation for clarity and enforcement.
google-labs-jules[bot] Aug 19, 2025
48c6c63
Clarify Phase 3 process and guidance documentation.
google-labs-jules[bot] Aug 19, 2025
03a0cd1
Correct and clarify the Phase 3 alignment plan and process.
google-labs-jules[bot] Aug 19, 2025
35d34b4
Finalize Phase 3 alignment plan and process documentation.
google-labs-jules[bot] Aug 19, 2025
4052680
Correctly align the JWT feature in the traceability matrix.
google-labs-jules[bot] Aug 20, 2025
46679a8
Docs: Align Phase 3 process and audit documentation
google-labs-jules[bot] Aug 20, 2025
505d5a5
feat(testing): Increase test coverage and implement CI gate
google-labs-jules[bot] Aug 20, 2025
7f8989d
feat(testing): Increase test coverage to 88% and add CI gate
google-labs-jules[bot] Aug 20, 2025
55a0fdd
feat(testing): Increase test coverage to 90% and implement CI gate
google-labs-jules[bot] Aug 20, 2025
e31f900
feat: Increase test coverage to >90% and add CI gate
google-labs-jules[bot] Aug 20, 2025
2738f93
feat: Increase test coverage to >90%, add CI gate, and complete Phase 3
google-labs-jules[bot] Aug 20, 2025
b892c62
feat(quality): Add static analysis tools and configs
google-labs-jules[bot] Aug 20, 2025
ca545a9
Update AUDIT-PHASE-4.md
Patrick010 Aug 20, 2025
9c4d8e6
Delete project/audit/AUDIT-PHASE-4a.md
Patrick010 Aug 20, 2025
460f310
This commit establishes a clean baseline for the codebase by resolvin…
google-labs-jules[bot] Aug 20, 2025
22a7d6a
refactor: Clean up codebase by fixing linter errors and tests
google-labs-jules[bot] Aug 21, 2025
afd15be
docs: Update trinity documentation files
google-labs-jules[bot] Aug 21, 2025
f264fb4
Fix security vulnerabilities reported by bandit
google-labs-jules[bot] Aug 21, 2025
e9ed062
feat(linting): Remediate all linting errors and stabilize test suite
google-labs-jules[bot] Aug 22, 2025
42d7dbc
docs(audit): Clarify audit process and delete redundant files
google-labs-jules[bot] Aug 22, 2025
d883c30
docs(audit): Clarify audit process and delete redundant files
google-labs-jules[bot] Aug 22, 2025
2171369
docs(audit): Clarify audit process and improve progress tracking
google-labs-jules[bot] Aug 22, 2025
3cb26e3
docs(audit): Consolidate plans to create a single source of truth
google-labs-jules[bot] Aug 22, 2025
9cbc7ff
docs(audit): Consolidate plans and fix inconsistencies
google-labs-jules[bot] Aug 22, 2025
f4756e8
docs(audit): Consolidate plans and fix inconsistencies
google-labs-jules[bot] Aug 22, 2025
3c8c1b1
feat: Remediate all mypy errors in src directory
google-labs-jules[bot] Aug 23, 2025
e6b3741
feat(typing): Full mypy strict remediation for API module
google-labs-jules[bot] Aug 23, 2025
0084169
feat(typing): Full mypy strict remediation for API module
google-labs-jules[bot] Aug 23, 2025
743ec14
feat(typing): Full mypy strict remediation for API module
google-labs-jules[bot] Aug 23, 2025
88b15ef
feat(quality): Complete Phase 4a static analysis tasks
google-labs-jules[bot] Aug 24, 2025
60fd97f
docs: Add proposal to investigate librespot decoupling
google-labs-jules[bot] Aug 24, 2025
3030a69
docs: Mark bandit and safety scans as complete in alignment plan
google-labs-jules[bot] Aug 24, 2025
9338fc0
ci: Add lint, mypy, and security scan jobs to CI workflow
google-labs-jules[bot] Aug 24, 2025
a9b3442
Merge branch 'main' into audit-phase-4j-1
Aug 24, 2025
c72a93e
fix(ci): Use python -m to run tools in CI jobs
google-labs-jules[bot] Aug 24, 2025
9ed3fdd
fix(ci): Add missing dev dependencies to pyproject.toml
google-labs-jules[bot] Aug 24, 2025
8c89b10
feat: Complete Phase 4a static analysis and CI integration
google-labs-jules[bot] Aug 24, 2025
0c87641
fix(ci): Resolve CI failures for test, security-scan, and lint jobs
google-labs-jules[bot] Aug 24, 2025
bd644e0
manual update
Aug 24, 2025
209c0cd
fix(ci): use safety scan to unblock CI pipeline
google-labs-jules[bot] Aug 24, 2025
252f2e0
fix(ci): correct safety policy to ignore vulnerabilities
google-labs-jules[bot] Aug 24, 2025
ff0a0be
fix(ci): correct and validate safety policy file
google-labs-jules[bot] Aug 24, 2025
0e19e84
fix(ci): remediate all bandit issues to unblock CI
google-labs-jules[bot] Aug 24, 2025
dc3675a
fix(ci): remediate all bandit issues and update documentation
google-labs-jules[bot] Aug 24, 2025
2111e14
fix(ci): remediate all security scan issues and update documentation
google-labs-jules[bot] Aug 24, 2025
b3758e8
fix(ci): remediate all security scan issues and update logs
google-labs-jules[bot] Aug 24, 2025
9cd4371
fix(ci): remediate all security scan issues and update documentation
google-labs-jules[bot] Aug 24, 2025
fb104fb
fix(ci): remediate security scan and refactor documentation
google-labs-jules[bot] Aug 24, 2025
725911c
fix(ci): remediate security scan and refactor documentation
google-labs-jules[bot] Aug 24, 2025
b1c646c
fix(ci): remediate security scan and refactor project documentation
google-labs-jules[bot] Aug 24, 2025
a781cbc
refactor(docs): re-structure developer documentation
google-labs-jules[bot] Aug 25, 2025
ed26b64
fix(ci): Resolve security scan failures and refactor documentation
google-labs-jules[bot] Aug 25, 2025
8a7dfc4
fix(ci): Resolve security scan failures and refactor documentation
google-labs-jules[bot] Aug 25, 2025
76265e0
fix(ci): Resolve security scan failures and refactor documentation
google-labs-jules[bot] Aug 25, 2025
4516b42
feat(ci): Add custom linter for documentation changes
google-labs-jules[bot] Aug 25, 2025
9b33cd2
feat(ci): Add custom linter for documentation changes
google-labs-jules[bot] Aug 25, 2025
b8c4747
feat(devops): Add pre-commit hooks and portable CI/CD guide
google-labs-jules[bot] Aug 25, 2025
d7b7350
Add files via upload
Patrick010 Aug 25, 2025
c932d54
feat(devops): Add pre-commit hooks and portable CI/CD guide
google-labs-jules[bot] Aug 25, 2025
58672fe
fix(ci): Correct golangci-lint version mismatch
google-labs-jules[bot] Aug 25, 2025
c61b6b3
feat(devops): Add pre-commit hooks and portable CI/CD guide
google-labs-jules[bot] Aug 25, 2025
0d9916e
fix(ci): Downgrade golangci-lint to resolve toolchain error
google-labs-jules[bot] Aug 25, 2025
b1ebbf3
fix(ci): Downgrade golangci-lint to resolve toolchain error
google-labs-jules[bot] Aug 25, 2025
c1ffa8c
fix(ci): Correct golangci-lint config file format
google-labs-jules[bot] Aug 25, 2025
d539a3f
fix(ci): Align go.mod version with CI toolchain
google-labs-jules[bot] Aug 25, 2025
7c9ca5e
docs: Finalize project logs and handover brief
google-labs-jules[bot] Aug 25, 2025
ec4965a
Update HANDOVER_BRIEF.md
Patrick010 Aug 26, 2025
7066e9a
doc: Align Phase 4 status in HLD/LLD plan
google-labs-jules[bot] Aug 26, 2025
cceea9a
feat(lint): Complete Phase 4 consolidation and implementation
google-labs-jules[bot] Aug 26, 2025
6b5c664
feat: Complete and consolidate Phase 4 implementation
google-labs-jules[bot] Aug 26, 2025
d3f8121
docs: Finalize Phase 4 and update all logs
google-labs-jules[bot] Aug 26, 2025
820ba7d
feat: Complete and consolidate Phase 4 implementation
google-labs-jules[bot] Aug 26, 2025
4f3f838
docs: Finalize Phase 4 audit and implementation
google-labs-jules[bot] Aug 26, 2025
a055d3b
docs: Create final audit report and update logs
google-labs-jules[bot] Aug 27, 2025
9dddb5c
docs: Finalize audit and align all documentation
google-labs-jules[bot] Aug 27, 2025
36ee1ef
feat: Complete and consolidate Phase 4 implementation
google-labs-jules[bot] Aug 27, 2025
f26f6bc
manual update
Aug 27, 2025
02fba23
Update HANDOVER_BRIEF.md
Patrick010 Aug 27, 2025
cb2160e
feat: Implement advanced conditional documentation linter
google-labs-jules[bot] Aug 27, 2025
ef9e717
refactor: Organize helper scripts and enhance doc linter
google-labs-jules[bot] Aug 27, 2025
7af65a2
refactor: Organize repo and enhance doc linter
google-labs-jules[bot] Aug 27, 2025
8793af1
feat: Add code documentation quality index and clean up repo
google-labs-jules[bot] Aug 27, 2025
b746c12
feat: Add doc quality index and refactor repo structure
google-labs-jules[bot] Aug 28, 2025
50f4c2f
feat: Add code quality index and refactor repository
google-labs-jules[bot] Aug 28, 2025
e499b3b
feat: Add code quality index and refactor repository
google-labs-jules[bot] Aug 28, 2025
dff3b47
feat: Add code quality index and refactor repository
google-labs-jules[bot] Aug 28, 2025
3f3c087
feat: Add code quality index and refactor repository
google-labs-jules[bot] Aug 28, 2025
de9503a
feat: Finalize audit, add quality index, and clean repo
google-labs-jules[bot] Aug 28, 2025
12119f3
feat: Finalize audit, add quality index, and clean repo
google-labs-jules[bot] Aug 28, 2025
43130eb
feat: Implement comprehensive repo cleanup and QA framework
google-labs-jules[bot] Aug 28, 2025
a289332
docs: Add HANDOVER_BRIEF.md
google-labs-jules[bot] Aug 29, 2025
aa5847a
docs: Consolidate final logs and handover brief
google-labs-jules[bot] Aug 29, 2025
6d45c5b
manual update
Aug 29, 2025
6adab15
Update HANDOVER_BRIEF.md
Patrick010 Aug 29, 2025
5f2f1ce
feat: Complete Audit Phase 5
google-labs-jules[bot] Aug 29, 2025
1819cbc
docs: Create AGENTS.md for automated workflow
google-labs-jules[bot] Aug 29, 2025
dfeeddc
manual update
Aug 29, 2025
88f51fd
manual update
Aug 29, 2025
cd3b4dc
manual update
Aug 29, 2025
29fb188
manual update
Aug 29, 2025
9218a92
Update AUDIT-PHASE-5.md
Patrick010 Aug 29, 2025
0538f93
feat(workflow): Implement automated documentation workflow and linter
google-labs-jules[bot] Aug 29, 2025
58a89f3
feat(workflow): Implement and correct automated documentation workflow
google-labs-jules[bot] Aug 29, 2025
7c78be9
feat(workflow): Implement and correct automated documentation workflow
google-labs-jules[bot] Aug 29, 2025
58ea07c
fix(workflow): Correct start.sh dependency installation
google-labs-jules[bot] Aug 29, 2025
6b0a412
fix(log): Restore session log history
google-labs-jules[bot] Aug 29, 2025
d05061f
feat(workflow): Implement and correct automated documentation workflow
google-labs-jules[bot] Aug 30, 2025
cf56636
feat(workflow): Implement and correct automated documentation workflow
google-labs-jules[bot] Aug 30, 2025
60b174a
feat: Implement self-aware automated documentation workflow
google-labs-jules[bot] Aug 30, 2025
547d97b
refactor: Implement dual-registry system for documentation
google-labs-jules[bot] Aug 30, 2025
b576ff2
refactor: Implement dual-registry system and harden doc workflow
google-labs-jules[bot] Aug 30, 2025
af825ea
refactor: Implement dual-registry system and harden doc workflow
google-labs-jules[bot] Aug 30, 2025
75c76f9
manual update
Aug 30, 2025
e70b798
feat: Implement Quality Index Check in Documentation Linter
google-labs-jules[bot] Aug 30, 2025
da49145
feat: Implement Quality Index Check in Documentation Linter
google-labs-jules[bot] Aug 30, 2025
845be18
feat: Overhaul documentation process and enhance linter
google-labs-jules[bot] Aug 31, 2025
46f8bfb
feat: Overhaul documentation process and enhance linter
google-labs-jules[bot] Aug 31, 2025
e6e9f2a
docs: Update audit and alignment plan files
google-labs-jules[bot] Aug 31, 2025
0b311b7
manual update
Aug 31, 2025
5e3dbfa
Fix(tests): Stabilize test environment and align audit matrix
google-labs-jules[bot] Aug 31, 2025
5839a00
Fix(tests): Stabilize test environment and align audit matrix
google-labs-jules[bot] Aug 31, 2025
1287f0d
Docs: Prepare for symlink-based mkdocs build
google-labs-jules[bot] Aug 31, 2025
f22c7da
Fix: Consolidate documentation registries and clarify structure
google-labs-jules[bot] Aug 31, 2025
08183aa
Refactor: Reorganize API documentation hierarchy for clarity
google-labs-jules[bot] Aug 31, 2025
242e974
Refactor: Reorganize docs and add agent rules
google-labs-jules[bot] Aug 31, 2025
b9f4122
Fix: Add agent rules and correct doc hierarchy
google-labs-jules[bot] Aug 31, 2025
e799e85
Fix: Update logs and correct documentation and processes
google-labs-jules[bot] Aug 31, 2025
5eb8641
Feat: Automate work logging via pre-commit hook
google-labs-jules[bot] Aug 31, 2025
6ce8dc5
Fix: Automate logging and correct documentation
google-labs-jules[bot] Aug 31, 2025
0d9e040
fix: Correct logging process and repair startup script
google-labs-jules[bot] Aug 31, 2025
a400737
fix: Correct logging process and repair startup script
google-labs-jules[bot] Aug 31, 2025
1012cdb
fix(api): Make logging config path resilient
google-labs-jules[bot] Aug 31, 2025
77a014e
chore: Final verification of repository state
google-labs-jules[bot] Aug 31, 2025
2830af7
chore: Final cleanup and verification
google-labs-jules[bot] Aug 31, 2025
fdb7982
chore: Final verification and cleanup
google-labs-jules[bot] Aug 31, 2025
c5fa82e
fix: Resolve all outstanding startup and documentation issues
google-labs-jules[bot] Aug 31, 2025
cf5b59b
fix: Resolve all startup and documentation build issues
google-labs-jules[bot] Aug 31, 2025
ad29df4
fix: Overhaul logging script and fix all outstanding issues
google-labs-jules[bot] Aug 31, 2025
38b22fe
docs: Align RBAC documentation with audit findings
google-labs-jules[bot] Aug 31, 2025
f735aeb
revert: Restore original logging system and documentation
google-labs-jules[bot] Aug 31, 2025
4803b75
revert: Restore original logging system and documentation
google-labs-jules[bot] Aug 31, 2025
c4a0a69
Delete templates/REGISTRY.md
Patrick010 Aug 31, 2025
40eddd0
Update ACTIVITY.md
Patrick010 Aug 31, 2025
82e3a97
Update HANDOVER_BRIEF.md
Patrick010 Aug 31, 2025
a2b068a
Fix: Correct broken links in documentation
google-labs-jules[bot] Aug 31, 2025
2f93e8a
Feat: Configure mkdocs for modular documentation build
google-labs-jules[bot] Aug 31, 2025
e0108e7
Docs: Update project logs for mkdocs configuration changes
google-labs-jules[bot] Aug 31, 2025
0fcd84d
Feat: Configure mkdocs for modular documentation build
google-labs-jules[bot] Aug 31, 2025
f2bfa0a
Feat: Configure mkdocs for modular documentation build
google-labs-jules[bot] Aug 31, 2025
a604511
Feat: Configure mkdocs for modular documentation build
google-labs-jules[bot] Aug 31, 2025
9247a0e
Feat: Configure mkdocs build and fix auth regression
google-labs-jules[bot] Aug 31, 2025
8a26d31
Fix mkdocs build and Spotify auth regression
google-labs-jules[bot] Sep 1, 2025
9ef673b
Refactor: Clean up api directory
google-labs-jules[bot] Sep 1, 2025
59ce41d
Fix: Make audit_routes.sh more robust
google-labs-jules[bot] Sep 1, 2025
8958203
Refactor: Relocate bandit.yml and remove leftover test file
google-labs-jules[bot] Sep 1, 2025
e368b51
Fix: Align Track model with tracks_service schema
google-labs-jules[bot] Sep 1, 2025
a15e4c0
Fix: Resolve DB schema bug and improve audit script
google-labs-jules[bot] Sep 1, 2025
7c5de78
Fix: Correct TypeError in /version endpoint
google-labs-jules[bot] Sep 1, 2025
99c01f4
Fix: Resolve timezone issue in /version endpoint
google-labs-jules[bot] Sep 1, 2025
651de02
Docs: Establish canonical API endpoint baseline
google-labs-jules[bot] Sep 1, 2025
0b2b25e
Update HANDOVER_BRIEF.md
Patrick010 Sep 1, 2025
c27c1d7
Update AUDIT-PHASE-5.md
Patrick010 Sep 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
148 changes: 148 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Cache pip dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ./api
pip install pytest-cov

- name: Create required directories
run: mkdir -p api/storage api/logs

- name: Create admin API key file for tests
run: echo "test-ci-key" > api/src/.admin_api_key

- name: Run tests with coverage
run: |
cd api
python -m pytest --cov=src/zotify_api --cov-report=xml --cov-fail-under=85

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Install ruff
run: python -m pip install ruff

- name: Run ruff
run: python -m ruff check .

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22' # Updated to resolve linter incompatibility
cache: false # Disable caching as there are no dependencies

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v4
with:
# Downgrade to a known stable version to avoid linter/toolchain bugs
version: v1.55.2
working-directory: snitch

type-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Cache pip dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ./api

- name: Run mypy
run: |
cd api
python -m mypy --config-file mypy.ini src tests

security-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Cache pip dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ./api

- name: Run bandit
run: |
cd api
python -m bandit -r . -c bandit.yml

- name: Run safety
run: |
pip install "safety<3.0.0"
python -m safety check --ignore=51167 --ignore=77740

doc-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for git diff to work

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Run documentation linter
run: python ${{ github.workspace }}/scripts/lint-docs.py
17 changes: 16 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,19 @@ Zotify\ Music/
Zotify\ Podcasts/

# Testing
debug.py
debug.py

# Ignore admin API key file
.admin_api_key

# Ignore snitch binary
snitch/snitch
snitch/snitch.exe
snitch/bin/

# Ignore spotify tokens file
api/src/storage/spotify_tokens.json

# Ignore API storage directory and database files
api/storage/
api/*.db
48 changes: 48 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
repos:
# 1. Code formatting & linting
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.280
hooks:
- id: ruff
args: ["--fix"] # fixes formatting and common style issues

# 2. Type checking
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.1
hooks:
- id: mypy
additional_dependencies: []

# 3. Security checks
- repo: https://github.com/PyCQA/bandit
rev: 1.7.5
hooks:
- id: bandit
args: ["-r", "."]

- repo: https://github.com/returntocorp/semgrep
rev: v1.37.0
hooks:
- id: semgrep
args: ["--config=p/ci"]

# 4. Documentation linter (local)
- repo: local
hooks:
- id: doc-linter
name: Documentation Linter
entry: python scripts/lint-docs.py
language: python
types: [file, python]
pass_filenames: false
additional_dependencies: [pyyaml]

# 5. Optional: complexity checks (Radon/Xenon) as a local hook
- repo: local
hooks:
- id: complexity
name: Cyclomatic Complexity
entry: python scripts/check_complexity.py
language: python
types: [python]
pass_filenames: false
93 changes: 93 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Agent Instructions & Automated Workflow System

**Version:** 2.0
**Status:** Active

---

## 0. Fundamental Rules

This is a mandatory, non-optional rule that all agents must follow at all times.

Do not approve your own tasks or plans. Do not make un-asked for changes. Do not start tasks or plans without approval.

---

## 1. About This System

### 1.1. Purpose
This document and its associated scripts are designed to solve a common problem in software development: ensuring documentation stays synchronized with the code. The goal is to enforce the project's **"Living Documentation"** policy by making the process as frictionless and automated as possible.

### 1.2. How It Works
The system consists of three main components:
1. **This Document (`AGENTS.md`):** The central source of truth for the workflow. AI agents are programmed to read this file and follow its instructions.
2. **Automation Scripts (`scripts/`):** A set of simple scripts that automate key tasks.
3. **Configuration (`scripts/doc-lint-rules.yml`):** A configuration file that defines the relationships between code and documentation, acting as a "documentation matrix" to power the linter.

### 1.3. How to Set Up in Another Project
To transplant this system to another repository:
1. **Copy Files:** Copy this `AGENTS.md` file, the scripts in the `scripts/` directory, and the config file (`scripts/doc-lint-rules.yml`).
2. **Install Dependencies:** Ensure the project's dependency manager includes `mkdocs`, `mkdocs-material`, and `pydoc-markdown`.
3. **Customize:** Edit `scripts/doc-lint-rules.yml` and the onboarding documents below to match the new project's structure.

---

## 2. Agent Onboarding

Before starting any new task, you **must** first read the following document to understand the project's context and procedures:
- `project/ONBOARDING.md`

---

## 3. The Automated Workflow

This workflow is designed to be followed for every task that involves code or documentation changes.

### Step 1: Code and Document
This is the primary development task. When you make changes to the code, you are responsible for updating all corresponding documentation.

#### Project-Level Documentation
To identify which documents are relevant for a given change, you **must** consult the `project/PROJECT_REGISTRY.md`. This file is the single source of truth for all high-level project documents.

#### API Documentation
The API documentation has its own master index. When creating new documentation for the API, you **must** register it in the following locations:
1. **`api/docs/MASTER_INDEX.md`**: The new documentation file must be added to this master list.
2. **`scripts/doc-lint-rules.yml`**: The new file must be added to the appropriate rule or mapping.
3. **`api/docs/reference/CODE_QUALITY_INDEX.md`**: A new row must be added for the documentation file with an initial quality score of 'X'.

### Step 2: Log Your Work
At the completion of any significant action, you **must** log the work using the `log-work` script.

* **Command:** `python scripts/log-work.py --activity "..." --session "..." --state "..." --files ...`
* **Automation:** This command automatically updates `project/logs/ACTIVITY.md`, `project/logs/CURRENT_STATE.md` and `project/logs/SESSION_LOG.md`.

### Step 3: Maintain the Quality Index
To ensure a high standard of quality, all new source code and documentation files must be registered in the quality index. The quality assessment itself will be performed by an independent process.

1. **Add New Files to Index:** When you create a new source file (`.py`, `.go' or `.js`) or a new documentation file (`.md`), you **must** add a corresponding entry to the appropriate `CODE_QUALITY_INDEX.md` file.
2. **Set Initial Score:** The initial "Documentation Score" and "Code Score" for any new file must be set to **'X'**, signifying that the quality is "Unknown" and pending review.

### Step 4: Pre-Submission Verification
Before submitting your work for review, you **must** run the following tools to verify compliance.

1. **Run Tests:**
* **Command:** `bash scripts/run_lint.sh.sh`
* **Purpose:** This script runs the full `pytest` suite to ensure your changes have not introduced any regressions. You must resolve any test failures.

2. **Run Documentation Linter:**
* **Command:** `python scripts/lint-docs.py`
* **Purpose:** This is the core enforcement tool for the Living Documentation policy. It uses the "documentation matrix" defined in `scripts/doc-lint-rules.yml` to check that all required documentation has been updated. You must resolve any errors it reports.

3. **Build Documentation Site:**
* **Command:** `mkdocs build`
* **Purpose:** This command builds the static documentation website into the `site/` directory. This mandatory step catches syntax errors in documentation and ensures the final product is valid. The site can be previewed at http://<server_ip>:8008 by running `mkdocs serve`.

---

## 4. Key Policy Documents (Reference)

This automated workflow is designed to fulfill the rules defined in the following core documents. Refer to them if you need more context on the *why* behind the rules.

* `project/PID.md`
* `project/HIGH_LEVEL_DESIGN.md`
* `project/TASK_CHECKLIST.md`
Loading