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.
Files changed (48) hide show
  1. package/AGENTS.md +18 -1
  2. package/README.md +42 -6
  3. package/dist/minimal/.aiignore +8 -8
  4. package/dist/minimal/AGENTS.md +45 -63
  5. package/dist/minimal/candidate-memory/README.md +4 -0
  6. package/dist/minimal/canonical-state.yaml +16 -14
  7. package/dist/minimal/capabilities/registry.yaml +48 -0
  8. package/dist/minimal/context-map.yaml +23 -20
  9. package/dist/minimal/decisions/README.md +4 -7
  10. package/dist/minimal/memory/INDEX.yaml +20 -0
  11. package/dist/minimal/protocol/README.yaml +9 -1
  12. package/dist/minimal/protocol/adaptive-memory.yaml +97 -0
  13. package/dist/minimal/protocol/capability-router.yaml +123 -0
  14. package/dist/minimal/protocol/context-budget.yaml +44 -0
  15. package/dist/minimal/protocol/context-compiler.yaml +24 -1
  16. package/dist/minimal/protocol/fast-path.yaml +8 -1
  17. package/dist/minimal/protocol/persistent-context.yaml +13 -3
  18. package/dist/minimal/protocol/prompt-economy.yaml +16 -8
  19. package/dist/minimal/protocol/route-packs.yaml +43 -1
  20. package/dist/minimal/protocol/router.yaml +30 -1
  21. package/dist/minimal/protocol/selective-validation.yaml +44 -0
  22. package/dist/minimal/protocol/validation-checklist.yaml +10 -1
  23. package/install-manifest.json +75 -0
  24. package/package.json +3 -1
  25. package/protocol/README.yaml +9 -1
  26. package/protocol/adaptive-memory.yaml +97 -0
  27. package/protocol/capability-router.yaml +123 -0
  28. package/protocol/context-budget.yaml +44 -0
  29. package/protocol/context-compiler.yaml +24 -1
  30. package/protocol/fast-path.yaml +8 -1
  31. package/protocol/persistent-context.yaml +13 -3
  32. package/protocol/prompt-economy.yaml +16 -8
  33. package/protocol/route-packs.yaml +43 -1
  34. package/protocol/router.yaml +30 -1
  35. package/protocol/selective-validation.yaml +44 -0
  36. package/protocol/validation-checklist.yaml +10 -1
  37. package/scripts/README.md +75 -0
  38. package/scripts/build_dist.py +12 -151
  39. package/scripts/npm_install_protocol.js +10 -161
  40. package/scripts/verify_install.py +23 -79
  41. package/templates/minimal/.aiignore +8 -0
  42. package/templates/minimal/AGENTS.md +45 -0
  43. package/templates/minimal/candidate-memory/README.md +4 -0
  44. package/templates/minimal/canonical-state.yaml +16 -0
  45. package/templates/minimal/capabilities/registry.yaml +48 -0
  46. package/templates/minimal/context-map.yaml +23 -0
  47. package/templates/minimal/decisions/README.md +4 -0
  48. 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,4 @@
1
+ # Decisions
2
+
3
+ Record confirmed project decisions with status, scope, evidence and replacement
4
+ history.
@@ -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