Objective
Implement the validator and scanner tooling required for the governed local-first agentic graph foundation.
This repo should become the practical enforcement point for the contracts defined in SourceOS-Linux/sourceos-spec.
Required commands
sourceos contract validate <file>
sourceos repo scan <path-or-repo>
sourceos estate scan
sourceos graph doctor
sourceos sync doctor
sourceos policy explain <decision.json>
Required contract support
Validate these schema families once added to sourceos-spec:
SourceOSRepoManifest
SyncEngineManifest
SourceChannelEnvelope
SourceGraphWrite
AgentCapabilityLease
PolicyDecision
AuditEvent
Scanner behavior
The scanner should report each repo as:
- compliant
- partial
- missing-manifest
- invalid-manifest
- missing-required-engine
- missing-policy-class
- missing-audit-events
M1 target repos
SourceOS-Linux/sourceos-spec
SourceOS-Linux/sourceos-devtools
SourceOS-Linux/sourceos-shell
SourceOS-Linux/TurtleTerm
SourceOS-Linux/agent-term
SourceOS-Linux/agent-machine
SourceOS-Linux/BearBrowser
SocioProphet/agent-registry
SocioProphet/policy-fabric
SocioProphet/memory-mesh
SocioProphet/prophet-workspace
SocioProphet/sociosphere
SocioProphet/meshrush
SocioProphet/sherlock
Acceptance criteria
- CLI can validate a local
.sourceos/manifest.json.
- CLI can scan a repo and report compliance gaps.
- CLI can emit machine-readable JSON and human-readable table output.
- CLI uses schemas from
sourceos-spec or a pinned local mirror of those schemas.
- CI example added for validating manifests.
Related
Objective
Implement the validator and scanner tooling required for the governed local-first agentic graph foundation.
This repo should become the practical enforcement point for the contracts defined in
SourceOS-Linux/sourceos-spec.Required commands
sourceos contract validate <file>sourceos repo scan <path-or-repo>sourceos estate scansourceos graph doctorsourceos sync doctorsourceos policy explain <decision.json>Required contract support
Validate these schema families once added to
sourceos-spec:SourceOSRepoManifestSyncEngineManifestSourceChannelEnvelopeSourceGraphWriteAgentCapabilityLeasePolicyDecisionAuditEventScanner behavior
The scanner should report each repo as:
M1 target repos
SourceOS-Linux/sourceos-specSourceOS-Linux/sourceos-devtoolsSourceOS-Linux/sourceos-shellSourceOS-Linux/TurtleTermSourceOS-Linux/agent-termSourceOS-Linux/agent-machineSourceOS-Linux/BearBrowserSocioProphet/agent-registrySocioProphet/policy-fabricSocioProphet/memory-meshSocioProphet/prophet-workspaceSocioProphet/sociosphereSocioProphet/meshrushSocioProphet/sherlockAcceptance criteria
.sourceos/manifest.json.sourceos-specor a pinned local mirror of those schemas.Related