Fetching metadata from the HF Docker repository...
May 5 10:48 docs: Sprint 44 full-stack audit — ADR-009/010, AUDIT_REPORT, STATUS, TODO, PRACTICES, CHANGELOG Sprint 44 principal-engineer audit across 9 domains (25 findings).
All findings are evidence-based with exact file paths and line numbers.
New files:
- docs/AUDIT_REPORT.md — 25 structured findings with code diffs + verification cmds + roadmap
- docs/adr/ADR-009-security-hardening.md — CSP nonce, Redis rate limit, tenant from JWT
- docs/adr/ADR-010-token-rotation.md — single-use refresh token family rotation (RFC 6819)
Updated files:
- CHANGELOG.md — Sprint 44 release entry
- docs/STATUS.md — security audit status table; platform metrics with open findings
- docs/TODO.md — remediation roadmap: WEEK 1 Critical S1-S6, WEEKS 2-3 H1-H8, MONTH 2 M1-M7
- docs/PRACTICES.md — security patterns: CSP nonce, tenant isolation, token rotation, pagination
Critical Week 1 fixes: SEC-1 unsafe-eval CSP, SEC-6 hardcoded tenant UUID,
AUTH-1 token reuse, DEP-1 Dockerfile ENV, DATA-1 no WAL/PITR, SEC-4 rate limit
Refs: ADR-009, ADR-010, OWASP A01/A03/A06/API4, RFC 6819, NIST 800-63B, HIPAA May 3 18:04 feat: Sprint 44 — ProductRegistry, Azul/Luiz layer, 13 migrations, doc cleanup - ProductRegistry: 20-product catalogue, 10 API endpoints, 3 DB tables, 35 tests
- Docker profiles: sandbox/staging/prod + worker + mailhog
- Azul/Luiz surgical intelligence layers, Stay engine, Amraved AI improvements
- Educa cards, Ayrad engine, Notifications service
- 13 new Alembic migrations
- hospi engine removed (superseded by Stay), surgio monolith route removed
- Docs: removed 3 dupes (architecture.md, deployment.md, security.md)
- Docs: added ADRs (8), runbooks (8), DEPLOY.md, modules.md, CONTRIBUTING.md
- STATUS.md: Sprint 44, current metrics (1406 routes, 829 py files) Apr 13 23:35 chore: Cycle 20 — remove 6 dead scripts/packages + fix 6 stale doc refs (1,149 LOC) Dead code removed (6 files, 1,149 LOC):
- scripts/database/ (4 files: check_indexes.py, optimize_indexes.sql,
optimize_production.sql, README.md) — zero code/Makefile/CI references
- tests/observability/__init__.py — orphaned empty init (tests deleted Cycle 18)
- src/services/clinical/__init__.py — orphaned stub (__all__ = [], zero imports)
Stale doc references fixed (6 fixes in 4 files):
- DOCKER.md: podman → docker compose
- DEPLOYMENT_RUNBOOK.md: mesh config, WireGuard, pre-deployment script paths
- PRACTICES.md: alert-rules.yml → prometheus_metrics.py
- COMMANDMENTS.md: observability config paths → source paths
Grand total: 481 files removed, 154,514 LOC eliminated (Cycles 1-20)
App verified: 1,324 routes 18:22 Cycle 12: Remove 55 stale duplicate docs + 49 dead Makefile targets (25,052 LOC) Docs cleanup:
- Removed docs/01-foundation/ (4 files) — older copies of root docs
- Removed docs/02-architecture/ (21 files) — identical to docs/architecture/
- Removed docs/04-operations/ (7 files) — identical to root docs
- Removed docs/05-roadmap/ (5 files) — older copies of root docs
- Removed docs/06-modules/ (18 files) — copies of docs/03-engines/
- Updated docs/README.md, INDEX.md, PRACTICES.md to flat structure
Makefile cleanup (894 → 548 lines):
- Removed preflight verification (5 targets → infra/ops/ doesn't exist)
- Removed research workbench (15 targets → scripts/verification|deployment|research don't exist)
- Removed platform orchestration (6 targets → scripts/yaz_orchestrator.py doesn't exist)
- Removed stakeholder access (4 targets → scripts/yaz_cli.py doesn't exist)
- Removed data processing (4 targets → scripts/yaz_cli.py doesn't exist)
- Removed study management (4 targets → config/studies/ doesn't exist)
- Removed clean/doctor/quick study shortcuts (11 targets → non… Apr 5 00:33 sprint-42: full-stack security and quality audit Security: CSP enabled, JWT centralised, auth guards, tenant isolation, CORS tightened, X-Powered-By removed, cookie secure env-aware
Frontend: inline JS/CSS extracted, static compression (.br/.gz)
Testing: 27 educa tests fixed, 3093 passing, 0 regressions
Docs: .env.example, dead-code-manifest.txt, STATUS.md updated Mar 8 01:37 feat: v7.0.0 — platform consolidation, domain engines architecture, 24 pillars PLATFORM:
- Pruned codebase: 1067→700 py files, 182→80 templates
- Updated all architecture docs (COMMANDMENTS, PRACTICES, TARGET, DDD)
- Domain Engines spec: 14 engines (Surgio, Clinica, Labo, Pharma...)
- Intelligence Packaging standard for marketplace modules
- Renamed lodger→casa, removed dead code, pruned adapters layer
- UI/UX system v2.0 with dark mode, responsive grid
- Gitignore: node_modules, .br/.gz compressed assets, nohup.out
INFRA:
- Updated Dockerfile, K8s deployment, Docker Compose
- Cloudflare Tunnel zero-cost deploy script
- Static asset compression pipeline
TESTS: 906 tests maintained Feb 15 18:20 v6.11.0: Digital Intelligence Platform — cross-platform vision, marketplace architecture, bloat cleanup VISION SHIFT:
- YAZ is now a 'Digital Intelligence Platform' — not just healthcare SaaS
- Users create, deploy, sell, and orchestrate intelligent tools across any domain
- Surgio is the first tool (surgical intelligence) — anyone can create their own
- Marketplace: publish, discover, fork, license, deploy
README REWRITE:
- Complete rewrite to reflect marketplace & cross-platform vision
- Tool composition model (24 pillars → user tools → marketplace)
- API-first architecture diagram (Web · iOS · Android · Desktop · IoT · P2P)
- Updated metrics: v6.11.0, 24 pillars, 906 tests
NEW DOCS:
- docs/architecture/CROSS_PLATFORM.md — comprehensive cross-platform architecture
- SDK generation strategy (OpenAPI → Swift/Kotlin/Rust/TypeScript)
- Platform implementations: Web, PWA, iOS, Android, Desktop (Tauri), IoT (MQTT), P2P (libp2p)
- Offline-first sync architecture with CRDT conflict resolution
- Auth across platforms (Keychain, EncryptedSharedPrefs, device certs)
DOCS UPDATED:
- TARG… Feb 12 16:59 feat(pillars): v6.6.0 — Pillars 8-13 LIVE — THIRTEEN PILLARS COMPLETE 🏛️ Built 6 new domain-agnostic tools completing the Thirteen Pillars Architecture:
Pillar 8: Scheduling — OR block scheduling, conflict detection, waitlist (19 endpoints)
Pillar 9: Document — FDA 21 CFR Part 11 signatures, structured clinical docs (13 endpoints)
Pillar 10: Notification — Multi-channel alerts, escalation, template rendering (12 endpoints)
Pillar 11: Order — Order lifecycle, verification/approval, auto-numbering (20 endpoints)
Pillar 12: Billing — Charge capture → invoice → payment, CPT fees (13 endpoints)
Pillar 13: Report — Generate → review → approve → publish, scheduling (13 endpoints)
- 42 new source files (7 per pillar x 6 pillars)
- 90 new API routes (341 total API, 884 total routes)
- 24 new surgical templates across 6 pillars
- All mounted in factory.py with template registration
- Surgio dashboard pages for all 6 new pillars
- Server verified healthy with all endpoints responding Jan 8 00:11 fix(ui): remove duplicate New Case button, make sidebar instant, fix favicon & title for apps - Remove duplicate 'New Case' button from base.html header
- Make sidebar dropdowns instant (no animations/transitions)
- Remove global transition-duration override from app_base.html
- Use visibility instead of opacity for instant show/hide
- Fix nav-container overflow to prevent layout shifts
- Update app title format to 'AppName - YAZ'
- Add comprehensive favicon links with cache busting to base.html
- Match favicon setup from index.html for consistency Jan 7 18:39 feat(v5.1.2): UI/UX Minimalist Polish + RTL Support 🎨 UI/UX Refinements (Sprint 37):
- Brand sizing: YAZ header 24px, app names 13px
- Sidebar: Removed separator line for seamless design
- Icons: Minimalist SVG (scalpel, heart, gear)
- RTL: Full right-to-left layout support in index.html
📋 Documentation Updates:
- copilot-instructions.md → v5.1.2, 78% sprint complete
- CHANGELOG.md → Added v5.1.2 entry
- PRACTICES.md → v2.4 with updated date
- STATUS.md → v5.1.2, latest updates section
- TODO.md → Recent completions (UI/UX polish)
- UI_UX_SYSTEM.md → v2.1 with typography scale, icon system
📊 Sprint 37 Progress: 78% Complete (12.5/16 Story Points)
- ✅ UI/UX Dark Theme (5 pts)
- ✅ UI/UX Minimalist Optimization (3 pts)
- ✅ Architecture Documentation (4,902 LOC)
- ⏳ Production Deployment (deferred to Sprint 38)
Files Modified: 7
Co-authored-by: AI Assistant <ai@yazcare.dev> Jan 6 23:59 feat(ui): increase card size to 280px for better visibility Jan 4 14:47 docs(sprint-37): Iteration #10 - Status synchronization & sprint rename - Rename sprint-37.md → sprint-37-production-deployment.md (follows convention)
- Update STATUS.md with Sprint 37 progress (69%), architecture docs table
- Update TARGET.md: Sprint 36 COMPLETE, Sprint 37 IN PROGRESS
- Update PRACTICES.md v2.2: UI/UX v2.0, governance hierarchy, data pipeline
- Update TODO.md with Sprint 37 tasks and completion status
- Update copilot-instructions.md header for Sprint 37
Architecture Documentation: 4,902 LOC across 8 documents
Sprint Progress: 11/16 story points (69%)
Commits: 769a5ac9, 65ec6948 (previous iterations) 00:42 fix(ui): resolve broken > character and ensure coherent dark mode across all apps - Fixed double >> in base.html meta charset tag causing stray > character
- Fixed app_base.html gradient CSS Jinja2 syntax (was broken across lines)
- Removed duplicate back arrow from app_base.html gradient header
- Restored surgio.html app_config name and description values
- All 13 app templates now have consistent header_title blocks
- Dark mode support verified across all templates
Sprint 37: UI/UX Dark Theme Unification Jan 2 11:08 docs(practices): add AI assistant cross-references ✅ Enhanced PRACTICES.md with comprehensive links to copilot-instructions.md
New Section: 🤖 For AI Assistants & Code Generation
- Primary AI Reference: copilot-instructions.md (3,200+ LOC)
- Key Sections for AI Code Generation:
1. Integration Patterns (Frontend ↔ Backend ↔ Database)
2. Modularity Guidelines (Bounded contexts, base classes)
3. Domain-Specific Standards (Clinical, Financial, Logistics)
4. Future-Proofing (Versioning, feature flags, migrations)
- Architecture Documentation links (5 comprehensive guides)
Impact:
- AI assistants can navigate between architectural principles (PRACTICES.md)
and implementation details (copilot-instructions.md)
- Complete documentation loop for code generation
- Clear separation: PRACTICES.md = WHY, copilot-instructions.md = HOW
Sprint 36: 55% → 56% (+1%) 10:14 chore(platform): cleanup + best practices documentation (freed 394.7MB) ✅ Optimization Results:
- Removed 1,121 cache directories
- Deleted 55MB old backup archives
- Cleaned 26 empty directories
- Total space freed: 394.7MB
✅ Best Practices Guide:
- Created docs/BEST_PRACTICES.md (450+ LOC)
- Architecture standards (DDD, Multi-Tenancy, Event-Driven)
- Code quality (type hints, docstrings, logging)
- Testing (85%+ coverage requirements)
- Performance (4-tier caching strategy)
- Security (JWT, tenant isolation)
- Clinical compliance (CLSI, ASA, WHO, HL7)
Sprint 36: 49% → 52%