2.4 KiB
2.4 KiB
AtoCore Project Registration Policy
Purpose
This document defines the normal path for adding a new project to AtoCore.
The goal is to make register + refresh the standard workflow instead of
relying on long custom ingestion prompts every time.
What Registration Means
Registering a project does not ingest it by itself.
Registration means:
- the project gets a canonical AtoCore id
- known aliases are recorded
- the staged source roots for that project are defined
- AtoCore and OpenClaw can later refresh that project consistently
Required Fields
Each project registry entry must include:
id- stable canonical project id
- prefer lowercase kebab-case
- examples:
p04-gigabitp05-interferometerp06-polisher
aliases- short common names or abbreviations
- examples:
p05interferometer
description- short explanation of what the registered source set represents
ingest_roots- one or more staged roots under configured source layers
Allowed Source Roots
Current allowed source values are:
vaultdrive
These map to the configured Dalidou source boundaries.
Recommended Registration Rules
- Prefer one canonical project id
- Keep aliases short and practical
- Start with the smallest useful staged roots
- Prefer curated high-signal docs before broad corpora
- Keep repo context selective at first
- Avoid registering noisy or generated trees
- Use
drivefor trusted operational material when available - Use
vaultfor curated staged PKM and repo-doc snapshots
Normal Workflow
For a new project:
- stage the initial source docs on Dalidou
- add the project entry to the registry
- verify the entry with:
GET /projects- or the T420 helper
atocore.sh projects
- refresh it with:
POST /projects/{id}/refresh- or
atocore.sh refresh-project <id>
- verify retrieval and context quality
- only later promote stable facts into Trusted Project State
What Not To Do
Do not:
- register giant noisy trees blindly
- treat registration as equivalent to trusted state
- dump the full PKM by default
- rely on aliases that collide across projects
- use the live machine DB as a source root
Template
Use:
And the API template endpoint:
GET /projects/template