Oracle: live-mode cases and goldens (roots, inject, wrap, insert, accept, session, manual edits, daemon)

Prepared with AI assistance (Claude Code).
This commit is contained in:
Paul Bakaus
2026-08-31 19:56:22 -07:00
parent 0304059988
commit 577dce4323
306 changed files with 4281 additions and 2 deletions
@@ -0,0 +1,5 @@
{
"files": ["src/routes/__root.tsx"],
"insertBefore": "<Scripts",
"commentSyntax": "jsx"
}
@@ -0,0 +1,12 @@
---
name: Oracle Live Fixture
description: A one-page fixture set in plain type on paper-white surfaces.
colors:
ink: "#142720"
paper: "#ffffff"
typography:
body:
fontFamily: "system-ui, sans-serif"
fontWeight: 400
lineHeight: 1.5
---
@@ -0,0 +1,8 @@
<!-- impeccable:product-schema 2 -->
# Product
## What it is
A fixture app used by the oracle harness for live mode.
## Platform
web
@@ -0,0 +1,12 @@
{
"name": "oracle-live-tanstack",
"private": true,
"type": "module",
"dependencies": {
"@tanstack/react-router": "^1.132.0",
"@tanstack/react-start": "^1.132.0",
"react": "^19.2.0",
"react-dom": "^19.2.0"
},
"devDependencies": { "@vitejs/plugin-react": "^6.0.0", "vite": "^8.0.0" }
}
@@ -0,0 +1,25 @@
import { HeadContent, Scripts, createRootRoute } from '@tanstack/react-router';
export const Route = createRootRoute({
head: () => ({
meta: [
{ charSet: 'utf-8' },
{ title: 'TanStack Start Fixture' },
],
}),
shellComponent: RootDocument,
});
function RootDocument({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<head>
<HeadContent />
</head>
<body>
{children}
<Scripts />
</body>
</html>
);
}
@@ -0,0 +1,14 @@
import { createFileRoute } from '@tanstack/react-router';
export const Route = createFileRoute('/')({
component: Home,
});
function Home() {
return (
<main className="page">
<h1 className="hero-title">Start Home Hero</h1>
<p className="hero-hook">Server-rendered by TanStack Start.</p>
</main>
);
}
@@ -0,0 +1,4 @@
import { defineConfig } from 'vite';
import { tanstackStart } from '@tanstack/react-start/plugin/vite';
export default defineConfig({ plugins: [tanstackStart()] });