Skip to content

Commit ac68dd8

Browse files
committed
Add OpsHistory contract catalog
1 parent 6fe198f commit ac68dd8

1 file changed

Lines changed: 63 additions & 0 deletions

File tree

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# OpsHistory Contract Catalog
2+
3+
Status: additive contract catalog for OpsHistory, BearHistory, local-first service manifests, operational receipts, context-pack references, and redaction tombstones.
4+
5+
This catalog supplements `schemas/README.md` and `examples/README.md` while the schema index is being normalized.
6+
7+
## Schema additions
8+
9+
| File | Type | URN prefix |
10+
| --- | --- | --- |
11+
| `OpsHistoryEvent.json` | OpsHistoryEvent | `urn:srcos:ops-history-event:` |
12+
| `OpsHistorySyncPolicy.json` | OpsHistorySyncPolicy | `urn:srcos:ops-history-sync-policy:` |
13+
| `LocalFirstServiceManifest.json` | LocalFirstServiceManifest | `urn:srcos:local-first-service:` |
14+
| `BearHistoryEvent.json` | BearHistoryEvent | `urn:srcos:bearhistory-event:` |
15+
| `BearHistorySyncPolicy.json` | BearHistorySyncPolicy | `urn:srcos:bearhistory-sync-policy:` |
16+
| `ShellReceiptEvent.json` | ShellReceiptEvent | `urn:srcos:shell-receipt-event:` |
17+
| `OpsHistoryContextPackRef.json` | OpsHistoryContextPackRef | `urn:srcos:context-pack:` |
18+
| `RedactionTombstone.json` | RedactionTombstone | `urn:srcos:redaction-tombstone:` |
19+
20+
## Example additions
21+
22+
| File | Schema type | Description |
23+
| --- | --- | --- |
24+
| `ops-history-event.json` | OpsHistoryEvent | Bounded agent handoff event with summary payload mode and policy/evidence refs. |
25+
| `ops-history-sync-policy.json` | OpsHistorySyncPolicy | Topology-aware local-first propagation policy with redaction-priority lane. |
26+
| `local-first-service-manifest.json` | LocalFirstServiceManifest | `ops-historyd` user service manifest with D-Bus endpoints, durable store, subscription posture, and redaction priority. |
27+
| `bearhistory-event.json` | BearHistoryEvent | BearBrowser agent-runtime navigation metadata with profile-boundary assertions. |
28+
| `bearhistory-sync-policy.json` | BearHistorySyncPolicy | Human-secure deny-by-default and agent-runtime policy-gated browser sync/export posture. |
29+
| `shell-receipt-event.json` | ShellReceiptEvent | Metadata-only operational receipt with content capture disabled by default. |
30+
| `ops-history-context-pack-ref.json` | OpsHistoryContextPackRef | Bounded context-pack reference for Memory Mesh and AgentPlane handoff. |
31+
| `redaction-tombstone.json` | RedactionTombstone | Critical-priority invalidation object for context, memory, artifact, and replica cleanup. |
32+
33+
## Validation
34+
35+
Run:
36+
37+
```bash
38+
make validate-ops-history-examples
39+
```
40+
41+
or:
42+
43+
```bash
44+
python3 tools/validate_ops_history_examples.py
45+
```
46+
47+
The root `make validate` target includes the OpsHistory validator.
48+
49+
## Consumer repos
50+
51+
The intended first consumers are:
52+
53+
- `SourceOS-Linux/agent-term`
54+
- `SourceOS-Linux/BearBrowser`
55+
- `SourceOS-Linux/sourceos-shell`
56+
- `SocioProphet/memory-mesh`
57+
- `SocioProphet/policy-fabric`
58+
- `SocioProphet/agent-registry`
59+
- `SocioProphet/agentplane`
60+
61+
## Contract discipline
62+
63+
These contracts are safe-default scaffolds. They do not authorize live sync, browser export, memory writeback, bridge/export, artifact exposure, or agent context hydration by themselves. Those actions require Policy Fabric decisions and Agent Registry authority.

0 commit comments

Comments
 (0)