← Back to the Worldwright trailTHE WORKSHOP · AN ENCOUNTER EXAMPLE

Encounter / a living infographic

One story.
Follow the thread.

Change a title → watch the views update → follow the change back.

AI can help with the work.
You decide what is worth making.

Change a value. Follow its meaning, rules and consequences. The example makes human choices visible and machine work inspectable.

Connecting…
Less unnecessary labour. More room for human authorship.

You choose the purpose. Taste, usefulness, care and responsibility remain human work. A functioning application is a beginning; people decide whether it serves them well.

You can understand and change the workings. The wider aim is architecture you can inspect, revise, replace and take with you. Here, two editable values demonstrate explicit source ownership; general programme and contract editing remain future work.

You can ask what was checked. Assurance should fit the consequences and retain essential safeguards. This example checks a bounded typed edit and its forward result. That is evidence for this slice, not independent verification or a guarantee of a larger application.

Remove unnecessary labour. Preserve human authorship. Make the consequences understandable and the evidence inspectable.

Preparing the checked example…

Follow the last edit ↓

Try this first

  1. Change the story title in step 1 and choose “Apply title.” The story page and list row update; the menu keeps its own label.
  2. Change the menu label in step 3. Only the menu changes.
  3. Look at the previews in step 4. Open the code sections if you want to see how it works.

Changes stay in this tab. Reloading starts the example again.

Meaning / the source

Start with the story

Story

@TheStory

See how the title is stored

Change this title and the row and story page follow.

Read the two content entries

A menu entry / another way to find the story

Give the story a way to be found

Menu entry

@experiment.nav.story

Story title
Menu label
source
Opens this story@TheStory

A label and a Story reference. The story keeps its identity.

@experiment.page.story Page

P.subject → @TheStory

Its title follows the same source. Its route gives the web link somewhere to go.

See the pure expressions and generated process

The generated NavigationItem process

Readable call notation for the stored algebra; ports remain explicit.

Two places to show the story

Two views, with visible differences

The web menu

@experiment.WebMainMenu

See how the menu label is stored

This menu has its own label. Changing it leaves the story title as it is.

Edit this label to change the menu only.

The list row

@experiment.MainframeStories

Label from the story↑ follows the story title
See how the row is described
show as MainframeRow:
  option: "01"
  open: @experiment.openStory

This row uses the story title. Change the title in step 1 to update it.

Edit the story title to change this row.

How are overlays and edit routes resolved?

A replaced field loses its inherited route. A local edit route must be declared explicitly.

Preview / what the code makes

Now it is a link and a row

HTML

These are the web pages made by the code. HTML is the language used to describe a web page. Open a section below a preview to read its HTML.

The story page follows too
How does the tree become HTML?

Text and attributes are escaped. Event descriptors are separate from the HTML; the row action is not bound in these previews.

The return path / change the owner

Follow the edit back

Story titleTheStory / S.Titlestory.rel
Web labelWebMainMenu / N.labelstory.encounter
one declared route→change the source→rebuild and check the rules→check the result
See the checked reverse process
Words used in the code sections
Projection
A view of the story for a particular purpose, such as a menu entry.
Overlay
A local replacement, such as the menu’s own label.
Type contract
Rules about which fields and values are allowed.
Serialize
Turn a structured page description into HTML text.
Receipt
A record of what changed and which checks ran.
Keep following: full source, algebra and receiptsinspect

Every fold above leads into these same source documents and processes.

Current candidate source. Edit at the named owner, then regenerate.