Skip to content
yawn-aiPublic

About

.yawn is a plain-text filesystem for shared mental models, lived agency, proof, and replay.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

113 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.yawn

License: MIT Status: working draft

Portable contracts for agent skills, nested game rules, and accountable execution.

An adopted .yawn describes how a Yawn works: its exact skills, inherited rules, capability requirements, limits, verification and privacy. Skills supply methods; tools expose capabilities; current host authorization decides whether an effect may run. Configuration never grants its own authority.

Runtime Profile 0.1 supplies bounded declarative configuration. The additive Runtime Action host contract builds a structural operating index, projects the configuration for one action, checks trusted host snapshots, and separates document, operational and action revisions. Unsupported optional email configuration can hold sending while leaving an unrelated comparison available.

Stage Current evidence
Portable syntax and ancestry Strict 0.1 schema, bounded parser, versioned migration and tests
Rule adoption and composition Exact reviewed hashes, lifecycle replay and inherited boundaries
Action-specific host preflight Reference module, registered programs, current host callbacks and tests
Private disclosure and blockers Default-deny projection; no eligible method does not prove impossibility
Cross-host interoperability Committed language-neutral golden outputs, issue codes and digests
Bounded consuming-host integration One local Movement comparison implemented, tested and merged in YAWN.bot PR395; bounded host evidence recorded
Production enablement and live execution Hosted migration, production enablement and observed live execution remain unverified

Build one bounded path · Migrate a Skill · Read the host contract · Copy a profile

.yawn gives human and AI agents a portable way to show what they noticed, what they inferred, what remains missing, what they were authorized to do, what happened, and what evidence changed the state.

It is not a truth machine, a theory that reality is code, or permission for an agent to act. It is an accountable orientation toward part of a world no model fully contains.

Part Role
.yawn The holonic record: portable source, state, authority, proof, and revision contracts.
YAWN.bot The holonic interface and action agent: where a person observes, chooses, approves, and coordinates moves.
YAWN.ai The intelligence: it observes and processes records, preserves inference as proposal, and helps the system orient.

They are three roles around one record grammar, not three competing stores. The record can exist without either website; neither website may silently change its meaning or authority.

Why you may be here

Something may matter enough to orient around: a person, an obligation, a decision, a source of meaning, an unanswered question, or a relationship that needs care. A Yawn preserves a revisable account of that relationship: what is here, who or what is involved, what was observed, what is inferred, what is unknown, what is protected, what could happen next, and what would change the model.

The model is not reality. It is a source-attributed, correctable projection designed to be useful enough to act from and inspectable enough to revise.

Open a relationship

Dave / Christianity

The slash opens a directional View into a stable relationship record. It does not say that Dave is Christian, that Christianity contains every subject named under it, or that a source speaks with current authority. It makes a concrete question possible: from Dave's stated purpose, what sources, perspectives, boundaries, and unresolved questions are relevant now?

The public Dave / Christianity conformance model shows the first shape: a source-safe, questions-first View with no inferred religious identity or beliefs. The record distinguishes a current participant from a historical voice, a source claim from an interpretation, and a route from the Relationship it traverses.

Relationship core · Relation Address · Dave / Christianity record

Automate the burden. Preserve the authorship. Return the time.

Explore the ontology hub · Read the specification · Write your first Yawn · See nested Agent Arena

One name, one extension

The product is YAWN and the only YAWN record extension is .yawn. .ion, .yon, and .ywn are invalid aliases commonly introduced by speech-to-text or model transcription. They are not alternate formats, schemas, products, or compatibility layers.

In an already-established YAWN context, implementations normalize those substitutions before creating a path, ID, schema, or record. When the referent could genuinely be something else—such as a chemical term or a person's name—the system preserves the raw words and asks or flags the ambiguity. A correction never changes semantic identity or grants authority.

Canonical naming contract → · Migration receipt →

Observation is an entry, not the center

Observation is the cleanest entry into the ontology: what became available to an attributed Agent from an Arena, under stated conditions and limits. It is valid before a Target, Intention, Projection, Move, or Yawn exists.

