Collaboration and oversight
AetherFS is built for workflows where multiple actors may participate in the same session.
Annotations
Annotation routes include:
/v1/sessions/{sessionId}/annotations/v1/sessions/{sessionId}/annotations/{annotationId}
Use annotations for durable, structured notes about a session or its content.
Good uses:
- Review comments.
- Labels.
- Workflow state.
- Explanations for proposed changes.
File locks
Collaboration routes for file locking include:
POST /v1/sessions/{sessionId}/files/lockPOST /v1/sessions/{sessionId}/files/unlockPOST /v1/sessions/{sessionId}/files/renew-lockPOST /v1/sessions/{sessionId}/files/list-locksPOST /v1/sessions/{sessionId}/files/force-unlock
Use these when multiple actors might contend for the same path and your product needs explicit coordination.
Approvals
Approval routes include:
POST /v1/sessions/{sessionId}/request-approvalPOST /v1/sessions/{sessionId}/approvals/{approvalId}/grantPOST /v1/sessions/{sessionId}/approvals/{approvalId}/deny
These routes let your product enforce explicit human or policy gates before important actions proceed.
Recommended workflow
A strong review workflow usually looks like this:
- Make or propose changes in a session.
- Record context with annotations or bus messages.
- Request approval.
- Grant or deny through the approval routes.
- Commit, export, merge, or discard based on the decision.
When to use which surface
- Use annotations for durable review metadata.
- Use file locks for concurrency control around specific paths.
- Use approvals when a workflow must pause for an explicit decision.