Skip to content
1 viewer
View

Goal reference

0 pages, 8 routes, 8 connections and 8 CLI commands, generated from the declarations of Goal without reading storage or running anything.

AboutCode

Code · 0 files

No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.

Connections · 8

Goal.Abandon

Mark a goal Abandoned. Distinguished from Achieved for honesty — abandonment is a real signal too.

Goal.Abandon input
FieldTypeRequiredDescriptionAllowed
goal_idrequired
1 row
Calls and output

Goal.Achieve

Mark a goal Achieved. Fires the `goal.achieve.v1` manifold contract through the chokepoint, which mints 1 unit of the achievement credential to the agent.

Goal.Achieve input
FieldTypeRequiredDescriptionAllowed
goal_idrequired
1 row
Calls and output

Goal.Get

Fetch one Goal by id.

Goal.Get input
FieldTypeRequiredDescriptionAllowed
goal_idrequired
1 row
Calls and output

Goal.List

List Goals with optional account / status / active_only filters.

Calls and output

Goal.ListVisible

List goals visible to the actor — own goals plus consent-shared cross-account goals. The substrate for emergent shared values via Visibility consent.

Goal.ListVisible input
FieldTypeRequiredDescriptionAllowed
actorrequired
1 row
Calls and output

Goal.Score

Rank candidate actions by alignment to the actor's active goals. Per-goal weighted-sum scoring; supports cross-account goal pooling.

Calls and output

Goal.Set

Set a new signed goal — a self-direction claim with weight + tags. One `Goal` vertex per call, namespaced under `cre8/agent/{account_id}/goals`.

Goal.Set input
FieldTypeRequiredDescriptionAllowed
account_idrequired
statementrequired
2 rows
Calls and output

Goal.Update

Patch fields on an existing goal (statement / weight / status / tags). Drops the signature pair on any change (re-sign required).

Goal.Update input
FieldTypeRequiredDescriptionAllowed
goal_idrequired
1 row
Calls and output

CLI commands · 8

goal abandon

Mark goal as Abandoned — distinguished from Achieved for honesty

goal abandon {"goal_id":"goal-..."}

goal achieve

Mark goal as Achieved (self-attested in v1; peer-validated when validation primitive ships)

goal achieve {"goal_id":"goal-..."}

goal get

Fetch one goal by id

goal get {"goal_id":"goal-..."}

goal list

List goals with optional account / status / active_only filters

goal list
goal list
goal list {"account_filter":"alice"}
goal list {"account_filter":"alice","active_only":true}

goal list-visible

List goals the actor can see — own goals + cross-account goals under active Visibility consent. Emergent shared values via consent.

goal list-visible {"actor":"scribe","include_own":true}

goal score

Rank candidate actions by alignment to the actor's active goals (optionally including visible cross-account goals at a discounted weight).

goal score {"actor":"alice","candidates":[{"label":"task-1","text":"fix the parser"}]}
goal score {"actor":"alice","candidates":[{"label":"a","text":"do rust async work","tags":["rust"]}]}
goal score {"actor":"scribe","candidates":[{"label":"a","text":"write docs"}],"include_visible_other_goals":true}

goal set

Set a new goal — signed self-direction claim

goal set {"account_id":"alice","statement":"learn idiomatic rust error handling","weight":2.0,"tags":["rust","learning"]}

goal update

Patch fields on an existing goal (statement, weight, status, tags)

goal update {"goal_id":"goal-...","new_weight":3.0}

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authorityhyper
  • Preferred truthhyper
  • App ownerGoal
  • SQL projectionnone · DDL declarations: 0
Hyper vertex kinds read
  • AgentConsent
  • Goal
Hyper vertex kinds written
  • Goal
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • cre8/agent/{account_id}/goals/{goal_id}/achieved
Model warnings
  • No model warnings were reported.

Capabilities and dependencies

Depends on
  • Protocol
  • Agent