Repository navigation
v1.5.1 — the organization dreams in one place
1.5.1 — the organization dreams in one place
Decision: the personal layer belongs to the products themselves (Claude Code's and Codex's own memory passes keep each machine's notes; AMH reads what they produce). AMH does the organization layer only, and it runs in one place.
Hub
- New setting
dream_devices: the devices allowed to runamh-native dream --publishand upload the organization wiki. Set it on the admin page under 「组织做梦」 (device IDs are now shown in the device table) or withPOST /native/v1/admin/settings. Empty means nobody, which is where a fresh Hub starts. POST /native/v1/assetsrefuses wiki pages (productamh) from any other device with409 dream_not_designated; a tombstone from the owning device is still accepted, so a wiki can always be withdrawn.- New
POST /native/v1/dream/lease(status/acquire/release): one dreaming lease per organization, renewable, returned when done, lapsing on its own after four hours (six at most). New additive tabledream_leases; health listsdream-lease-v1.
Client
- A publishing pass takes the lease before it reads a document or calls a model and gives it back when done. Refused, it records
not_designated,lease_heldorhub_too_oldwith a plain message and does nothing else. amh-native dream --schedule onasks the Hub first and installs nothing on a machine the Hub would refuse.- A review-only pass needs no lease and reports where the device stands.
- Requests the Hub refuses outright (HTTP 4xx) are no longer retried.
Upgrade notes
- Hubs:
hub.sh --version 1.5.1; no data migration, rollback needs no database restore. After upgrading, designate the dreaming device indream_devices. - Clients:
amh-native update --now. A client on 1.5.1 against a Hub below 1.5.1 reportshub_too_oldfor--publishand keeps everything else working.
Docs: docs/native-memory/dreaming.zh.md, docs/native-memory/operations.zh.md.