forked from agentlas-ai/Agentlas-OS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage-contract.json
More file actions
171 lines (171 loc) · 5.51 KB
/
Copy pathpackage-contract.json
File metadata and controls
171 lines (171 loc) · 5.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"schemaVersion": "1.0",
"kind": "agentlas-package-contract",
"artifacts": [
{
"path": "AGENTS.md",
"modes": ["single", "team", "package"],
"required": true,
"format": "markdown",
"fill": "generate",
"template": "templates/AGENTS.md.tpl",
"schema": null,
"minLines": 3,
"description": "Package entry: name, one-line purpose, canonical command, role list"
},
{
"path": "agent.md",
"modes": ["single", "team", "package"],
"required": true,
"format": "markdown",
"fill": "generate",
"template": "templates/agent.md.tpl",
"schema": null,
"minLines": 12,
"description": "Primary agent instructions: role, responsibilities, steps, output contract"
},
{
"path": "agentlas.json",
"modes": ["single", "team", "package"],
"required": true,
"format": "json",
"fill": "fill",
"template": "templates/agentlas.json.tpl",
"schema": "schemas/agentlas-manifest.schema.json",
"description": "Package manifest: permissions, memory policy, read allow/deny lists"
},
{
"path": ".agentlas/agent-card.json",
"modes": ["single", "team", "package"],
"required": true,
"format": "json",
"fill": "fill",
"template": "templates/agent-card.json.tpl",
"schema": "schemas/agent-card.schema.json",
"description": "Identity card: name, slug, summary, verb_object capabilities, entrypoints"
},
{
"path": ".agentlas/routing-card.json",
"modes": ["single", "team", "package"],
"required": true,
"format": "json",
"fill": "fill",
"template": "templates/routing-card.json.tpl",
"schema": "schemas/routing-card.schema.json",
"lint": "routing-card",
"description": "Routing card: >=5 triggers (>=2 ko, >=2 en), >=3 anti-triggers, risk profile, entrypoints, memory behavior — no card, no auto-routing"
},
{
"path": ".agentlas/memory-map.json",
"modes": ["single", "team", "package"],
"required": true,
"format": "json",
"fill": "fill",
"template": "templates/memory-map.json.tpl",
"schema": "schemas/memory-map.schema.json",
"description": "Memory ownership map"
},
{
"path": ".agentlas/global-commands.json",
"modes": ["single", "team", "package"],
"required": true,
"format": "json",
"fill": "fill",
"template": "templates/global-commands.json.tpl",
"schema": "schemas/global-commands.schema.json",
"description": "Per-runtime slash command adapters"
},
{
"path": ".agentlas/mcp-policy.json",
"modes": ["single", "team", "package"],
"required": true,
"format": "json",
"fill": "fill",
"template": "templates/mcp-policy.json.tpl",
"schema": "schemas/mcp-policy.schema.json",
"description": "MCP tool allowlist and resolution order"
},
{
"path": ".agentlas/skill-registry.json",
"modes": ["single", "team", "package"],
"required": true,
"format": "json",
"fill": "fill",
"template": "templates/skill-registry.json.tpl",
"schema": "schemas/skill-registry.schema.json",
"description": "Skill registry (empty list allowed)"
},
{
"path": ".agentlas/capability-eval-plan.json",
"modes": ["single", "team", "package"],
"required": true,
"format": "json",
"fill": "fill",
"template": "templates/capability-eval-plan.json.tpl",
"schema": null,
"description": "Positive/negative eval prompts with pass criteria"
},
{
"path": ".agentlas/work-brief.json",
"modes": ["single", "team", "package"],
"required": true,
"format": "json",
"fill": "generate",
"template": null,
"schema": null,
"description": "Interview-derived work brief: goal, constraints, decisions"
},
{
"path": "docs/builder-interview.md",
"modes": ["single", "team", "package"],
"required": true,
"format": "markdown",
"fill": "generate",
"template": "templates/builder-interview.md.tpl",
"schema": null,
"minLines": 3,
"description": "Interview summary that grounded this package"
},
{
"path": "docs/research-sources.md",
"modes": ["single", "team", "package"],
"required": true,
"format": "markdown",
"fill": "generate",
"template": "templates/research-sources.md.tpl",
"schema": null,
"minLines": 2,
"description": "Sources consulted during build research"
},
{
"path": ".agentlas/company-blueprint.json",
"modes": ["team"],
"required": true,
"format": "json",
"fill": "fill",
"template": "templates/company-blueprint.json.tpl",
"schema": "schemas/company-blueprint.schema.json",
"description": "Team topology: orchestrator, nodes, edges"
},
{
"path": ".agentlas/sitemap.json",
"modes": ["team"],
"required": true,
"format": "json",
"fill": "fill",
"template": "templates/sitemap.json.tpl",
"schema": "schemas/sitemap.schema.json",
"description": "Task flow: produces/consumes graph"
},
{
"path": ".agentlas/super-ontology-contract.json",
"modes": ["single", "team", "package"],
"required": false,
"format": "json",
"fill": "static",
"template": "templates/super-ontology-contract.json.tpl",
"schema": null,
"description": "Governance contract seed (copied verbatim; export_only)"
}
]
}