ai-execution-protocol 0.2.1 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +18 -1
- package/README.md +42 -6
- package/dist/minimal/.aiignore +8 -8
- package/dist/minimal/AGENTS.md +45 -63
- package/dist/minimal/candidate-memory/README.md +4 -0
- package/dist/minimal/canonical-state.yaml +16 -14
- package/dist/minimal/capabilities/registry.yaml +48 -0
- package/dist/minimal/context-map.yaml +23 -20
- package/dist/minimal/decisions/README.md +4 -7
- package/dist/minimal/memory/INDEX.yaml +20 -0
- package/dist/minimal/protocol/README.yaml +9 -1
- package/dist/minimal/protocol/adaptive-memory.yaml +97 -0
- package/dist/minimal/protocol/capability-router.yaml +123 -0
- package/dist/minimal/protocol/context-budget.yaml +44 -0
- package/dist/minimal/protocol/context-compiler.yaml +24 -1
- package/dist/minimal/protocol/fast-path.yaml +8 -1
- package/dist/minimal/protocol/persistent-context.yaml +13 -3
- package/dist/minimal/protocol/prompt-economy.yaml +16 -8
- package/dist/minimal/protocol/route-packs.yaml +43 -1
- package/dist/minimal/protocol/router.yaml +30 -1
- package/dist/minimal/protocol/selective-validation.yaml +44 -0
- package/dist/minimal/protocol/validation-checklist.yaml +10 -1
- package/install-manifest.json +75 -0
- package/package.json +3 -1
- package/protocol/README.yaml +9 -1
- package/protocol/adaptive-memory.yaml +97 -0
- package/protocol/capability-router.yaml +123 -0
- package/protocol/context-budget.yaml +44 -0
- package/protocol/context-compiler.yaml +24 -1
- package/protocol/fast-path.yaml +8 -1
- package/protocol/persistent-context.yaml +13 -3
- package/protocol/prompt-economy.yaml +16 -8
- package/protocol/route-packs.yaml +43 -1
- package/protocol/router.yaml +30 -1
- package/protocol/selective-validation.yaml +44 -0
- package/protocol/validation-checklist.yaml +10 -1
- package/scripts/README.md +75 -0
- package/scripts/build_dist.py +12 -151
- package/scripts/npm_install_protocol.js +10 -161
- package/scripts/verify_install.py +23 -79
- package/templates/minimal/.aiignore +8 -0
- package/templates/minimal/AGENTS.md +45 -0
- package/templates/minimal/candidate-memory/README.md +4 -0
- package/templates/minimal/canonical-state.yaml +16 -0
- package/templates/minimal/capabilities/registry.yaml +48 -0
- package/templates/minimal/context-map.yaml +23 -0
- package/templates/minimal/decisions/README.md +4 -0
- package/templates/minimal/memory/INDEX.yaml +20 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
id: capability_registry
|
|
2
|
+
type: capability_registry
|
|
3
|
+
version: 0.3.1
|
|
4
|
+
purpose: project_capabilities_available_to_the_agent
|
|
5
|
+
policy:
|
|
6
|
+
default_available: false
|
|
7
|
+
runtime_availability_must_be_verified: true
|
|
8
|
+
capabilities:
|
|
9
|
+
- id: local_search
|
|
10
|
+
type: local_tool
|
|
11
|
+
available: true
|
|
12
|
+
tags: [code_search, file_discovery]
|
|
13
|
+
operations: [read]
|
|
14
|
+
cost: {tokens: low, latency: low}
|
|
15
|
+
side_effect: none
|
|
16
|
+
confirmation: never
|
|
17
|
+
- id: local_files
|
|
18
|
+
type: local_tool
|
|
19
|
+
available: true
|
|
20
|
+
tags: [file_read, file_write]
|
|
21
|
+
operations: [read, write]
|
|
22
|
+
cost: {tokens: low, latency: low}
|
|
23
|
+
side_effect: local_write
|
|
24
|
+
confirmation: risk_based
|
|
25
|
+
- id: focused_skill
|
|
26
|
+
type: skill
|
|
27
|
+
available: runtime
|
|
28
|
+
tags: [domain_guidance]
|
|
29
|
+
operations: [read]
|
|
30
|
+
cost: {tokens: medium, latency: low}
|
|
31
|
+
side_effect: none
|
|
32
|
+
confirmation: never
|
|
33
|
+
- id: targeted_mcp
|
|
34
|
+
type: mcp
|
|
35
|
+
available: runtime
|
|
36
|
+
tags: [external_context, remote_operation]
|
|
37
|
+
operations: [read, write]
|
|
38
|
+
cost: {tokens: medium, latency: medium}
|
|
39
|
+
side_effect: remote_write
|
|
40
|
+
confirmation: operation_based
|
|
41
|
+
- id: publish_service
|
|
42
|
+
type: remote_service
|
|
43
|
+
available: runtime
|
|
44
|
+
tags: [publish]
|
|
45
|
+
operations: [publish]
|
|
46
|
+
cost: {tokens: low, latency: medium}
|
|
47
|
+
side_effect: publish
|
|
48
|
+
confirmation: always
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
id: project_context_map
|
|
2
|
+
type: context_map
|
|
3
|
+
version: 0.3.1
|
|
4
|
+
purpose: small_index_for_progressive_context_retrieval
|
|
5
|
+
maintenance:
|
|
6
|
+
current_mode: manual_bootstrap
|
|
7
|
+
rule: aliases_are_pointers_not_truth
|
|
8
|
+
read_first:
|
|
9
|
+
- canonical-state.yaml
|
|
10
|
+
- protocol/fast-path.yaml
|
|
11
|
+
- protocol/router.yaml
|
|
12
|
+
- protocol/route-packs.yaml
|
|
13
|
+
- memory/INDEX.yaml
|
|
14
|
+
- capabilities/registry.yaml
|
|
15
|
+
domains: {}
|
|
16
|
+
retrieval_policy:
|
|
17
|
+
order:
|
|
18
|
+
- match_domain_by_alias
|
|
19
|
+
- read_matching_memory_subjects
|
|
20
|
+
- read_domain_docs_only_when_needed
|
|
21
|
+
- search_candidate_files_or_symbols
|
|
22
|
+
- read_relevant_snippet_first
|
|
23
|
+
- read_full_file_when_snippet_is_not_enough
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
id: memory_index
|
|
2
|
+
type: memory_index
|
|
3
|
+
version: 0.3.1
|
|
4
|
+
purpose: route_to_minimum_relevant_persistent_memory
|
|
5
|
+
policy:
|
|
6
|
+
- read_only_matching_subjects
|
|
7
|
+
- do_not_load_archive_by_default
|
|
8
|
+
- current_request_overrides_memory
|
|
9
|
+
- verified_files_override_stale_memory
|
|
10
|
+
entries: []
|
|
11
|
+
areas:
|
|
12
|
+
user:
|
|
13
|
+
path: memory/user/
|
|
14
|
+
projects:
|
|
15
|
+
path: memory/projects/
|
|
16
|
+
patterns:
|
|
17
|
+
path: memory/patterns/
|
|
18
|
+
archive:
|
|
19
|
+
path: memory/archive/
|
|
20
|
+
read_by_default: false
|