Aaron Alderman

Inspect / source-bound

Usewords

Start with what matters. Develop questions, positions and proposals with AI assistance, while keeping people’s words, uncertainty and disagreement visible.

These connections are extracted from recorded source declarations. Exact identity establishes declared reuse; it does not establish deployment or equivalent behaviour.

Open Usewords ↗

Shared capabilities & dependencies

No shared capability identity is declared in the selected sources. The source bindings below remain inspectable.

Source bindings

Source bindingSnapshot
grand-theory/applications/usewords-lightning/README.md

Exact project README snapshot: product philosophy and local prototype boundaries, not evidence of a deployed service.

Upstream SHA-256: 59e6e7e3c59d02d9d3f92b3bb8c0a19b7b46e09aac1ad7947b2208e053bffb3f
Read exact snapshotSnapshot SHA-256: 59e6e7e3c59d02d9d3f92b3bb8c0a19b7b46e09aac1ad7947b2208e053bffb3f

Readable source

Preview

Rendered from the exact snapshot. Source-relative links retain their target; unbundled documents do not navigate.

Markdown preview loads through the shared algebra.

Source

Exact source, with shared syntax highlighting. Line wrapping is visual; the snapshot and its SHA-256 remain unchanged.

# Usewords — for what matters

Usewords is a collaborative workbench for giving structure to what matters.
AI helps people articulate, explore and work with a matter; resolution is one
possible outcome. A clearer question, an acknowledged uncertainty, a faithful
disagreement or an informed decision to leave something open can also be useful
outcomes.

## Philosophical spine

**“What's the matter?”** is the opening invitation. A matter can be something
someone cares about, is creating, is trying to understand, or is seeking to
resolve. Matters can begin privately and develop through collaboration. They
need not begin as problems with predetermined answers.

**People supply the purpose.** Participants articulate what matters and to whom,
including differences in priorities, values and interests. AI can ask questions,
suggest distinctions and expose omissions. Its framing remains a proposal that
people can inspect, contest and change.

**Structure is provisional and expressive.** Participants can develop the
vocabulary, relationships, representations and processes their matter needs.
Encounters, journeys, negotiations and disagreement packets are possible
languages of expression. A useful structure preserves meaningful differences
and can evolve when those differences exceed its current vocabulary.

**AI helps make possibilities intelligible.** It can organise contributions,
connect evidence, expose assumptions, propose alternatives, simulate scenarios
and help draft resolutions. Participants must be able to distinguish their own
words, AI suggestions, source material and accepted contributions. Uncertainty
and missing evidence remain visible.

**Agreement and disagreement both deserve faithful representation.** Confirming
that a position has been represented accurately is distinct from endorsing its
claims. Acknowledging a contribution, agreeing on a fact, approving a term and
authorising an action are distinct commitments. The product must not collapse
them into a single ambiguous acceptance. These richer distinctions are product
requirements; the current prototype's proposal acceptance is a narrower local
editing protocol.

**Participation preserves agency and boundaries.** Private exploration, a party's
internal work and shared contributions have different scopes. Disclosure,
acceptance and external actions require explicit authority. AI assistance does
not itself grant access, consent or authority, and silence is not agreement.
The current persona simulation does not implement protected private spaces.

**Scenarios explore consequences under assumptions.** A counterfactual identifies
its baseline, changed assumptions, model and uncertainties. Its results remain
separate from the actual matter until an explicit authorised action incorporates
them. Reproducing a calculation establishes how it was obtained, not that its
assumptions are true.

**The process algebra makes consequences inspectable.** Definitions, proposals,
reviews and actions should have explicit meanings, scopes and histories. People
should be able to ask where a claim came from, what an edit changes, who accepted
which commitment and which alternatives remain open. Executable consistency and
replay are engineering properties; they do not by themselves establish truth,
fairness, consensus or a just outcome.

Resolution may take the form of agreement, a decision by a designated authority,
or a useful next step. A matter can also remain unresolved with its disagreements
better understood. Usewords should support these outcomes without pressuring
participants toward artificial closure.

