Skip to content

Commit 690dfcc

Browse files
docs: relocate runtime app fixtures (#703) (#705)
1 parent 5039152 commit 690dfcc

18 files changed

Lines changed: 51 additions & 19 deletions

File tree

apps/macos-demo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ Expected local run path on a machine with full Xcode:
1818
- run the `TraverseMacOSDemoApp` target
1919

2020
Fixture source:
21-
- `apps/demo-fixtures/expedition-runtime-session.json`
21+
- `examples/fixtures/expedition-runtime-session.json`

apps/macos-demo/Sources/TraverseMacOSDemoApp/DemoSession.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ struct DemoOutput: Decodable {
9595

9696
enum DemoSessionRepository {
9797
static func sample() -> DemoSession {
98-
let url = URL(fileURLWithPath: "apps/demo-fixtures/expedition-runtime-session.json")
98+
let url = URL(fileURLWithPath: "examples/fixtures/expedition-runtime-session.json")
9999
let data = (try? Data(contentsOf: url)) ?? Data()
100100
let decoder = JSONDecoder()
101101

docs/decision-log.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,3 +468,35 @@ Keep the initial durable journal while #629 measures append latency, recovery,
468468
replay, retention compaction, and disk growth under representative workloads.
469469
Choose retain, SQLite, or a provider abstraction only from that evidence; no
470470
storage migration or abstraction is preselected.
471+
472+
## Decision 22: Keep Application Source Out of the Traverse Runtime Repository
473+
474+
- **Date**: 2026-07-15
475+
- **Status**: Accepted
476+
- **Related issues**: `#703`, `#704`; App References `#151`
477+
478+
### Decision
479+
480+
Checked-in application UI, platform client demos, and starter/reference source
481+
belong in `traverse-framework/reference-apps`. Traverse owns only runtime
482+
conformance inputs: manifests, fixture agents, and deterministic test fixtures.
483+
Those artifacts live under `examples/`, never `apps/`.
484+
485+
### Migration inventory
486+
487+
| Current path | Owner | Destination |
488+
| --- | --- | --- |
489+
| `apps/android-demo/` | Reference Apps | `reference-apps/android-demo/` |
490+
| `apps/browser-consumer/` | Reference Apps | `reference-apps/browser-consumer/` |
491+
| `apps/macos-demo/` | Reference Apps | `reference-apps/macos-demo/` |
492+
| `apps/react-demo/` | Reference Apps | `reference-apps/react-demo/` |
493+
| `apps/youaskm3-starter-kit/` | Reference Apps | `reference-apps/youaskm3-starter-kit/` |
494+
| `apps/demo-fixtures/expedition-runtime-session.json` | Traverse fixture | `examples/fixtures/expedition-runtime-session.json` |
495+
| `apps/meeting-notes/app.manifest.json` | Traverse fixture | `examples/applications/meeting-notes/app.manifest.json` |
496+
| `apps/traverse-starter/app.manifest.json` | Traverse fixture | `examples/applications/traverse-starter/app.manifest.json` |
497+
498+
### Outcome
499+
500+
The Reference Apps migration preserves app validation against public Traverse
501+
surfaces. Traverse follows with removal of the now-obsolete `apps/` directory
502+
and a repository check that prevents application source from returning.

docs/local-runtime-home.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ These stay in checked-in source locations:
5555
- contracts: `contracts/`
5656
- workflows: `workflows/`
5757
- registry bundles and runtime requests: `examples/`
58-
- shared checked-in demo fixtures: `apps/demo-fixtures/`
58+
- shared checked-in demo fixtures: `examples/fixtures/`
5959

6060
Executable capability packages may keep deterministic build outputs in package-local `./artifacts/` directories when those artifacts are part of the checked-in package shape. The local runtime home is for runtime-owned copies, caches, and overlays, not for replacing package-local layout.
6161

docs/releases/v0.7.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Consumers that only need public app validation and registration can remain pinne
99
## Highlights
1010

1111
- Adds the `traverse-starter.process` capability contract with deterministic `title`, `tags`, `noteType`, `suggestedNextAction`, and `status` output fields.
12-
- Adds the `apps/traverse-starter/app.manifest.json` application manifest and the `examples/traverse-starter/process-agent/` WASM agent package.
12+
- Adds the `examples/applications/traverse-starter/app.manifest.json` application manifest and the `examples/traverse-starter/process-agent/` WASM agent package.
1313
- Loads durable CLI-produced workspace app registration state during HTTP workspace execution so registered app capabilities can execute through `/v1/workspaces/local-default/execute`.
1414
- Adds `bash scripts/ci/traverse_starter_example_smoke.sh` to validate app registration and local HTTP execution end to end.
1515
- Documents the App-References integration path and confirms `v0.5.0 minimum` for downstream apps using `traverse-cli app validate/register`.
File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/web/TraverseEmbedder/examples/react-integration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ a sidecar").
1313
(`/pkg/`), the existing React UMD vendor bundles already checked in under
1414
`apps/react-demo/vendor` (`/vendor/`), and the repository root itself
1515
(`/repo/`) so the browser can `fetch` the real
16-
`apps/traverse-starter/app.manifest.json` bundle and every file it
16+
`examples/applications/traverse-starter/app.manifest.json` bundle and every file it
1717
references (component manifest, workflow definition, compiled WASM
1818
artifact) by the same relative paths the bundle already declares.
1919
2. `src/main.js` is a small React app (no build step, `React.createElement`

packages/web/TraverseEmbedder/examples/react-integration/src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { BundleEmbedder, FetchBundleLoader } from "/pkg/index.js";
22

33
const { createElement: h, useEffect, useState } = React;
44

5-
const MANIFEST_PATH = "/repo/apps/traverse-starter/app.manifest.json";
5+
const MANIFEST_PATH = "/repo/examples/applications/traverse-starter/app.manifest.json";
66
const CAPABILITY_ID = "traverse-starter.process";
77

88
function eventList(events) {

0 commit comments

Comments
 (0)