An accepted Observation remains its own record. Attaching it to a Yawn does not make it a child Yawn, and promotion creates a distinct Yawn through a separate human-approved lifecycle. What was observed and what an Agent inferred must never be collapsed.

Observation schema · Delegated execution · Observation template · Observation View contract · Question and local-art chain

The proposed one-question inquiry aperture keeps this record network behind one situated Question instead of exposing an ontology dashboard as the primary experience.

An open question may be organized from remainsOpen without rewriting its verbatim source. A visual brief and local image can then be proposed around that question while the question stays accessible live text. The brief, candidate, and serialized page are not new truth: acceptance, rendering, publication, preference updates, and Yawn promotion each keep separate authority.

Start inside Relationship

Relationship is structurally first even though Observation is operationally first. An Agent can observe only from a situated relation with an Arena, its affordances, other agents, and the conditions that disclose anything at all. The protocol therefore keeps both statements true without turning either into an absolute hierarchy:

Relationship -> Observation -> Relevance -> Orientation -> Intention
             -> Projection -> Consequence -> Proof -> Updated Relationship

The relationship is dynamic, not decorative context. It may change what can be noticed, what matters, what movement is appropriate, and what authority is actually active. Proof returns to the relationship instead of merely closing a task.

A generic Relationship has its own stable identity. It may include addressable referents, time-indexed participation, coupling, boundaries, policy references, attributed claims, events, and revision history. It is not equivalent to any one of those facets. A policy governs possible action within a relationship; a coupling describes how influence can flow; participation records who is here and how; a structural holarchy relation connects Yawns.

The slash is a participant-facing traversal handle, not the relationship record. dave/jaime and jaime/dave can be directional Views into one shared relationship while preserving different standpoints and disclosure boundaries. Only an explicit primary_parent relation establishes containment.

Relationship-first Agent Arena → · Relationship schema → · Participation schema → · Relation Address schema → · Inference envelope schema → · Relationship View contract → · Research braid → · Attributed collaboration history →

The loop

signal → orientation → choice → move → proof → update

YAWN exists because agents act from inferences they often cannot see. The loop makes those inferences inspectable before action and makes consequences replayable afterward.

State is the substrate. Desire is attributed directional evidence. Targets are optional and scoped. Moves attempt change; proof evaluates outcomes; authorized events rematerialize state.

A small .yawn

title: "The next release still feels unclear"

signal: "I keep reopening the plan without choosing a release boundary."
current: "Several useful changes are mixed into one undefined release."

inference: "The blocker may be an unclear proof boundary, not lack of effort."
epistemic_status: inferred

lacuna: "Which changes must ship together for the release to be coherent?"

boundary:
  - "Do not publish private user data."
  - "Do not call a draft stable."

move: "List the smallest independently testable release slice."
proof: "Every included change has an owner, test, and rollback path."
replay: "Record what changed and what remains open."

Unknown is a valid answer. Waiting is a valid state. A move can be deferred. Skipped context becomes a visible lacuna, not invented certainty.

The ontology

Reality
  └─ World horizon                 open; exceeds the model
      └─ Field                     information available to an observer
          └─ Arena                 provisional task-relevant slice
              └─ Yawn             durable orientation contract
                  └─ Turn          causal episode: act, wait, delegate, yield
                      └─ Events    attributed occurrences
                          └─ Transition + proof
                              └─ replayed state and a changed horizon

World, field, arena, and Yawn are not synonyms. An arena names the agents, affordances, constraints, authority, resources, exclusions, and open questions that matter for a purpose. A Yawn holds one live orientation contract inside that arena. A turn traces how that contract acts—or waits—through causal time.

Definitions and semantic planes →

Interface contracts

YAWN.ai and YAWN.bot share one semantic palette and one compact public-header grammar while keeping their roles distinct. Public roots stay quiet; richer View tools appear only through explicit disclosure when the route has a real canonical object to inspect.

Brand contract → · Chrome contract → · Observation View contract → · Desktop Homebase contract →

Nested agency without hidden authority

Yawns form a holarchy: one acyclic primary-parent backbone plus typed lateral links such as overlaps, depends_on, supports, conflicts_with, and supersedes. A child is an independently inspectable sub-contract, not merely a similar topic or nearby file.