The product test for a new feature is: **Does this help people understand and
work with what matters, while preserving their ability to question its framing,
control their contributions and choose what follows?**

## Current implementation

The app opens with **What's the matter?** Create a local matter in your own words, develop issues and positions, and consider possible proposals. AI framing enters through an explicit BYO-agent handoff and the same reviewable proposal protocol as participant framing. Encounter, journey and language tools remain available under **Review changes, encounters and language definitions**. No deployment work is included.

Requires Node.js 22 or later, with no package installation.

```sh
npm run build
npm test
npm run dev
```

Open http://127.0.0.1:4197/. `USEWORDS_PORT` changes the port.

Live Temple persistence and publication are not connected yet. The inspected
platform exposes captured application reads without Usewords mutation authority.
The inactive, process-owned service candidate and exact receiver requirements
are documented in [platform/README.md](platform/README.md).

## Start with a matter

1. Give the matter a name and describe what matters in your own words, or use **Try an example**. Creation preserves that narrative as the starting framing and keeps the matter open.
2. Open **Let AI help structure this matter** and choose **Prepare an AI brief**. Inspect the exact context before sharing it with your agent. Only the selected matter's narrative and incorporated structure enter the public brief; unrelated encounters, other matters and form drafts are excluded.
3. Give the brief to an AI and paste its JSON response into **Agent response JSON**. **Check suggestions** validates the exact brief, source snapshot, matter identity, closed response fields, bounded text, unique identifiers and issue references. Nothing is automatically incorporated.
4. Select a suggestion and **Propose selected framing**. Incorporate its linked issue before proposing a position or approach about it. Alice and Bob can independently review and accept the structural change; Casey remains an observer. **Add your own framing** uses the same protocol.
5. Read the result under **Issues**, **Positions** and **Possible proposals**. Incorporation means accepting inclusion in the structure. Positions remain unconfirmed; approaches remain unaccepted as actions. These operations do not settle the matter or assert anyone's consent.
6. Switch between local matters, reload to replay saved work, or export the current matter with its proposal history. Import a history into the local list only if its identifier is absent. Existing matter histories are never replaced by import.

The AI mode is **bring your own agent**, using a copy/paste brief and response or the local agent bridge. No hosted model API or automatic local model connection is configured. The browser sends no matter text to a model by itself. The browser demonstration used actual suggestions generated by the assistant in this chat; automated tests use explicitly synthetic agent fixtures. Provider labels are self-reported, not authenticated provenance.

Each matter has its own version-bound board and checked AI draft in browser storage. Changing matters clears unsubmitted context-specific form text and restores only that matter's checked AI response. Unchecked response text and unsent review/form text are not durable drafts. This separation is a local product boundary, not authenticated confidentiality or a protected multiuser workspace. Source/runtime changes require a new version or explicit migration; old version keys are retained.

An incoming response to a stale brief refuses. Previously checked suggestions may be explicitly reconsidered against the current matter, with their original brief/source references visible and a fresh change proposal and review required. AI text is treated as data; it cannot invoke effects, add executable callbacks or set a matter to resolved. Replay reproduces the recorded contributions and decisions; it does not rerun or establish the correctness of model reasoning.

This first profile supports six local matters, six change proposals / 24 events per matter, up to 12 incorporated items in a source baseline, and up to six suggestions per AI response. The existing text, source-size and 20,000,000-step execution limits remain. Matter creation and record validation are fixed language constructs; the editable Encounter construct language remains available separately. Richer relationships, narrative revisions, counterfactual execution, authentication and network collaboration remain future work.

## Try the proposal workbench

1. Select **Alice** under **Act as**, and optionally give the next proposal a title.
2. Use an encounter edit, object, journey or construct form. Every authoring action creates an immutable proposal. The journey previews continue to show accepted material.
3. Select the proposal to inspect its before/proposed values, author, content hash and inverse destination. Definition proposals compare the old and new definitions.
4. Select **Bob**, write a review comment and approve or request changes. Authors cannot review their own proposals. **Casey** is an observer and cannot mutate the board.
5. **Accept selected proposal** requires an independent persona's approval of the exact content, no outstanding request for changes, and the same material head used by the proposal. Rejection closes a proposal without changing material.
6. **Verify history & save** checks the board without accepting open proposals. **Export proposal history** exports proposals, reviews, decisions and their baseline for exact replay. Reload restores the board after replay.

