Skip to content

The Librarian — shared resource volumes for hatchlings #18

@dahifi

Description

@dahifi

Hatchlings need access to curated reference materials without duplicating files into each workspace.

Pattern: The Librarian

  • Shared read-only volume mount per client/domain
  • Operator (Zephyr) curates and updates the collection
  • Hatchlings mount it as read-only reference material

Implementation:

  1. Convention: /share/Container/shared-resources/<client>/ on NAS
  2. hatch.sh --library <path> adds a read-only volume mount to docker-compose.yml
  3. Hatchling workspace gets a reference/ symlink or AGENTS.md instruction pointing to /library/
  4. fleet.sh shows library mounts in status output

Example docker-compose addition:

volumes:
  - ./data:/home/openclaw/.openclaw:rw
  - /share/Container/shared-resources/chc:/home/openclaw/library:ro

This solves the Todd/CHC problem: we have research and reference materials that his bot needs but should not own or modify.

Implementation notes: no separate validation report docs in PR, keep docs minimal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions