Skip to content

[PLUGIN] Add optional Telos goal-representation module (lib_telos_goals.metta)#218

Open
arielagor wants to merge 1 commit into
asi-alliance:mainfrom
arielagor:add-telos-goal-module
Open

[PLUGIN] Add optional Telos goal-representation module (lib_telos_goals.metta)#218
arielagor wants to merge 1 commit into
asi-alliance:mainfrom
arielagor:add-telos-goal-module

Conversation

@arielagor

Copy link
Copy Markdown

What

Adds lib_telos_goals.metta — an optional, opt-in goal-representation module for OmegaClaw — plus a short usage doc. Additive only; no changes to the core.

Why

OmegaClaw is goal-autonomous, but the public core has no dedicated, inspectable model of what the goals arerun.metta and lib_omegaclaw.metta contain no goal token. Goal misunderstanding (pursuing the literal request while missing the real goal; serving one person while externalising cost onto the group; chasing an abandoned goal) is where an autonomous agent is most dangerous, and it is rarely represented or measured.

What's in it

  • A small goal graph in OmegaClaw's idiom: (goal id scope owner status) + (rel type src dst) atoms.
  • Parameterized derivation rules: conflicts, collective goals, goals-of-owner, blocked-on-dependency, individual↔collective alignment, and a combined telos-reading.
  • Side-effect-free on load (no queries run at import); opt-in via !(import! &self (library OmegaClaw-Core lib_telos_goals)).

Verified

Loads on the standalone Hyperon interpreter and in a live OmegaClaw (PeTTa) runtime — the conflict rule derives (conflict-between alice-train dao-fair-access) inside the running agent's AtomSpace.

Measuring it

Paired with a 14-scenario / 7-category goal-understanding benchmark that can score OmegaClaw or any agent: https://github.com/arielagor/telos (MIT, same licence). Contributed from the BGI Sprint I project "Telos".

Happy to adjust naming/placement to fit your conventions.

🤖 Disclosure: authored with Claude Code — Telos is an openly AI-built submission under human oversight.

OmegaClaw is goal-autonomous but the core ships no dedicated goal model
(no `goal` token in run.metta / lib_omegaclaw.metta). This adds an opt-in,
side-effect-free MeTTa module: a goal/rel schema + parameterized rules for
conflicts, collective goals, blocking, and individual<->collective alignment.
Verified to load + derive on Hyperon and in a live OmegaClaw (PeTTa) runtime.
Paired with a 14-scenario goal-understanding benchmark (github.com/arielagor/telos).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@arielagor

Copy link
Copy Markdown
Author

Quick verification context for reviewers:

  • Runs in OmegaClaw's own MeTTa engine, not just Hyperon. I ran the module's named rules through sh run.sh in singularitynet/omegaclaw:latest (PeTTa / SWI-Prolog). They derive:
    (conflict-between alice-train dao-fair-access)   ; telos-conflicts
    (collective-goal dao-fair-access dao)            ; telos-collective-goals
    (blocked dao-fair-access on gpu-quota)           ; telos-blocked  (nested match + if)
    
    Full transcript: https://github.com/arielagor/telos/blob/main/results/omegaclaw-metta-load.log
  • Test coverage (so it can't regress): https://github.com/arielagor/telos/blob/main/tests/test_metta.py exercises each named rule on Hyperon, including the nested telos-blocked.
  • Additive only, side-effect-free on load. Happy to move the file, rename, or add an Autotests/ entry if that fits your conventions better.

@vsbogd vsbogd changed the title Add optional Telos goal-representation module (lib_telos_goals.metta) [PLUGIN] Add optional Telos goal-representation module (lib_telos_goals.metta) Jul 15, 2026
@vsbogd vsbogd added the plugin label Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants