Skip to content

docs: Fix critical accuracy issues and improve cross-references#568

Merged
filthyrake merged 1 commit intodevfrom
fix/docs-comprehensive-review-fixes
Feb 7, 2026
Merged

docs: Fix critical accuracy issues and improve cross-references#568
filthyrake merged 1 commit intodevfrom
fix/docs-comprehensive-review-fixes

Conversation

@filthyrake
Copy link
Owner

Summary

Comprehensive documentation review identified 20+ issues across 13 doc files. This PR addresses the most impactful findings — critical accuracy errors that would cause functional failures for users following the docs, plus important consistency and navigation improvements.

Critical Fixes (would cause user failures)

  • API.md: Worker API auth header X-API-KeyX-Worker-API-Key (workers would get 401s)
  • CONFIGURATION.md + ARCHITECTURE.md: Webhook event names fixed to match actual WebhookEventType enum (6 wrong names: video.processing, video.purged, transcription.complete, transcription.failed, worker.connected, worker.disconnected)
  • CONFIGURATION.md: Database URL default removed incorrect vlog_password (actual default has no password)
  • CONFIGURATION.md: API key hashing corrected from "SHA-256" to "argon2id"
  • CONFIGURATION.md + API.md: Removed nonexistent download endpoints (/download?quality=, /download?original=true)
  • CONFIGURATION.md: Settings API paths corrected to match actual routes (/api/v1/settings/key/{key}, seed-from-env, POST for export)
  • API.md: Worker health check path → /api/v1/health, sprite endpoint → /sprites/generate

Important Fixes

  • CONFIGURATION.md: Wrong defaults — TAR timeout (300→600), worker offline threshold (2→5 min)
  • CONFIGURATION.md: Replaced nonexistent VLOG_WORKER_JOB_TIMEOUT with actual VLOG_WORKER_CLAIM_DURATION
  • AUTHENTICATION.md: Fixed env var VLOG_REFRESH_TOKEN_EXPIRY_DAYSVLOG_REFRESH_EXPIRY_DAYS
  • README.md: Updated auth section from deprecated single-secret to multi-user RBAC
  • DEPLOYMENT.md + UPGRADING.md: Replaced hardcoded /home/damen/vlog with /path/to/vlog

Navigation & Cross-References

  • Created docs/README.md as documentation hub organized by audience (admin/devops/developer)
  • Added "Related Documentation" cross-reference sections to DATABASE.md, AUTHENTICATION.md, TROUBLESHOOTING.md
  • Added internal doc notice to ISSUE_478_STREAMING_UPLOAD_PROGRESS.md

Test plan

  • Verify all internal doc links resolve correctly
  • Spot-check corrected values against config.py, worker_auth.py, schemas.py
  • Confirm webhook event names match WebhookEventType enum in api/schemas.py
  • Verify settings API paths match routes in api/admin.py

🤖 Generated with Claude Code

Address findings from comprehensive documentation review:

Critical fixes:
- Fix Worker API auth header name: X-API-Key -> X-Worker-API-Key (API.md)
- Fix webhook event names to match WebhookEventType enum across
  CONFIGURATION.md and ARCHITECTURE.md
- Fix database URL default: remove incorrect vlog_password (CONFIGURATION.md)
- Fix API key hashing: SHA-256 -> argon2id (CONFIGURATION.md)
- Remove nonexistent download endpoints (CONFIGURATION.md, API.md)
- Fix settings API paths to match actual routes (CONFIGURATION.md)
- Fix worker health check path to /api/v1/health (API.md)
- Fix sprite generation endpoint path (API.md)

Important fixes:
- Fix TAR extraction timeout default: 300 -> 600 (CONFIGURATION.md)
- Fix worker offline threshold default: 2 -> 5 (CONFIGURATION.md)
- Replace nonexistent VLOG_WORKER_JOB_TIMEOUT with VLOG_WORKER_CLAIM_DURATION
- Fix refresh token env var name in AUTHENTICATION.md
- Update README.md auth section to feature multi-user auth + RBAC
- Replace hardcoded /home/damen/vlog paths with /path/to/vlog

Medium fixes:
- Add docs/README.md navigation hub organized by audience
- Add cross-reference sections to DATABASE.md, AUTHENTICATION.md,
  TROUBLESHOOTING.md
- Add internal doc notice to ISSUE_478_STREAMING_UPLOAD_PROGRESS.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@filthyrake filthyrake merged commit ecff0f1 into dev Feb 7, 2026
2 of 3 checks passed
@filthyrake filthyrake deleted the fix/docs-comprehensive-review-fixes branch February 7, 2026 15:19
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.

1 participant

Comments