Alice, Bob and Casey are local illustrative personas controlled by the same browser owner. They are not authenticated collaborators. This version has no network synchronisation or protected multiuser authority.

Competing proposals are preserved. Once one changes the accepted head, the other requires resubmission against the current head and a fresh review. This first profile performs no automatic rebase or merge. To amend content after a request for changes, create a new proposal from the current material; the old proposal and discussion remain. A reviewer can explicitly replace their decision; prior decisions remain in proposal activity and event history.

The seed reconstructs the real `place.water` encounter from aaronalderman.com in Listening well and Making with care, with different introductions. It retains two source paragraphs, not the entire original artwork. Earlier fixed demonstrations remain under **Earlier proof**.

## Define a construct

```text
construct Question
field prompt text shared required max 240
field invitation text local optional max 600
heading prompt
paragraph invitation
```

This first language profile supports named constructs, text fields, shared/local ownership, required/optional values, maximum lengths, and heading/paragraph representations. Optional text can be empty. Definitions generate closed REL contracts, facts, Encounter views and context contributions; the retained compiler checks actual instances. Incompatible changes to existing instances refuse before a proposal can be created. Accepted definitions become available as object types; open definition proposals do not. An empty workspace may hold definitions before its first executable instance.

This profile is bounded: 6 constructs, 6 fields per type, 8 objects, 4 journeys, 6 entries per journey, field limits up to 4,000 characters, and 16 operations per acceptance segment. It does not install arbitrary executable callbacks, native effects or unrestricted grammars. Defining richer field types and semantics requires extending the admitted language profile.

## Process ownership

| Concern | Source owner |
| --- | --- |
| Construct grammar, validation, generation, operations, inverse correspondence, replay and acceptance | `source/workspace.encounter` |
| Forms, rendering, inspection, persistence, import/export and agent entry | `source/workspace-ui.encounter` |
| Matter records, validation, scoped AI briefs and response contracts | `source/matters.encounter` |
| Matter UI, local registry and scoped AI draft persistence | `source/matters-ui.encounter` |
| Earlier demonstrations and common rendering/hash processes | `source/usewords.encounter` |
| Initial workspace and imported source provenance | `source/workspace-seed.json`, `source/reference/water.rel` |
| Language catalogue and pinned process frontend | `source/languages.json`, `source/languages/` |
| Shared highlighting and source presentation | `source/presentation/source-algebra.encounter` |
| Page/style declarations and execution closure | `source/page.json`, `source/style.json`, `source/runtime.json` |
| Retained evaluator, admission, lowering, compiler and inverse semantics | `vendor/worldwright/` |
| Generic loading, browser mechanisms, build and CLI IO | `bootstrap/` |

All five editable process modules are authored in Encounter and compiled before Temple lowering and admission. `dist/` contains generated JSON, complete source maps and browser artifacts; it is never an authoring input. Vendor files remain pinned. Shared/local edits select exact projections and invoke retained `ec.patch`; regenerated meaning must match that inverse result. There is no independent application patcher.

Code views reuse Worldwright's `sp.present`, lexer and source-role rules through the process algebra. Highlighting is presentation; compilation establishes validity. The kernel budget remains 20,000,000 steps. The generic browser host supplies mechanisms; domain policy and orchestration live in the admitted processes.

## Source, history and acceptance

Collaboration policy is authored as `cw.*` processes in `source/workspace.encounter`; UI, rendering and persistence are `cw.*` processes in `source/workspace-ui.encounter`. The existing source-owner structure is unchanged. No native domain callbacks, effect grants or second patcher were added.

The board starts from an explicit replay-checked workspace baseline. Proposal content is immutable and includes its author, semantic operation, source hash and material revision. Review decisions bind the proposal content hash. Acceptance re-executes the change and checks the exact preview source/projection hashes; the complete board history is then replayed before saving and exposing the accepted head. Checked before/after comparisons are derived during proposal creation and reproduced during replay, rather than recompiling them on every repaint.