Every create, attach, reparent, merge, or split begins as a proposal. Accepted changes append an authorized receipt preserving sources, aliases, disputes, proof conditions, and the before/after state. Embeddings and spatial position may retrieve candidates; they never determine identity, disclosure, or permission.

Holarchy → · Routing →

Objectives become holons; bots steward them

A source signal can reveal a durable objective without immediately becoming a goal, instruction, or active agent. YAWN compiles the signal into typed, source-preserved detections; proposes the objective and its place in the holarchy; and waits for the principal to confirm, reject, correct, or add more.

For example, “I want to be a good dad” may become the ratified objective Dave/good-dad. A dedicated Yawn then holds that objective, its relationships, boundaries, lacunae, and proof policy. A separate Yawn.bot can steward the contract after explicit activation. The root .yawn is the alignment bridge: it routes and relates objective holons rather than acting as one assistant that owns them all.

signal → detections → objective candidate → ratification
  → objective Yawn → sleeping Yawn.bot → activation → proof + replay

The default interface shows the compiled data model in concise protocol language, keeps correction controls available, and foregrounds no more than three ranked structural paths. A score says whether it is a heuristic or an estimated posterior; neither is ratification. Personality is optional programmed projection data. Child bots may receive selected structural context, but never silently inherit truth, consent, privacy, confidence, proof, identity, agreement, or effect authority.

Objective holons → · Dave / good dad →

Agent Arena and open turns

Agent Arena is the vivid, game-readable view: nested arenas, available moves, open turns, consequences, and what becomes possible next. It is a projection, not the source of truth. Arena does not mean combat, and reality does not literally wait for one global turn clock.

Turns may overlap, nest, wait on external systems, resume, delegate, or hand off. “Keeping this turn open” means the causal episode is unresolved; execution may safely sleep while the trace remains open.

Turn protocol → · Projection boundary →

The nine orientation questions

These are stable semantic coverage axes, not nine mandatory database fields or a fixed interview order. A person may enter through any question, wording, or accessible medium while answers map back to the same attributed graph:

  1. What has your attention, and what episode are we orienting?
  2. Where and when is this happening, and which relationship or Arena is active?
  3. Who are you here, in what role, and who participates or is affected?
  4. What appears to be happening now?
  5. What matters, is needed, or is being protected—and why?
  6. What is unknown, disputed, constrained, dependent, or in tension?
  7. What must be protected, and who may decide or act?
  8. What is possible next?
  9. What would reality have to show for this map to update?

An adaptive interface asks one useful question at a time and may expose up to three candidate paths. Safety and authority blockers outrank convenience; accepted View preferences may tune order and the chosen representation medium or answer-input adapter without changing meaning. Wording, pacing, and density may remain attributed preference proposals, but receipt V0.1 executes only the packet-pinned default or hard-gated prompt; a later versioned prompt registry is required for adapted wording. Unknown, skipped, disputed, deferred, and withheld answers stay distinct rather than being silently completed.

Coverage, claim confidence, and routing confidence remain separate. Answering all nine does not make the answers true or authorize a move. For a choice about which “game” or competition is worth entering, orientation begins with the relationship, obligation, value, or capacity worth serving or protecting; competition remains an optional Arena lens.

Question-to-ontology traceability → · Selection receipt schema → · Participation-choice example →

The seven Polanyi axes, and the floor they measure

The question card is also an instrument. Before a question renders, the bot seals a prediction of the answer and of the reason (hashed, timestamped, append-only); the person answers; the seal is revealed and scored hit, partial, or miss; the person scores the sealed reason yes, partly, or no. The rolling reason accuracy per axis is the floor: how much of what a person knows their records could say in advance. The curve's shape is the finding.

question-packets/polanyi.yawn carries seven axis-questions from Polanyi's account of tacit knowing, each with his mark, who contested it, and one sealed prediction written before any surface asked it:

  1. floor · Can what you know be fully said?
  2. exclusivity · Can you attend to a thing and through it at once?
  3. reversibility · After you break a skill apart, can you put it back?
  4. timing · Does saying what you know have to happen while you're using it?
  5. fidelity · Is the reason you give the reason that moved you?
  6. locus · Is knowing something you do, or something that's simply true?
  7. levels · Can a whole be read off from its parts?

