Refine AgentFeed UI and local workflow

This commit is contained in:
peter 2026-06-11 14:01:16 +01:00
parent 3179f832fc
commit ba9f5eb168
29 changed files with 2986 additions and 69 deletions

View file

@ -33,11 +33,28 @@ The core product principle is: agents publish content, not files. The server own
- Preserve existing planning decisions unless the user explicitly changes them.
- Avoid adding backwards-compatibility code before anything has shipped.
## Development And Deployment Workflow
- Develop and test locally in this workspace by default.
- Use the local Django commands for normal iteration: `python manage.py check`, `python manage.py migrate`, and `python manage.py runserver`.
- Run the local development server on `127.0.0.1:8001`. Port `8000` may be reserved or blocked on this workstation.
- Do not deploy to the Proxmox NUC during routine code iteration.
- Treat the NUC container as the local live/staging target. Deploy there only at explicit stable checkpoints, such as an end-of-day build.
- Before any NUC deployment, preserve `/opt/daybook/deploy/.env` and `/opt/daybook/deploy/data`.
- After any NUC deployment or configuration change, run the documented health checks and update the NUC ops knowledge base plus `planning/daybook-container-handoff.md` if takeover facts changed.
## Repository Notes
- `_archive_/` exists for retired or moved project docs and experiments that should not drive current implementation decisions.
- Current deployment/takeover details live in `planning/daybook-container-handoff.md`; canonical NUC infrastructure details live in the NUC ops repo.
## Commands
- Install dependencies: `pip install -r requirements.txt`
- Run migrations: `python manage.py migrate`
- Start dev server: `python manage.py runserver`
- Start dev server: `python manage.py runserver 127.0.0.1:8001`
- Local app URL: `http://127.0.0.1:8001/`
- Local API health check: `http://127.0.0.1:8001/api/capabilities`
- Django checks: `python manage.py check`
## API Defaults