The board is bounded to six proposals and 24 events, within the unchanged 20,000,000-step budget. The underlying construct/document limits still apply. Source size and execution limits can refuse an oversized action; the previous saved board stays active. There is no destructive board reset button. Use a separate browser profile for a separate local board; import history only into an empty board.

History is stored under `usewords.collaboration.v1.<programHash>`. Every runtime version has a distinct key; older histories are not overwritten or silently reinterpreted. Incomplete construct editor text is stored separately. Source exports contain only current accepted material, excluding open proposals. Source imports establish a new explicit baseline in an empty board. History imports replay the same exact runtime's proposal/review events. Imported source does not import earlier human authority or reviews.

The collaboration receipt binds the exact application/native source closure, baseline receipt, ordered actor operations and final complete board hash. Restore, history import/export and acceptance reproduce the event history. A predecessor hash alone does not reproduce unavailable earlier history. Browser ownership still permits rewriting local data; persona attribution is not an identity signature.

Replay an exported history in a fresh process:

```sh
node bootstrap/cli.mjs collaboration-replay verification/collaboration-browser-history.json
```

Current matter evidence is recorded in `verification/matter-checks.json`; `verification/matter-browser-history.json` replays the matter demonstration with the same `collaboration-replay` command. Earlier collaboration evidence is recorded in `verification/collaboration-checks.json` and remains tied to its own runtime. Previous workspace receipts and platform reports remain tied to their own earlier programme versions. The predecessor browser history retained during execution-budget optimisation is explicitly under `verification/predecessor/`; it is not current acceptance.

## Agent integration

The same local bridge exposes the board and invokes its authored command process:

```js
const board = await window.usewords.invoke({operation:'collaboration-status'});
await window.usewords.invoke({
  operation:'collaboration-command',
  request:{
    action:'propose', actor:'alice', expectedBoardRevision:board.revision,
    id:'new_encounter', title:'Invite another interpretation',
    change:{kind:'edit', scope:'shared', object:'water', field:'title',
      value:'An invitation to listen', baseRevision:board.head.revision}
  }
});
```

Review commands carry `actor`, proposal `id`, exact `contentHash`, `decision` (approve or request-changes), `comment` and `expectedBoardRevision`. Accept commands identify that same content and current board revision. Agents cannot use the old direct `apply` bridge to bypass proposal review. Personas remain simulated for agents too.

Read-only `status`, `inspect`, `check-definition` and `export-source` remain available. Earlier standalone CLI proposal/replay protocols remain compatibility interfaces; they do not modify a live collaboration board. API-model orchestration and authenticated remote agent enrollment remain future capabilities.

## Verification

The automated suite covers real-encounter provenance, shared/local propagation and isolation, edit-order experiments, stale/no-op/invalid input, compiler ownership and source maps, pinned native identities, deterministic builds, receipt tampering, fresh replay, browser storage failures, construct validation, generated execution, inverse correspondence, empty authoring states and source literal safety.

Browser QA created an encounter, journey, custom Question construct and instance; composed it in two journeys; checked shared propagation and local isolation; refused incomplete syntax without erasing it; accepted and restored the workspace. These are same-author engineering checks, not independent scientific evidence or a universal equivalence proof.

The matter agent operations are `matter-status`, `matter-brief` (returns a scoped request and hash, saving its replay basis locally), and `matter-suggestions` with `response`. Checked suggestions still enter through proposals; agents cannot bypass review. Matter structure is validated by the admitted `mw.*` processes and rendered through the retained HTML algebra. Encounter/REL projections describe the encounter dialect, while the full workspace source and receipt also bind the matter structure.

Source highlighting uses the shared Encounter presenter.

Snapshots preserve the observed source version. An excerpt retains its upstream file hash and original line locations. This is source inspection, not an execution trace.

How sharing is computed

Readable process definition loads through the shared source presenter.

Authoritative inspection algebra · Homepage source catalogue · Presentation facts

Shared Markdown, lexer and formatting algebra

Published Encounter definitions

These are the readable source owners selected by this publication’s build manifest.