[EPIC][artifact-synthesis] Typed symbolic artifact generation, validation, and repair substrate #407
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/prolog-rlm#407
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Mission
Provide the reusable symbolic artifact-synthesis substrate needed by the authorized ZeroForge → Hackmode public port.
First downstream consumer:
lost-rob0t/hackmode#191.Publication/migration authority is tracked by:
lost-rob0t/hackmode#190— public ZeroForge symbolic port;lost-rob0t/zero-forge#147.This epic remains domain-neutral at the core. Cyber-specific module definitions, operation scope, execution providers and effect authority stay in Hackmode.
Problem
The expert system needs more than free-form text generation. Experts should be able to reason toward a typed artifact, produce a candidate, validate it, convert validation failures into facts, repair known failure classes, and only then return a verified artifact.
Target loop:
Relationship to first-class experts
Reuse #376 for expert registry/routing/invocation.
Expected generic expert families include:
Do not create a second expert runtime for artifacts.
Typed Artifact IR
Define a generic representation sufficient to describe generated outputs without depending on Metasploit, ZAP or Hackmode-specific semantics.
Minimum concepts:
Downstream domains may extend the IR with closed typed fields.
Symbolic contracts
Support symbolic representation of artifact logic such as:
Exact predicate names should align with #376/#387 conventions rather than create parallel vocabulary unnecessarily.
Candidate generation
Artifact production may come from:
A model-generated artifact is always a candidate until schema, policy and family validators succeed.
No model output gains execution/effect authority merely because validation passes.
Validation as evidence
Validators return typed evidence, not only booleans.
Generic result shape should capture:
These results become facts available to repair and verification experts.
Repair semantics
Known failures should prefer deterministic symbolic repair knowledge.
Example conceptual rules:
Generative repair is explicit fallback after deterministic repair cannot resolve the failure or the artifact necessarily requires generative synthesis.
Generic renderer / validator adapter contracts
Core exposes closed, typed adapter surfaces for:
Adapters do not gain ambient host authority. Host-specific actions remain capability requests through #389.
ZeroForge / Hackmode first proving families
The first downstream conformance matrix should prove that this generic substrate can support Hackmode's public ZeroForge-derived families:
The cyber schemas/renderers/validators themselves remain downstream where appropriate.
Public symbolic-port integration
This epic consumes accepted public semantic artifacts from #390.
A private/reference behavior may therefore flow:
No private repository is required at runtime after migration.
Acceptance
Non-goals
First slice
TDD a synthetic artifact family with one renderer and one validator. Prove: expert applicability -> Artifact IR -> render -> validator failure -> typed failure fact -> deterministic repair -> re-render -> pass -> final verification, with zero model calls.