3.4 KiB
3.4 KiB
AtoCore Project Registration Policy
Purpose
This document defines the normal path for adding a new project to AtoCore and for safely updating an existing registration later.
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
Updating a project means:
- aliases can be corrected or expanded
- the short registry description can be improved
- ingest roots can be adjusted deliberately
- the canonical project id remains stable
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
- inspect the expected shape with:
GET /projects/template- or
atocore.sh project-template
- preview the entry without mutating state:
POST /projects/proposal- or
atocore.sh propose-project ...
- register the approved entry:
POST /projects/register- or
atocore.sh register-project ...
- 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
For an existing registered project:
- inspect the current entry with:
GET /projects- or
atocore.sh projects
- update the registration if aliases, description, or roots need refinement:
PUT /projects/{id}
- verify the updated entry
- refresh the project again
- verify retrieval and context quality did not regress
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
Other lifecycle endpoints:
POST /projects/proposalPOST /projects/registerPUT /projects/{id}POST /projects/{id}/refresh