Align FI recurrence with activity-core + rein-aharness (drop workstation cron).
Document the three-layer model, add railiance-rhythm executor install, and point playbooks at rein-aharness fi-research-brief instead of local crontab.
This commit is contained in:
parent
70cbfe0c6c
commit
46cfcd7a51
10 changed files with 248 additions and 100 deletions
|
|
@ -74,38 +74,41 @@ full resurveys.
|
|||
|
||||
---
|
||||
|
||||
## Automation consumer
|
||||
## Automation consumer (activity-core design)
|
||||
|
||||
**Organizer:** activity-core (when / what / where) — not workstation cron.
|
||||
**Executor:** rein-aharness on railiance01 (`fi-research-brief`).
|
||||
**Org playbook:** `activity-core/docs/recurring-automations-playbook.md`.
|
||||
|
||||
When activity-core emits `activity_task_spawn` with
|
||||
`target_repo: freedom-intelligence` and labels including `research-brief`:
|
||||
|
||||
1. Checkout this repo on the execution host
|
||||
2. Run this playbook end-to-end
|
||||
3. Prefer **llm-connect / OpenRouter** for any LLM drafting (Binky lesson: do
|
||||
not install coding-agent CLIs on railiance01 solely for this)
|
||||
4. Always post `fi_daily_brief` even if the brief is “no material delta”
|
||||
5. Idempotency key: do not open a second brief file for the same `date`
|
||||
1. Railiance host timer (or manual) runs
|
||||
`rein-aharness fi-research-brief --target-repo ~/freedom-intelligence`
|
||||
2. llm-connect drafts the brief; harness commits and posts **`fi_daily_brief`**
|
||||
3. Idempotency: one brief file per date; resolver clears `due` on completion event
|
||||
|
||||
Activity definition: `activity-definitions/fi-daily-research-brief.md`
|
||||
Workplan: `workplans/FI-WP-0002-activity-core-daily-research.md`
|
||||
Resolver: activity-core state-hub query `fi_brief_status` (implemented 2026-07-24)
|
||||
Do **not** install Claude Code / Codex on railiance01 for this rhythm.
|
||||
|
||||
| Piece | Location |
|
||||
| ----- | -------- |
|
||||
| Definition | `activity-definitions/fi-daily-research-brief.md` |
|
||||
| Ops | `docs/recurrence-ops.md` |
|
||||
| Executor install | `scripts/railiance-rhythm/install-on-railiance.sh` |
|
||||
| Workplan | FI-WP-0002 (finished) |
|
||||
| Resolver | `fi_brief_status` in activity-core |
|
||||
|
||||
### Ops: load this repo’s definitions
|
||||
|
||||
Dev / workstation worker:
|
||||
|
||||
```bash
|
||||
export ACTIVITY_DEFINITION_DIRS=/home/worsch/freedom-intelligence
|
||||
# then: make sync-activity-definitions (with ACTCORE_DB_URL + stack)
|
||||
# Dev
|
||||
export ACTIVITY_DEFINITION_DIRS=.../freedom-intelligence
|
||||
make -C ~/activity-core sync-activity-definitions
|
||||
|
||||
# Production: ConfigMap actcore-external-activity-definitions
|
||||
# then POST /admin/sync?definitions=true&schedules=true
|
||||
```
|
||||
|
||||
Production (railiance): projected into ConfigMap
|
||||
`actcore-external-activity-definitions` key `fi-daily-research-brief.md`
|
||||
(**enabled 2026-08-03**; Temporal schedule weekdays 07:30 Europe/Berlin).
|
||||
|
||||
Ops runbook: `docs/recurrence-ops.md`
|
||||
Workstation due-notice cron: `scripts/consume-fi-brief-spawn.sh` (07:40 weekdays).
|
||||
|
||||
---
|
||||
|
||||
## Quality bar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue