@axiastudio/aioc 0.1.0-beta.4 → 0.1.0-beta.6
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/README.md +42 -7
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
AIOC is a governance-first SDK for LLM agents: models can propose actions, while deterministic policies and runtime controls enforce decisions.
|
|
4
4
|
It provides default-deny gates for tools and handoffs, end-to-end auditability (run records, prompt snapshots, request fingerprints), and a foundation for verifiable iteration on prompts and policies.
|
|
5
|
-
AIOC is designed for enterprise and public-sector contexts with privacy-by-design and AI Act-
|
|
5
|
+
AIOC is designed for enterprise and public-sector contexts with privacy-by-design and high-accountability (AI Act-style) governance requirements.
|
|
6
6
|
|
|
7
|
-
Project home: [https://github.com/axiastudio/aioc](https://github.com/axiastudio/aioc)
|
|
7
|
+
Project home and documentation: [https://github.com/axiastudio/aioc](https://github.com/axiastudio/aioc)
|
|
8
8
|
|
|
9
9
|
## Release Status
|
|
10
10
|
|
|
@@ -15,6 +15,18 @@ Breaking changes may occur before a stable release.
|
|
|
15
15
|
- Alpha contract (historical): `docs/ALPHA-CONTRACT.md`
|
|
16
16
|
- Privacy baseline: `docs/PRIVACY-BASELINE.md`
|
|
17
17
|
|
|
18
|
+
## Documentation Site
|
|
19
|
+
|
|
20
|
+
This repository also contains `aioc-docs`, a Starlight documentation app:
|
|
21
|
+
|
|
22
|
+
- app path: `apps/aioc-docs`
|
|
23
|
+
- source of truth for normative documents: `docs/`
|
|
24
|
+
- GitHub Pages target: `https://axiastudio.github.io/aioc/`
|
|
25
|
+
- start locally: `npm run docs:dev`
|
|
26
|
+
- build statically: `npm run docs:build`
|
|
27
|
+
|
|
28
|
+
The root `docs:*` commands intentionally invoke the app from inside `apps/aioc-docs` so it can use its own Node toolchain.
|
|
29
|
+
|
|
18
30
|
## Contact
|
|
19
31
|
|
|
20
32
|
If you want to collaborate or provide feedback, write to `tiziano.lattisi@axia.studio`.
|
|
@@ -156,6 +168,21 @@ console.log(replay.replayStats);
|
|
|
156
168
|
|
|
157
169
|
`replayFromRunRecord(...)` does not bypass policy enforcement: in `strict` and `hybrid`, provide `runOptions.policies` when tool/handoff execution must be authorized.
|
|
158
170
|
|
|
171
|
+
## Reference UI Example
|
|
172
|
+
|
|
173
|
+
This repository also contains `aioc-inspect`, a private reference example UI for visual `RunRecord` analysis:
|
|
174
|
+
|
|
175
|
+
- path: `apps/aioc-inspect`
|
|
176
|
+
- public sample files: `apps/aioc-inspect/public/samples`
|
|
177
|
+
- regenerate samples: `npm run inspect:samples`
|
|
178
|
+
- purpose: show one possible way to inspect, navigate, and compare `RunRecord` artifacts visually
|
|
179
|
+
- scope: experimental, stateless, session-only
|
|
180
|
+
- positioning: example application for implementors, not a hosted service or production console
|
|
181
|
+
|
|
182
|
+
`aioc-inspect` exists to demonstrate the value of the `RunRecord` contract. It should be read as one possible interpretation of the data model, not as the only intended UI for `aioc`.
|
|
183
|
+
|
|
184
|
+

|
|
185
|
+
|
|
159
186
|
## Examples
|
|
160
187
|
|
|
161
188
|
| Command | Purpose | Needs API key |
|
|
@@ -192,14 +219,22 @@ AIOC adopts the following non-negotiable principles:
|
|
|
192
219
|
- **Bias and misalignment control**: continuous monitoring, dedicated tests, and clear mitigation/escalation mechanisms.
|
|
193
220
|
- **Privacy by design and data minimization**: collect and process only what is strictly necessary, protect sensitive data by default (redaction, encryption, retention limits), and provide auditable controls for access and deletion.
|
|
194
221
|
|
|
195
|
-
## Governance
|
|
222
|
+
## Current Governance Documents
|
|
223
|
+
|
|
224
|
+
- `docs/RFC-0001-governance-first-runtime.md` (`Accepted`)
|
|
225
|
+
- `docs/RFC-0002-policy-gates-for-tools-and-handoffs.md` (`Accepted`)
|
|
226
|
+
- `docs/RFC-0003-run-record-audit-trail-and-persistence.md` (`Accepted`)
|
|
227
|
+
- `docs/RFC-0004-policy-outcomes-and-approval-model.md` (`Draft`)
|
|
228
|
+
- `docs/RFC-0005-suspended-proposals-and-approval-lifecycle.md` (`Draft`)
|
|
229
|
+
- `docs/PRIVACY-BASELINE.md`
|
|
230
|
+
|
|
231
|
+
## Historical Snapshots
|
|
196
232
|
|
|
197
|
-
- `docs/RFC-0001-governance-first-runtime.md`
|
|
198
|
-
- `docs/RFC-0002-policy-gates-for-tools-and-handoffs.md`
|
|
199
|
-
- `docs/RFC-0003-run-record-audit-trail-and-persistence.md`
|
|
200
233
|
- `docs/ALPHA-CONTRACT.md`
|
|
201
234
|
- `docs/BETA-CONTRACT.md`
|
|
202
|
-
- `docs/
|
|
235
|
+
- `docs/BETA-CONTRACT-AUDIT.md`
|
|
236
|
+
- `docs/P0-TRIAGE.md`
|
|
237
|
+
- `docs/PRIVACY-ADOPTION.md`
|
|
203
238
|
|
|
204
239
|
## License
|
|
205
240
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axiastudio/aioc",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.6",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -25,6 +25,11 @@
|
|
|
25
25
|
"example:rru:03-replay-strict": "tsx src/examples/run-record-utils-minimal/03-replay-strict.ts",
|
|
26
26
|
"example:rru:04-replay-hybrid": "tsx src/examples/run-record-utils-minimal/04-replay-hybrid.ts",
|
|
27
27
|
"example:non-regression": "tsx src/examples/non-regression/v1-v2-runrecord-diff.ts",
|
|
28
|
+
"inspect:samples": "tsx scripts/generate-aioc-inspect-samples.ts",
|
|
29
|
+
"docs:sync": "node scripts/sync-aioc-docs.mjs",
|
|
30
|
+
"docs:dev": "npm run docs:sync && cd apps/aioc-docs && zsh -lc 'npm run dev'",
|
|
31
|
+
"docs:build": "npm run docs:sync && cd apps/aioc-docs && zsh -lc 'npm run build'",
|
|
32
|
+
"docs:preview": "cd apps/aioc-docs && zsh -lc 'npm run preview'",
|
|
28
33
|
"test:mistral": "tsx src/examples/mistral-smoke.ts",
|
|
29
34
|
"prepack": "npm run build:package"
|
|
30
35
|
},
|
|
@@ -54,7 +59,7 @@
|
|
|
54
59
|
"bugs": {
|
|
55
60
|
"url": "https://github.com/axiastudio/aioc/issues"
|
|
56
61
|
},
|
|
57
|
-
"homepage": "https://github.
|
|
62
|
+
"homepage": "https://axiastudio.github.io/aioc",
|
|
58
63
|
"publishConfig": {
|
|
59
64
|
"access": "public",
|
|
60
65
|
"tag": "latest"
|