Machine-Writable Entry Points
Marker Block Specification
Machine-writable files use marker blocks to delineate tool-managed regions.
Core rules:
- •Each file must have exactly one pair of BEGIN/END markers.
- •The literal marker strings must appear only as standalone marker lines.
- •Content between markers is tool-owned: no manual edits.
- •Content outside markers is human-owned and preserved.
- •Tools replace the entire block atomically.
ABILITY.md Marker Block
markdown
```markdown
<!-- BEGIN ABILITY_INDEX -->
```yaml
high_level_abilities:
- id: <ability_id>
name: <human_readable_name>
type: workflow | agent
summary: >
One-line description of the ability.
registry_path: /.system/registry/high-level/<ability_id>.yaml
low_level_abilities:
- operation_key: <operation_key>
kind: script | api | mcp
summary: >
One-line description of the operation.
registry_path: /.system/registry/low-level/<operation_key>.yaml
```
<!-- END ABILITY_INDEX -->
```
Inclusion and ordering:
- •Entries are generated from registries under /.system/registry/high-level/ and /.system/registry/low-level/.
- •Inclusion is controlled by
entrypointson registry entries (repo-root absolute ABILITY catalog root paths); an entry appears in<entrypoint>/ABILITY.mdiff<entrypoint>is listed inentrypoints. - •Ordering: stable sort high-level by id, low-level by operation_key.
Tool Ownership Contract
| Aspect | Specification |
|---|---|
| Write method | Full block replacement (atomic) |
| Read method | Parse YAML between markers |
| Validation | Tool validates schema before write |
| Conflict handling | Tool overwrites; manual edits are lost |
| Idempotency | Same input produces identical output |
CI Validation
CI pipelines should validate:
- •Structural integrity: exactly one BEGIN/END pair per file.
- •YAML validity: content between markers is valid YAML.
- •Reference integrity: all
registry_pathvalues point to existing files. - •Path format: all paths are repo-root absolute (begin with /).