Skip to content

Implement Prophet computational artifact runner v0 #463

@mdheller

Description

@mdheller

Context

We are absorbing the useful Collective Knowledge pattern into Prophet Platform as a governed computational knowledge plane. The platform now has docs/COMPUTATIONAL_KNOWLEDGE_PLANE.md and the first cross-repo schema/example work has started.

Goal

Implement a minimal local-safe runner that can parse a prophet-artifact.yaml contract, validate required metadata/action/provenance/policy/evidence fields, execute fixture/no-op bounded actions, and emit stable run/evidence payloads.

Scope

  • Add a parser for socioprophet.org/v1alpha1 ProphetArtifact manifests.
  • Support the standard verbs: detect, fetch, prepare, build, run, validate, benchmark, tune, publish, attest.
  • Start with no privileged mutation and fixture-safe execution only.
  • Emit:
    • run-record.json
    • checksums.json
    • validation-report.json
    • benchmark-report.json
    • sociosphere-registration.json
    • sherlock-index-payload.json
    • delivery-excellence-scoreboard-payload.json
  • Add a smoke target that runs against a fixture artifact contract.

Non-goals

  • No live infrastructure mutation.
  • No unbounded network fetch.
  • No secrets handling.
  • No cluster admission or SourceOS host mutation.

Acceptance criteria

  • make test-tools remains green.
  • A new smoke/validation command runs a fixture prophet-artifact.yaml and writes the expected evidence bundle.
  • Missing required fields fail closed with explicit messages.
  • Any action marked privileged: true fails unless explicitly permitted by a policy flag, which should not be enabled in the default smoke path.
  • Documentation links this runner to Ontogenesis, GAIA, Sociosphere, Sherlock/Holmes, Lattice Forge, and Delivery Excellence.

Suggested first files

  • tools/run_prophet_artifact.py
  • tools/validate_prophet_artifact.py
  • contracts/computational-artifacts/prophet-artifact.v1alpha1.example.yaml
  • docs/COMPUTATIONAL_KNOWLEDGE_PLANE.md

@copilot please implement this as a bounded local-safe first slice with tests and no privileged side effects.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions