Skip to main content

Attestation

@atalanta/attestationv2026.07.29.1· 3mo agoBEHAVIORS
01README

Record first-person oaths as durable swamp data and gate workflows on assert_attested so an agent cannot skip a documented step without swearing it did the work.

02Behaviors1
@atalanta/attestationv2026.07.29.1attestation.ts

Global Arguments

ArgumentTypeDescription
name?string
fn attest(subject: string, step: string, oath: string, evidence?: string, attestedAt: string)
Record a first-person oath for a (subject, step). The act of committing a
ArgumentTypeDescription
subjectstringScope the oath is about (workflow run, week, PR, deploy id, …).
stepstringNamed checkpoint being attested (e.g. 'read-docs').
oathstringFirst-person declaration. Strong, specific wording — not a checkbox flag.
evidence?stringOptional self-proving detail (quoted line, count). Omitted when none.
attestedAtstringISO-8601 timestamp; the caller supplies it.
fn assert_attested(subject: string, step: string)
Gate: succeed only if an attestation exists for (subject, step). Throws when
ArgumentTypeDescription
subjectstringScope that must already have an oath.
stepstringCheckpoint that must already have an oath.

Resources

attestation(infinite)— One recorded oath, keyed by subject + step. Re-attesting the same key bumps the version.
03Stats
A
93 / 100
Downloads
32
Archive size
6.7 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License1/2partial

    no SPDX license declared

  • Verified public repository2/2earned
04Platforms
05Labels