fetch_ml/docs/src/adr
Jeremie Fraeys ea15af1833 Fix multi-user authentication and clean up debug code
- Fix YAML tags in auth config struct (json -> yaml)
- Update CLI configs to use pre-hashed API keys
- Remove double hashing in WebSocket client
- Fix port mapping (9102 -> 9103) in CLI commands
- Update permission keys to use jobs:read, jobs:create, etc.
- Clean up all debug logging from CLI and server
- All user roles now authenticate correctly:
  * Admin: Can queue jobs and see all jobs
  * Researcher: Can queue jobs and see own jobs
  * Analyst: Can see status (read-only access)

Multi-user authentication is now fully functional.
2025-12-06 12:35:32 -05:00
..
ADR-001-use-go-for-api-server.md Fix multi-user authentication and clean up debug code 2025-12-06 12:35:32 -05:00
ADR-002-use-sqlite-for-local-development.md Fix multi-user authentication and clean up debug code 2025-12-06 12:35:32 -05:00
ADR-003-use-redis-for-job-queue.md Fix multi-user authentication and clean up debug code 2025-12-06 12:35:32 -05:00
README.md Fix multi-user authentication and clean up debug code 2025-12-06 12:35:32 -05:00

Architecture Decision Records (ADRs)

This directory contains Architecture Decision Records (ADRs) for the Fetch ML project.

What are ADRs?

Architecture Decision Records are short text files that document a single architectural decision. They capture the context, options considered, decision made, and consequences of that decision.

ADR Template

Each ADR follows this structure:

# ADR-XXX: [Title]

## Status
[Proposed | Accepted | Deprecated | Superseded]

## Context
[What is the issue that we're facing that needs a decision?]

## Decision
[What is the change that we're proposing and/or doing?]

## Consequences
[What becomes easier or more difficult to do because of this change?]

## Options Considered
[What other approaches did we consider and why did we reject them?]

ADR Index

ADR Title Status
ADR-001 Use Go for API Server Accepted
ADR-002 Use SQLite for Local Development Accepted
ADR-003 Use Redis for Job Queue Accepted

How to Add a New ADR

  1. Create a new file named ADR-XXX-title.md where XXX is the next sequential number
  2. Use the template above
  3. Update this README with the new ADR in the index
  4. Submit a pull request for review

ADR Lifecycle

  • Proposed: Initial draft, under discussion
  • Accepted: Decision made and implemented
  • Deprecated: Decision no longer recommended but still in use
  • Superseded: Replaced by a newer ADR