Timing and fidelity are the two axes Polanyi never took a position on; if the extension lives anywhere, it lives there. Every queued decision in records/yawn.bot-state.yawn carries the same kind of seal (its attributed recommendation, anchored rather than blind), so the loop starts today without a model call. No seal, no question; no reason check, no closed record; below ten closed records the floor is reported, not read.

Live: mark the axes at yawn.bot/polanyi · the measured floor at yawn.bot/status · the bot's next question at yawn.bot/dave.

The loop, in one record → · Seal, answer, floor schema → · Templates → · The floor today →

Build and validate

Requires Node.js 22 or a current Node.js LTS release.

git clone https://github.com/yawn-ai/.yawn.git yawn-protocol
cd yawn-protocol
npm ci
npm test

cd contracts
npm ci
npm run check

The repository currently has two preserved v1 modules:

Agency Holarchy 0.2 is an additive working draft covering arenas, Yawns, relations, turns, routing, and structural receipts. Objective Holon 0.1 adds typed objective compilation, ratification, Yawn.bot binding, and activation. Orientation Map 0.1 adds attributed semantic coverage, adaptive inquiry, and closed selected-question or hold receipts while keeping presentation separate. Articulation Floor 0.1 adds sealed predictions, reason-checked answers, and a per-axis floor that replays from its ledger. Neither v1 module is marketed as the complete schema for every human-readable .yawn file.

These local commands are the primary proof path. GitHub Actions may run the same checks as a secondary witness; runner or billing unavailability is not a test failure and cannot replace a commit-bound local result.

Protocol layers → · Project status → · Serialization →

Find your path

If you want to… Start here
Record what became available before interpreting it Observation template
Write one useful record Five-minute quickstart
Copy a human template Basic, Arena, Turn
Build an implementation Specification, schemas, fixtures
Resolve portable runtime configuration Runtime Profile 0.1 · Developer guide
See the holarchy in use Nested Agent Arena
Model an async dependency Waiting turn
Import a long conversation archive Conversation routing
Generate observation art locally Local observation-art contract
Understand merge vs. link vs. split Routing example
See one objective become a Yawn.bot Dave / good dad
Orient before choosing a game or competition Participation-choice example
Mark the seven Polanyi axes and see the seal revealed Polanyi packet · yawn.bot/polanyi
Read the measured floor records/articulation-floor.yawn · yawn.bot/status
Open the bot's next question with its sealed prediction records/yawn.bot-state.yawn · yawn.bot/dave
Explore unresolved questions Q-Space
Understand the evidence boundary Research basis
Navigate the whole repository Documentation hub

Status, limits, and intent

YAWN is experimental. We are publishing the grammar early because agents are becoming more capable faster than their actions are becoming inspectable. The vocabulary should earn stability through use, criticism, migration evidence, and independent implementations.

The core invariants are firmer than the draft names:

  • observed, reported, inferred, assumed, predicted, disputed, and unknown stay distinct;
  • confidence is not freshness, importance, consensus, or permission;
  • privacy and authority are checked before moves are ranked;
  • AI output remains a proposal until rightful approval;
  • moves do not prove themselves;
  • canonical history is append-only; and
  • projections can change the view, never the truth or authority underneath it.

YAWN should carry the mechanical and return meaningful choice to the human. It should not become a new boss, optimize every free hour, or decide what a life is for.

Project and contribution

The repository is MIT licensed and honestly maintainer-led. Humans and AI-assisted contributors are welcome; disclose material AI use, preserve source rights, and bring proof with protocol changes.

Contributing · Roadmap · Governance · Security · Code of conduct · Changelog

The Declaration of Agency is a cultural expression of the project's human boundary. The specification is the narrower engineering contract.

If this work informs research or software, see CITATION.cff and cite the version or commit you used.

Intelligence should carry the mechanical. Humans should carry the meaningful.

About

.yawn is a plain-text filesystem for shared mental models, lived agency, proof, and replay.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages