Skip to content
1 viewer
View

Association reference

3 pages, 6 routes, 6 connections and 5 CLI commands, generated from the declarations of Association 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.

Pages · 5

Declared views
PageView idRoleRouteOrderParentEntityNavigation
Associationassociation.detaildetail/view/association/{association_id}0association.listAssociationhidden
Listassociation.listlist/view/association/list0Associationin navigation
Validationassociation.validation.detaildetail/view/association/validation/{validation_id}0association.validation.listValidationhidden
Validationsassociation.validation.listlist/view/association/validation/list30Validationin navigation
Createassociation.validation.createeditor/view/association/validation/create80association.validation.listValidationin navigation
5 rows

Connections · 6

Association.Get

Fetch one Association by id.

Association.Get input
FieldTypeRequiredDescriptionAllowed
association_idrequired
1 row
Calls and output

Association.ListBySubject

List Associations on a (subject_kind, subject_id) — typically 0 or 1.

Association.ListBySubject input
FieldTypeRequiredDescriptionAllowed
subject_kindrequired
subject_idrequired
2 rows
Calls and output

Validation.Attest

One peer attests another peer's claim. Persists a signed Validation vertex, fires `validation.attest.v1` (mints the validator credential), then re-evaluates the subject's pool against threshold — if a fresh Association forms, fires `association.formed.v1` (mints rep to the subject owner) and, for Accepted consensus, `work.accepted.credit.v1` (mints spendable cre8/quota to the subject owner — the earn side). Single call closes the consensus loop end to end.

Validation.Attest input
FieldTypeRequiredDescriptionAllowed
attestor_account_idrequired
subject_kindrequired
subject_idrequired
subject_owner_account_idrequired
verdictrequired
5 rows
Calls and output

Validation.Get

Fetch one Validation by id.

Validation.Get input
FieldTypeRequiredDescriptionAllowed
validation_idrequired
1 row
Calls and output

Validation.ListBySubject

List Validations targeting a (subject_kind, subject_id) pair. Inspect who has attested + how close to threshold.

Validation.ListBySubject input
FieldTypeRequiredDescriptionAllowed
subject_kindrequired
subject_idrequired
2 rows
Calls and output

Validation.Witness

Endorse verb face — verb-style dispatch over the existing Validation/Association multi-truth primitive. Two actions: `attest` passes through to the typed commit path (writes a signed Validation vertex, fires the consensus loop), and `value_at` runs a hypothetical attestation through the engine and reports aggregated emissions without committing. Mirrors the shape of `Time.Witness` and `Manufacture.Mint` so the seven-verb economy's verbs all surface under one consistent action-dispatch convention.

Validation.Witness input
FieldTypeRequiredDescriptionAllowed
actionrequired
attestor_account_idoptional
2 rows
Calls and output
  • Output keyassociation.result
  • Classificationreal
  • POST /validation/witnessHTTP route

CLI commands · 5

association get

Fetch one Association by id

association get {"association_id":"assoc-..."}

association list

List Associations targeting a specific subject (typically 0 or 1)

association list {"subject_kind":"TimeEntry","subject_id":"te-1"}

validation attest

Attest another peer's claim — fires the consensus loop. verdict = accept | reject | amend (amend requires amend_suggestion).

validation attest {"attestor_account_id":"scribe","subject_kind":"TimeEntry","subject_id":"te-1","subject_owner_account_id":"alice","verdict":"accept","tags":["writing"]}
validation attest {"attestor_account_id":"bob","subject_kind":"TimeEntry","subject_id":"te-1","subject_owner_account_id":"alice","verdict":"accept","tags":["writing"]}
validation attest {"attestor_account_id":"carol","subject_kind":"Goal","subject_id":"goal-x","subject_owner_account_id":"alice","verdict":"amend","amend_suggestion":"narrow scope","rationale":"too broad as stated"}

validation get

Fetch one Validation by id

validation get {"validation_id":"val-..."}

validation list

List Validations targeting a specific subject

validation list {"subject_kind":"TimeEntry","subject_id":"te-1"}

Schema and data model

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

Declared storage
Hyper vertex kinds read
Hyper vertex kinds written
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • cre8/peer/{attestor_account_id}/validations/attested
  • cre8/peer/{subject_owner_account_id}/rep/{primary_tag}
  • cre8/quota
Model warnings
  • No model warnings were reported.

Capabilities and dependencies

Depends on
  • Protocol
  • Manifold
  • Agent

Structure review · 1

Warnings · 1