Add project registration endpoint
This commit is contained in:
@@ -64,15 +64,23 @@ These map to the configured Dalidou source boundaries.
|
||||
For a new project:
|
||||
|
||||
1. stage the initial source docs on Dalidou
|
||||
2. add the project entry to the registry
|
||||
3. verify the entry with:
|
||||
2. inspect the expected shape with:
|
||||
- `GET /projects/template`
|
||||
- or `atocore.sh project-template`
|
||||
3. preview the entry without mutating state:
|
||||
- `POST /projects/proposal`
|
||||
- or `atocore.sh propose-project ...`
|
||||
4. register the approved entry:
|
||||
- `POST /projects/register`
|
||||
- or `atocore.sh register-project ...`
|
||||
5. verify the entry with:
|
||||
- `GET /projects`
|
||||
- or the T420 helper `atocore.sh projects`
|
||||
4. refresh it with:
|
||||
6. refresh it with:
|
||||
- `POST /projects/{id}/refresh`
|
||||
- or `atocore.sh refresh-project <id>`
|
||||
5. verify retrieval and context quality
|
||||
6. only later promote stable facts into Trusted Project State
|
||||
7. verify retrieval and context quality
|
||||
8. only later promote stable facts into Trusted Project State
|
||||
|
||||
## What Not To Do
|
||||
|
||||
@@ -93,3 +101,9 @@ Use:
|
||||
And the API template endpoint:
|
||||
|
||||
- `GET /projects/template`
|
||||
|
||||
Other lifecycle endpoints:
|
||||
|
||||
- `POST /projects/proposal`
|
||||
- `POST /projects/register`
|
||||
- `POST /projects/{id}/refresh`
|
||||
|
||||
Reference in New Issue
Block a user