[EPIC][symbolic-port] Private-source semantics → public symbolic expert/rule corpus #408
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#408
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
Add a reusable semantic-port pipeline to Prolog-RLM for translating authorized private/reference implementations into public symbolic knowledge, expert contracts, rules, plans, verification predicates and synthetic conformance fixtures without requiring publication of the original private source.
Initial consumer:
lost-rob0t/hackmode#190— public ZeroForge symbolic port into Hackmode/Hackpert.This epic is not about bundling ZeroForge or any private product into
prolog-rlm. It is about making the reusable private/reference semantics → typed public symbolic representation workflow first-class.Authorization / publication model
The operator has explicitly authorized using their private ZeroForge repository as reference material for a public symbolic reimplementation in Hackmode.
The reusable Prolog-RLM mechanism should enforce a distinction between:
Authorization to derive and publish the public symbolic implementation does not imply automatic publication of verbatim source, history, credentials, private target data or unrelated proprietary artifacts.
Relationship to existing architecture
Reuse:
Do not create a second expert runtime, second parser/runtime authority, or a special ZeroForge execution engine.
Core capability: semantic extraction
Given authorized reference material such as source, design notes, logs, examples, transcripts, tests or behavioral observations, produce candidate symbolic artifacts such as:
Exact schemas follow the expert/spec/plan systems being implemented under #376 and related issues.
The important requirement is that the output represents semantics, not merely chunks of copied natural-language/source text.
Public-port artifact classes
Support explicit classifications equivalent to:
Each artifact carries provenance sufficient to audit derivation while allowing private source locators/details to remain non-public when needed.
Provenance boundary
Internally, an authorized migration run may retain private references/digests/locators needed for review.
A public projection must be able to strip/redact private-only provenance while retaining safe metadata such as:
Do not require publishing private filenames, source lines, commit history or repository URLs to make the public artifact usable.
Extraction pipeline
Target bounded workflow:
Use deterministic extraction/parsing where possible. An LLM may assist semantic normalization, but model output is candidate data and must be validated before becoming trusted symbolic knowledge.
Write-once / append-oriented history
For accepted public symbolic knowledge, preserve append-oriented provenance/history rather than silently rewriting the meaning of an accepted rule.
When a semantic rule changes materially:
Projection/runtime policy can choose the current active version.
This should integrate with the broader symbolic knowledge/memory direction rather than turn Git history into the only semantic provenance mechanism.
Behavioral parity, not source parity
The porting objective is:
not:
A public reimplementation may deliberately improve the architecture by translating opaque procedural behavior into explicit rules, constraints, expert contracts and verification predicates.
Conformance fixtures
Every migrated semantic family should have public/synthetic evidence proving behavior without private data.
Fixtures may encode:
Private production examples may inform fixture construction but must not leak target/secrets/private payloads into public test data.
Public projection gate
Before an artifact is classified publishable, verify at minimum:
Return structured
blocked/review_requiredrather than silently publishing questionable artifacts.ZeroForge / Hackmode first consumer
For
lost-rob0t/hackmode#190, this pipeline should support translating useful ZeroForge concepts into public representations such as:Concrete cyber actions remain Hackmode capabilities and stay downstream.
Acceptance
Non-goals
call/1terms.First slice
Implement a minimal semantic-port record + public projection + conformance fixture around a synthetic private-reference example. Then use the same contract for the first authorized ZeroForge-derived behavior selected by
hackmode#190.First concrete public-port consumer expanded
The ZeroForge migration now has an explicit private-source authorization record at
lost-rob0t/zero-forge#147and a public Hackmode artifact-generation epic atlost-rob0t/hackmode#191.The semantic-port pipeline should therefore treat artifact-generation semantics as a first-class proving case, including applicability rules, artifact contracts/IR, validators, repair rules, and synthetic conformance fixtures for:
Reusable typed artifact synthesis/validation/repair machinery is tracked in #391.