Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
feat: turn shared artifacts into starts (#34)
tt-a1iea8f1f69659f
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 384912f5..939b79d0 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,6 +5,7 @@ All notable changes are documented here. Format loosely follows [Keep a Changelo## [Unreleased]### Added+- **Artifact-to-install start loop.** The existing viewer footer now offers one restrained, viewer-only `Create yours` link carrying only the typed diagram mode and suppressing its document referrer. A focused bilingual `/start` page turns that mode into canonical install commands, one exact bounded prompt, required evidence, and a verified Proof Lab example without receiving repository content, diagram data, titles, paths, or source JSON; print and canonical exports remain clean.- **Semantic Story Carrier.** Every unambiguous forward/reverse Story Beat now reuses the same five-kind semantic token vocabulary as Relationship Preview, so calls, data movement, events, security boundaries, and lifecycle transitions remain distinguishable while the guided camera advances. Story first deduplicates path and label fragments by stable authored edge key, preventing one labeled relationship from being misclassified as `multiple`; the carrier then follows only that exact authored geometry for Story's existing finite 780ms pulse. A dedicated viewer overlay keeps it above edges and below nodes, while generation-owned cleanup rejects stale animation callbacks. It runs only in ordinary desktop artifacts and explicit `?play=1` share playback; passive embeds, Still, reduced motion, hidden/print state, and canonical/raster export remain static and clean. No schema, IR, renderer layout, dependency, authored geometry, or mobile product surface was added.- **Semantic Flow Tokens.** Every exact-edge Relationship Preview now carries one compact inline SVG token along the authored source-to-target geometry: paired chevrons for calls, a framed block for data, a three-car train for events, a checked shield for security boundaries, and a ringed dot for lifecycle state changes. Classification uses only compiled edge variants and renderer-owned endpoint kinds with fail-closed precedence (`security > event > data > state > call`); labels, product names, and pixel geometry never decide meaning. The token shares Relationship Preview's single finite 1.2-second motion owner and cleanup path, rotates with the real line/path/polyline, respects Live/Still and reduced motion, and leaves no embed, print, canonical SVG, raster, schema, IR, dependency, layout, or authored-geometry residue. This is a desktop reading and presentation enhancement; mobile remains only a contained fallback.- **Semantic Sigils.** Every primary node in all five typed renderers now carries one small, theme-aware inline SVG role stamp: windows for frontend, brackets for backend, cylinder rings for data, a cloud contour, shield, transit rails, external portal, and distinct lifecycle start/active/wait/success/failure/neutral cues. The sigils reuse existing semantic color tokens across Classic, Signal Flow, Blueprint, dark, and light; remain static under trace motion; survive canonical SVG/raster export; and add no brand assets, product-name matching, schema field, layout box, focus target, interaction owner, dependency, or network request. Archify stays desktop-first: mobile remains a basic containment fallback rather than a dedicated product surface.diff --git a/archify.zip b/archify.zipindex eceb9109..5cc0d15e 100644Binary files a/archify.zip and b/archify.zip differdiff --git a/archify/SKILL.md b/archify/SKILL.mdindex 2ba1a918..501f1db5 100644--- a/archify/SKILL.md+++ b/archify/SKILL.md@@ -358,4 +358,4 @@ When no browser or image reader is available, report `visual_review: skipped (im## Output-A single self-contained `.html`: embedded CSS (Google Fonts loads async and degrades to system monospace offline), one canonical inline SVG, and embedded JS for Intent Trace, Route Probe, Node Finder, Semantic Passport, runtime-built Semantic Radar, Presentation Stage, Story Trail playback, semantic focus, pan/zoom, theme, and export. It renders directly in any modern browser. Every semantic node has a deterministic DOM ID, accessible keyboard control, renderer-owned kind/responsibility/context attributes, and a compact native `<title>` tooltip; the SVG root includes its own `<title>` and `<desc>`. Raster exports render natively at up to 4× the viewBox (large diagrams step down to 3×/2× to stay under canvas limits); the SVG download is dual-theme self-contained and follows the host's `prefers-color-scheme` (manual override via `svg[data-theme="..."]`); trace-enabled diagrams can be recorded to WebM without external tooling.+A single self-contained `.html`: embedded CSS (Google Fonts loads async and degrades to system monospace offline), one canonical inline SVG, and embedded JS for Intent Trace, Route Probe, Node Finder, Semantic Passport, runtime-built Semantic Radar, Presentation Stage, Story Trail playback, semantic focus, pan/zoom, theme, and export. It renders directly in any modern browser. Every semantic node has a deterministic DOM ID, accessible keyboard control, renderer-owned kind/responsibility/context attributes, and a compact native `<title>` tooltip; the SVG root includes its own `<title>` and `<desc>`. The viewer footer may link to Archify's bounded start page using only the diagram type; it must never serialize the title, semantic graph, repository path, or source JSON, must suppress the document referrer, and stays outside print and every canonical export. Raster exports render natively at up to 4× the viewBox (large diagrams step down to 3×/2× to stay under canvas limits); the SVG download is dual-theme self-contained and follows the host's `prefers-color-scheme` (manual override via `svg[data-theme="..."]`); trace-enabled diagrams can be recorded to WebM without external tooling.diff --git a/archify/assets/template.html b/archify/assets/template.htmlindex 53dd94ac..1fb00c9a 100644--- a/archify/assets/template.html+++ b/archify/assets/template.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscapediff --git a/archify/package.json b/archify/package.jsonindex a34be6aa..2fea8d7f 100644--- a/archify/package.json+++ b/archify/package.json@@ -16,6 +16,7 @@"check:validators": "node scripts/generate-validators.mjs --check","build:gallery": "node ../scripts/build-gallery.mjs ../docs","build:guide": "node ../scripts/build-guide.mjs ../docs/guide.html",+ "build:start": "node ../scripts/build-start.mjs ../docs/start.html","build:readme-showcase": "node ../scripts/build-readme-showcase.mjs","test:webm": "node test/webm-artifact.smoke.mjs","test": "npm run check:validators && node test/golden.mjs && node --test test/*.test.mjs",diff --git a/archify/renderers/architecture/render-architecture.mjs b/archify/renderers/architecture/render-architecture.mjsindex c839a179..4d3c9007 100644--- a/archify/renderers/architecture/render-architecture.mjs+++ b/archify/renderers/architecture/render-architecture.mjs@@ -459,6 +459,7 @@ if (layoutJsonMode) {writeDiagram({outPath,template,+ diagramType: 'architecture',meta: arch.meta,footerLabel: 'Architecture diagram',svg: renderSvg(),diff --git a/archify/renderers/dataflow/render-dataflow.mjs b/archify/renderers/dataflow/render-dataflow.mjsindex ad5c18ac..2d31d32d 100644--- a/archify/renderers/dataflow/render-dataflow.mjs+++ b/archify/renderers/dataflow/render-dataflow.mjs@@ -360,6 +360,7 @@ validateDataflow();writeDiagram({outPath,template,+ diagramType: 'dataflow',meta: dataflow.meta,footerLabel: 'Data-flow diagram',svg: renderSvg(),diff --git a/archify/renderers/lifecycle/render-lifecycle.mjs b/archify/renderers/lifecycle/render-lifecycle.mjsindex f99ac335..e5bdb2ee 100644--- a/archify/renderers/lifecycle/render-lifecycle.mjs+++ b/archify/renderers/lifecycle/render-lifecycle.mjs@@ -446,6 +446,7 @@ validateLifecycle();writeDiagram({outPath,template,+ diagramType: 'lifecycle',meta: lifecycle.meta,footerLabel: 'Lifecycle diagram',svg: renderSvg(),diff --git a/archify/renderers/sequence/render-sequence.mjs b/archify/renderers/sequence/render-sequence.mjsindex 80e9d19f..6720a205 100644--- a/archify/renderers/sequence/render-sequence.mjs+++ b/archify/renderers/sequence/render-sequence.mjs@@ -329,6 +329,7 @@ validateSequence();writeDiagram({outPath,template,+ diagramType: 'sequence',meta: sequence.meta,footerLabel: 'Sequence diagram',svg: renderSvg(),diff --git a/archify/renderers/shared/cli.mjs b/archify/renderers/shared/cli.mjsindex 5227941d..245af6d6 100644--- a/archify/renderers/shared/cli.mjs+++ b/archify/renderers/shared/cli.mjs@@ -18,17 +18,22 @@ export function loadDiagram({ rendererDir, diagramType, defaultExample, argv = preturn { diagram, template, outPath };}+const START_TYPES = new Set(['architecture', 'workflow', 'sequence', 'dataflow', 'lifecycle']);+// Common CLI tail: fill the template and write the standalone HTML file.-// The keyboard hint is screen-only — it means nothing on paper.-export function writeDiagram({ outPath, template, meta, footerLabel, svg, cards }) {+// The keyboard hint and the restrained start link are viewer-only — neither+// belongs in canonical SVG exports or on paper.+export function writeDiagram({ outPath, template, diagramType, meta, footerLabel, svg, cards }) {+ if (!START_TYPES.has(diagramType)) throw new Error(`writeDiagram: unknown diagram type ${JSON.stringify(diagramType)}`);fs.mkdirSync(path.dirname(outPath), { recursive: true });const guidedHint = Array.isArray(meta.views) && meta.views.length? ' • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story': '';+ const startUrl = `https://tt-a1i.github.io/archify/start.html?type=${esc(diagramType)}`;fs.writeFileSync(outPath, applyTemplate(template, {title: meta.title,subtitle: meta.subtitle,- footer: `${footerLabel} • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar${guidedHint} • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>`,+ footer: `${footerLabel} • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="${startUrl}" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar${guidedHint} • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>`,svg,cards: renderCards(cards),visualPreset: meta.visual_preset || 'classic',diff --git a/archify/renderers/workflow/render-workflow.mjs b/archify/renderers/workflow/render-workflow.mjsindex 105cde4a..07a846d0 100644--- a/archify/renderers/workflow/render-workflow.mjs+++ b/archify/renderers/workflow/render-workflow.mjs@@ -567,6 +567,7 @@ validateWorkflow();writeDiagram({outPath,template,+ diagramType: 'workflow',meta: workflow.meta,footerLabel: 'Workflow diagram',svg: renderSvg(),diff --git a/archify/test/landing.test.mjs b/archify/test/landing.test.mjsindex 55394260..289e7a36 100644--- a/archify/test/landing.test.mjs+++ b/archify/test/landing.test.mjs@@ -26,6 +26,12 @@ const proofs = [},];+test('landing metadata describes the full technical-diagram product without changing the hero', () => {+ assert.match(landing, /<title>Archify — Technical Diagrams from Plain English<\/title>/);+ assert.match(landing, /<meta property="og:title" content="Archify — Technical Diagrams from Plain English">/);+ assert.match(landing, /From plain English<br>to architecture <em>in seconds\.<\/em>/);+});+test('landing hero leads with three real generated proof artifacts', () => {assert.match(landing, /id="hero-proof-stage"/);assert.match(landing, /id="hero-proof-panel" role="tabpanel"/);diff --git a/archify/test/start-page.test.mjs b/archify/test/start-page.test.mjsnew file mode 100644index 00000000..28d0abb0--- /dev/null+++ b/archify/test/start-page.test.mjs@@ -0,0 +1,86 @@+import { test } from 'node:test';+import assert from 'node:assert/strict';+import { execFileSync } from 'node:child_process';+import fs from 'node:fs';+import os from 'node:os';+import path from 'node:path';+import vm from 'node:vm';+import { fileURLToPath } from 'node:url';++const __dirname = path.dirname(fileURLToPath(import.meta.url));+const skillRoot = path.resolve(__dirname, '..');+const repoRoot = path.resolve(skillRoot, '..');++test('start page: checked-in HTML is reproducible from canonical scenario recipes', () => {+ const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'archify-start-page-'));+ const generated = path.join(tmp, 'start.html');+ try {+ execFileSync(process.execPath, [path.join(repoRoot, 'scripts/build-start.mjs'), generated]);+ assert.equal(+ fs.readFileSync(generated, 'utf8'),+ fs.readFileSync(path.join(repoRoot, 'docs/start.html'), 'utf8'),+ );+ } finally {+ fs.rmSync(tmp, { recursive: true, force: true });+ }+});++test('start page: offers five bounded bilingual starts without ingesting source content', () => {+ const html = fs.readFileSync(path.join(repoRoot, 'docs/start.html'), 'utf8');+ assert.doesNotMatch(html, /\[\[[A-Z0-9_]+\]\]/);+ assert.match(html, /npx skills add tt-a1i\/archify -g/);+ assert.match(html, /npx skills use tt-a1i\/archify@archify --agent codex/);+ assert.match(html, /data-en="One install\."/);+ assert.match(html, /data-en="One bounded prompt\."/);+ assert.match(html, /data-zh="一次安装,"/);+ assert.match(html, /data-zh="一段有边界的提示词。"/);+ assert.match(html, /No repository content or diagram data is sent to this page\./);+ assert.match(html, /这个页面不会接收仓库内容或图表数据/);++ const dataMatch = html.match(/<script id="start-data" type="application\/json">([\s\S]*?)<\/script>/);+ assert.ok(dataMatch);+ const data = JSON.parse(dataMatch[1]);+ assert.deepEqual(Object.keys(data), ['architecture', 'workflow', 'sequence', 'dataflow', 'lifecycle']);+ assert.ok(Object.values(data).every((entry) => entry.en.prompt && entry.zh.prompt && entry.proof));++ const scriptMatch = html.match(/<script>\n([\s\S]*?)\n <\/script>\n<\/body>/);+ assert.ok(scriptMatch);+ assert.doesNotThrow(() => new vm.Script(scriptMatch[1]));+ assert.match(scriptMatch[1], /KNOWN_TYPES\.has\(requestedType\)/);+ assert.match(scriptMatch[1], /textContent/);+ assert.match(scriptMatch[1], /replaceChildren/);+ assert.doesNotMatch(scriptMatch[1], /innerHTML/);+});++test('generated artifacts: viewer-only Create yours link carries the exact diagram type', () => {+ const examples = {+ architecture: 'web-app.architecture.json',+ workflow: 'agent-tool-call.workflow.json',+ sequence: 'cache-miss-request.sequence.json',+ dataflow: 'product-analytics.dataflow.json',+ lifecycle: 'agent-run.lifecycle.json',+ };+ const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'archify-start-artifacts-'));+ try {+ for (const [type, input] of Object.entries(examples)) {+ const out = path.join(tmp, `${type}.html`);+ execFileSync(process.execPath, [+ path.join(skillRoot, `renderers/${type}/render-${type}.mjs`),+ path.join(skillRoot, 'examples', input),+ out,+ ]);+ const html = fs.readFileSync(out, 'utf8');+ const expected = `https://tt-a1i.github.io/archify/start.html?type=${type}`;+ assert.match(html, new RegExp(`class="artifact-start-link"[^>]+href="${expected.replace(/[.?]/g, '\\$&')}"`), type);+ assert.match(html, /class="artifact-start-link"[^>]+rel="noopener noreferrer"/, `${type}: referrer boundary`);+ assert.equal((html.match(new RegExp(expected.replace(/[.?]/g, '\\$&'), 'g')) || []).length, 1, type);++ const svg = html.match(/<svg[\s\S]*?<\/svg>/)?.[0];+ assert.ok(svg, `${type}: SVG missing`);+ assert.ok(!svg.includes('Create yours'), `${type}: CTA leaked into canonical SVG`);+ assert.ok(!svg.includes('/start.html'), `${type}: start URL leaked into canonical SVG`);+ }+ } finally {+ fs.rmSync(tmp, { recursive: true, force: true });+ }+});diff --git a/docs/assets/archify-live-proof.gif b/docs/assets/archify-live-proof.gifindex 1289f7a3..21eb31b0 100644Binary files a/docs/assets/archify-live-proof.gif and b/docs/assets/archify-live-proof.gif differdiff --git a/docs/assets/archify-live-proof.json b/docs/assets/archify-live-proof.jsonindex a1f363da..440401c6 100644--- a/docs/assets/archify-live-proof.json+++ b/docs/assets/archify-live-proof.json@@ -7,13 +7,13 @@"fps": 10,"frameCount": 54,"durationSeconds": 5.4,- "bytes": 1555872,- "sha256": "6324be3c3ae13d7e42facec1df47bb5618d53ded8e5657e7140818da8a26432c",+ "bytes": 1554103,+ "sha256": "ccd3b350b303c7d71fd535c10fd20816e20d008bea7e405821617b6d50f4f882","scenes": [{"id": "signal-flow","artifact": "docs/gallery/artifacts/agent-tool-call.workflow.html",- "artifactSha256": "d8c8da2e0ed9b7e3dae3d6fac482cb95d24319637f5b93627709f9e34e80c87d",+ "artifactSha256": "a41b7bd3264eb856deccbaeb45c75a79fa0d085ca0bca9adc60c280aedd8ac80","view": "happy-path","eyebrow": "WORKFLOW · SIGNAL FLOW","title": "Agent Tool Call",@@ -22,7 +22,7 @@{"id": "blueprint","artifact": "docs/gallery/artifacts/production-deployment.architecture.html",- "artifactSha256": "9137d80df87de0c42a82aed24a20cccb6aeb9bdc8e7a5678d2f6fd8125927784",+ "artifactSha256": "355624a26ea10022ed6431782f405aaca21f873e548d61e6798766efd75b7f1e","view": "request-boundary","eyebrow": "ARCHITECTURE · BLUEPRINT","title": "Production Deployment",@@ -31,7 +31,7 @@{"id": "classic","artifact": "docs/gallery/artifacts/cache-miss.sequence.html",- "artifactSha256": "183d8095c9f7894601c6639ac67a75a92a9e016b49cedabe1df2830ae3606293",+ "artifactSha256": "61129906351bf7614b4df987c30135250cc5ac3a80937277fdd68368964e27b8","view": "cache-fallback","eyebrow": "SEQUENCE · CLASSIC","title": "Cache Miss Request",diff --git a/docs/gallery.html b/docs/gallery.htmlindex 499f35b4..a27ecb5f 100644--- a/docs/gallery.html+++ b/docs/gallery.html@@ -324,7 +324,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">7/7 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 11E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="d8c8da2e0ed9b7e3dae3d6fac482cb95d24319637f5b93627709f9e34e80c87d">d8c8da2e0ed9</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="a41b7bd3264eb856deccbaeb45c75a79fa0d085ca0bca9adc60c280aedd8ac80">a41b7bd3264e</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/agent-tool-call.workflow.html?present=1&play=1#view=happy-path" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -352,7 +352,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">7/7 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 12E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="9137d80df87de0c42a82aed24a20cccb6aeb9bdc8e7a5678d2f6fd8125927784">9137d80df87d</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="355624a26ea10022ed6431782f405aaca21f873e548d61e6798766efd75b7f1e">355624a26ea1</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/production-deployment.architecture.html?present=1&play=1#view=request-boundary" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -380,7 +380,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">7/7 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">7N · 12E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="183d8095c9f7894601c6639ac67a75a92a9e016b49cedabe1df2830ae3606293">183d8095c9f7</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="61129906351bf7614b4df987c30135250cc5ac3a80937277fdd68368964e27b8">61129906351b</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/cache-miss.sequence.html?present=1&play=1#view=cache-fallback" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -408,7 +408,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">7/7 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 10E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="0ecbaf6d181474d448975d0a3a3fc97f28a6d3edc46d9fbe4732aa3220a26d1d">0ecbaf6d1814</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="cd293817b9dc6c2e0eeb922dbc53d8cadd246eaff963e660b644f8ddd1f76606">cd293817b9dc</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/release-delivery.workflow.html?present=1&play=1#view=approval-to-production" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -436,7 +436,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">7/7 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">11N · 10E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="4da90cb5653c6846753b466ec16c34737ea1b59de00105b6372fce7e022b3efa">4da90cb5653c</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="208e896992cddc67b75faa66f8d1e334b6d8b4cc2f7ef24fee25e2e4eab8ff68">208e896992cd</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/incident-response.workflow.html?present=1&play=1#view=mitigate-and-verify" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -464,7 +464,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">7/7 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 10E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="4c7608a588eb102b225ed384eeec015e655785908a08a3e0188e1550a0d8980f">4c7608a588eb</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="dedcec651c4584c432f84ee900c04024493c1ad8ad03ef9c49c7730e3ee9ea58">dedcec651c45</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/product-analytics.dataflow.html?present=1&play=1#view=consent-boundary" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -492,7 +492,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">7/7 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">7N · 14E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="36f952f645a3c907ff3208f5f3f4547668104fca5bfa0b32c9b26c13e71213f5">36f952f645a3</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="756a9b92babcf0461e695bfb8b9d1b093b457dc589e131319cbe6e6dced87a60">756a9b92babc</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/async-job-roundtrip.sequence.html?present=1&play=1#view=work-and-retry" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -520,7 +520,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">7/7 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 12E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="19479e4db686e01742aba6d1b769b9ea2f278540b53543b9e855112ee585fa16">19479e4db686</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="856e523ecc262cb1826bfbf29eaaf9a82e1276e2fa7c2836ecdb23128c404915">856e523ecc26</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/event-stream.dataflow.html?present=1&play=1#view=order-transit" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -548,7 +548,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">7/7 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 5E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="d55a015483376b2c19b8c026087278a905d34a79dc9af99316fbe4d59d9d78b9">d55a01548337</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="57dbf98d59f143794517a68e9b3992797c21802570b1bc2ecf54db1b0f1a55ca">57dbf98d59f1</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/agent-run.lifecycle.html?present=1&play=1#view=main-lifecycle" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -576,7 +576,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">7/7 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">11N · 6E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="7286e600c5b047cf51db270746166d241dddeda6f03892da65cd1ec84c5ad1f8">7286e600c5b0</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="54270818ccff68c210e397e4110eb2b0be89a7eac8d5829de7227d7c27edf815">54270818ccff</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/deployment-release.lifecycle.html?present=1&play=1#view=rollback-outcomes" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -604,7 +604,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">7/7 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 9E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="07558031e9d794fa74807570d7de93ede6b567375629e73b2e0c1b3988c4a242">07558031e9d7</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="97778db6ffc40c103f412796ef396237ba8357d37c50cb9cac20bbccaa6c0f21">97778db6ffc4</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/web-app.architecture.html?present=1&play=1#view=request-path" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -681,8 +681,8 @@ receipt 77 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 12,"edgeCount": 11,- "artifactBytes": 527636,- "artifactSha256": "d8c8da2e0ed9b7e3dae3d6fac482cb95d24319637f5b93627709f9e34e80c87d",+ "artifactBytes": 528253,+ "artifactSha256": "a41b7bd3264eb856deccbaeb45c75a79fa0d085ca0bca9adc60c280aedd8ac80","sourceBytes": 6470,"sourceSha256": "a3afc6b30044eb256aa15c6195ddfbbcd1a14880d99967ed5605bc621ffb7e5f","checks": [@@ -767,8 +767,8 @@ receipt 77 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 12,"edgeCount": 12,- "artifactBytes": 526788,- "artifactSha256": "9137d80df87de0c42a82aed24a20cccb6aeb9bdc8e7a5678d2f6fd8125927784",+ "artifactBytes": 527409,+ "artifactSha256": "355624a26ea10022ed6431782f405aaca21f873e548d61e6798766efd75b7f1e","sourceBytes": 5308,"sourceSha256": "c3c4ddc8fd8910d8d2bcf2ba97434017d6fa347eb4ee436d2fb519dd0f27c814","checks": [@@ -853,8 +853,8 @@ receipt 77 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 7,"edgeCount": 12,- "artifactBytes": 521283,- "artifactSha256": "183d8095c9f7894601c6639ac67a75a92a9e016b49cedabe1df2830ae3606293",+ "artifactBytes": 521900,+ "artifactSha256": "61129906351bf7614b4df987c30135250cc5ac3a80937277fdd68368964e27b8","sourceBytes": 4442,"sourceSha256": "30098d81006a18813bab447da698edf74604a1463770f01dc056b0af8cb314ef","checks": [@@ -939,8 +939,8 @@ receipt 77 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 10,"edgeCount": 10,- "artifactBytes": 523902,- "artifactSha256": "0ecbaf6d181474d448975d0a3a3fc97f28a6d3edc46d9fbe4732aa3220a26d1d",+ "artifactBytes": 524519,+ "artifactSha256": "cd293817b9dc6c2e0eeb922dbc53d8cadd246eaff963e660b644f8ddd1f76606","sourceBytes": 5256,"sourceSha256": "44aa56ac6ca807937dfe84a6404e8b07d6394a38ae2ac53248a1985337dfd671","checks": [@@ -1025,8 +1025,8 @@ receipt 77 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 11,"edgeCount": 10,- "artifactBytes": 523768,- "artifactSha256": "4da90cb5653c6846753b466ec16c34737ea1b59de00105b6372fce7e022b3efa",+ "artifactBytes": 524385,+ "artifactSha256": "208e896992cddc67b75faa66f8d1e334b6d8b4cc2f7ef24fee25e2e4eab8ff68","sourceBytes": 5478,"sourceSha256": "73dfd0779c8657c766a1b598447ffb193303d327b3c8effa09bbc4e3bb0909c7","checks": [@@ -1111,8 +1111,8 @@ receipt 77 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 10,"edgeCount": 10,- "artifactBytes": 525293,- "artifactSha256": "4c7608a588eb102b225ed384eeec015e655785908a08a3e0188e1550a0d8980f",+ "artifactBytes": 525910,+ "artifactSha256": "dedcec651c4584c432f84ee900c04024493c1ad8ad03ef9c49c7730e3ee9ea58","sourceBytes": 5719,"sourceSha256": "f71c89288f80255bdedcdc0057bcbc155d1d8b1b7476d024b35f4e27c730c974","checks": [@@ -1197,8 +1197,8 @@ receipt 77 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 7,"edgeCount": 14,- "artifactBytes": 522068,- "artifactSha256": "36f952f645a3c907ff3208f5f3f4547668104fca5bfa0b32c9b26c13e71213f5",+ "artifactBytes": 522685,+ "artifactSha256": "756a9b92babcf0461e695bfb8b9d1b093b457dc589e131319cbe6e6dced87a60","sourceBytes": 4483,"sourceSha256": "1b53d7c4ce7b2d8f6f40b8f33a394abe1d37fc991272b534c1ccd0255920ab52","checks": [@@ -1283,8 +1283,8 @@ receipt 77 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 12,"edgeCount": 12,- "artifactBytes": 529290,- "artifactSha256": "19479e4db686e01742aba6d1b769b9ea2f278540b53543b9e855112ee585fa16",+ "artifactBytes": 529907,+ "artifactSha256": "856e523ecc262cb1826bfbf29eaaf9a82e1276e2fa7c2836ecdb23128c404915","sourceBytes": 5523,"sourceSha256": "6ba25b4ea9897f05061b073d45a3914bf95fbe7a9e9d63fcb3e8ba76222fdfd7","checks": [@@ -1369,8 +1369,8 @@ receipt 77 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 10,"edgeCount": 5,- "artifactBytes": 518237,- "artifactSha256": "d55a015483376b2c19b8c026087278a905d34a79dc9af99316fbe4d59d9d78b9",+ "artifactBytes": 518855,+ "artifactSha256": "57dbf98d59f143794517a68e9b3992797c21802570b1bc2ecf54db1b0f1a55ca","sourceBytes": 4353,"sourceSha256": "1d6b34282e014cb2730662b1993158ec67bc0ad2a40520cb441aaee1ad21e4c6","checks": [@@ -1455,8 +1455,8 @@ receipt 77 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 11,"edgeCount": 6,- "artifactBytes": 519614,- "artifactSha256": "7286e600c5b047cf51db270746166d241dddeda6f03892da65cd1ec84c5ad1f8",+ "artifactBytes": 520232,+ "artifactSha256": "54270818ccff68c210e397e4110eb2b0be89a7eac8d5829de7227d7c27edf815","sourceBytes": 4394,"sourceSha256": "aa614f0c9a82f210e301e382f362dfbd7f290bda4d5501de3c99a6cd81b4c0a4","checks": [@@ -1541,8 +1541,8 @@ receipt 77 checks / 11 artifacts / deterministic hashes</pre>"animation": "static","nodeCount": 10,"edgeCount": 9,- "artifactBytes": 519243,- "artifactSha256": "07558031e9d794fa74807570d7de93ede6b567375629e73b2e0c1b3988c4a242",+ "artifactBytes": 519864,+ "artifactSha256": "97778db6ffc40c103f412796ef396237ba8357d37c50cb9cac20bbccaa6c0f21","sourceBytes": 3863,"sourceSha256": "01567b5e49cad5139baa071533a028d22f0e80fedfb49095e0d9330aee7f87db","checks": [diff --git a/docs/gallery/artifacts/agent-run.lifecycle.html b/docs/gallery/artifacts/agent-run.lifecycle.htmlindex 80a604b2..ae6c6be9 100644--- a/docs/gallery/artifacts/agent-run.lifecycle.html+++ b/docs/gallery/artifacts/agent-run.lifecycle.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscape@@ -4218,7 +4231,7 @@<!-- Footer --><p class="footer">- Lifecycle diagram • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>+ Lifecycle diagram • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="https://tt-a1i.github.io/archify/start.html?type=lifecycle" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span></p></div>diff --git a/docs/gallery/artifacts/agent-tool-call.workflow.html b/docs/gallery/artifacts/agent-tool-call.workflow.htmlindex be6e95a7..5636950a 100644--- a/docs/gallery/artifacts/agent-tool-call.workflow.html+++ b/docs/gallery/artifacts/agent-tool-call.workflow.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscape@@ -4298,7 +4311,7 @@<!-- Footer --><p class="footer">- Workflow diagram • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>+ Workflow diagram • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="https://tt-a1i.github.io/archify/start.html?type=workflow" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span></p></div>diff --git a/docs/gallery/artifacts/async-job-roundtrip.sequence.html b/docs/gallery/artifacts/async-job-roundtrip.sequence.htmlindex 18a36dc4..0de84daf 100644--- a/docs/gallery/artifacts/async-job-roundtrip.sequence.html+++ b/docs/gallery/artifacts/async-job-roundtrip.sequence.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscape@@ -4285,7 +4298,7 @@<!-- Footer --><p class="footer">- Sequence diagram • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>+ Sequence diagram • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="https://tt-a1i.github.io/archify/start.html?type=sequence" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span></p></div>diff --git a/docs/gallery/artifacts/cache-miss.sequence.html b/docs/gallery/artifacts/cache-miss.sequence.htmlindex 1c6e9d78..4da7ab5f 100644--- a/docs/gallery/artifacts/cache-miss.sequence.html+++ b/docs/gallery/artifacts/cache-miss.sequence.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscape@@ -4269,7 +4282,7 @@<!-- Footer --><p class="footer">- Sequence diagram • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>+ Sequence diagram • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="https://tt-a1i.github.io/archify/start.html?type=sequence" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span></p></div>diff --git a/docs/gallery/artifacts/deployment-release.lifecycle.html b/docs/gallery/artifacts/deployment-release.lifecycle.htmlindex a0af2e00..046345a8 100644--- a/docs/gallery/artifacts/deployment-release.lifecycle.html+++ b/docs/gallery/artifacts/deployment-release.lifecycle.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscape@@ -4232,7 +4245,7 @@<!-- Footer --><p class="footer">- Lifecycle diagram • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>+ Lifecycle diagram • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="https://tt-a1i.github.io/archify/start.html?type=lifecycle" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span></p></div>diff --git a/docs/gallery/artifacts/event-stream.dataflow.html b/docs/gallery/artifacts/event-stream.dataflow.htmlindex ca2bdbea..fe3d6f0c 100644--- a/docs/gallery/artifacts/event-stream.dataflow.html+++ b/docs/gallery/artifacts/event-stream.dataflow.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscape@@ -4304,7 +4317,7 @@<!-- Footer --><p class="footer">- Data-flow diagram • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>+ Data-flow diagram • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="https://tt-a1i.github.io/archify/start.html?type=dataflow" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span></p></div>diff --git a/docs/gallery/artifacts/incident-response.workflow.html b/docs/gallery/artifacts/incident-response.workflow.htmlindex e392ec13..3c5737c1 100644--- a/docs/gallery/artifacts/incident-response.workflow.html+++ b/docs/gallery/artifacts/incident-response.workflow.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscape@@ -4267,7 +4280,7 @@<!-- Footer --><p class="footer">- Workflow diagram • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>+ Workflow diagram • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="https://tt-a1i.github.io/archify/start.html?type=workflow" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span></p></div>diff --git a/docs/gallery/artifacts/product-analytics.dataflow.html b/docs/gallery/artifacts/product-analytics.dataflow.htmlindex 6a6d99f2..9fcf73cd 100644--- a/docs/gallery/artifacts/product-analytics.dataflow.html+++ b/docs/gallery/artifacts/product-analytics.dataflow.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscape@@ -4265,7 +4278,7 @@<!-- Footer --><p class="footer">- Data-flow diagram • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>+ Data-flow diagram • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="https://tt-a1i.github.io/archify/start.html?type=dataflow" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span></p></div>diff --git a/docs/gallery/artifacts/production-deployment.architecture.html b/docs/gallery/artifacts/production-deployment.architecture.htmlindex c6d691e7..e84c5607 100644--- a/docs/gallery/artifacts/production-deployment.architecture.html+++ b/docs/gallery/artifacts/production-deployment.architecture.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscape@@ -4284,7 +4297,7 @@<!-- Footer --><p class="footer">- Architecture diagram • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>+ Architecture diagram • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="https://tt-a1i.github.io/archify/start.html?type=architecture" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span></p></div>diff --git a/docs/gallery/artifacts/release-delivery.workflow.html b/docs/gallery/artifacts/release-delivery.workflow.htmlindex bdf9b85d..2ea3b87c 100644--- a/docs/gallery/artifacts/release-delivery.workflow.html+++ b/docs/gallery/artifacts/release-delivery.workflow.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscape@@ -4267,7 +4280,7 @@<!-- Footer --><p class="footer">- Workflow diagram • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>+ Workflow diagram • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="https://tt-a1i.github.io/archify/start.html?type=workflow" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span></p></div>diff --git a/docs/gallery/artifacts/web-app.architecture.html b/docs/gallery/artifacts/web-app.architecture.htmlindex a4c638c0..63e2d407 100644--- a/docs/gallery/artifacts/web-app.architecture.html+++ b/docs/gallery/artifacts/web-app.architecture.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscape@@ -4234,7 +4247,7 @@<!-- Footer --><p class="footer">- Architecture diagram • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>+ Architecture diagram • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="https://tt-a1i.github.io/archify/start.html?type=architecture" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span></p></div>diff --git a/docs/gallery/manifest.json b/docs/gallery/manifest.jsonindex 7251b7a4..9e0fed1e 100644--- a/docs/gallery/manifest.json+++ b/docs/gallery/manifest.json@@ -26,8 +26,8 @@"animation": "trace","nodeCount": 12,"edgeCount": 11,- "artifactBytes": 527636,- "artifactSha256": "d8c8da2e0ed9b7e3dae3d6fac482cb95d24319637f5b93627709f9e34e80c87d",+ "artifactBytes": 528253,+ "artifactSha256": "a41b7bd3264eb856deccbaeb45c75a79fa0d085ca0bca9adc60c280aedd8ac80","sourceBytes": 6470,"sourceSha256": "a3afc6b30044eb256aa15c6195ddfbbcd1a14880d99967ed5605bc621ffb7e5f","checks": [@@ -112,8 +112,8 @@"animation": "trace","nodeCount": 12,"edgeCount": 12,- "artifactBytes": 526788,- "artifactSha256": "9137d80df87de0c42a82aed24a20cccb6aeb9bdc8e7a5678d2f6fd8125927784",+ "artifactBytes": 527409,+ "artifactSha256": "355624a26ea10022ed6431782f405aaca21f873e548d61e6798766efd75b7f1e","sourceBytes": 5308,"sourceSha256": "c3c4ddc8fd8910d8d2bcf2ba97434017d6fa347eb4ee436d2fb519dd0f27c814","checks": [@@ -198,8 +198,8 @@"animation": "trace","nodeCount": 7,"edgeCount": 12,- "artifactBytes": 521283,- "artifactSha256": "183d8095c9f7894601c6639ac67a75a92a9e016b49cedabe1df2830ae3606293",+ "artifactBytes": 521900,+ "artifactSha256": "61129906351bf7614b4df987c30135250cc5ac3a80937277fdd68368964e27b8","sourceBytes": 4442,"sourceSha256": "30098d81006a18813bab447da698edf74604a1463770f01dc056b0af8cb314ef","checks": [@@ -284,8 +284,8 @@"animation": "trace","nodeCount": 10,"edgeCount": 10,- "artifactBytes": 523902,- "artifactSha256": "0ecbaf6d181474d448975d0a3a3fc97f28a6d3edc46d9fbe4732aa3220a26d1d",+ "artifactBytes": 524519,+ "artifactSha256": "cd293817b9dc6c2e0eeb922dbc53d8cadd246eaff963e660b644f8ddd1f76606","sourceBytes": 5256,"sourceSha256": "44aa56ac6ca807937dfe84a6404e8b07d6394a38ae2ac53248a1985337dfd671","checks": [@@ -370,8 +370,8 @@"animation": "trace","nodeCount": 11,"edgeCount": 10,- "artifactBytes": 523768,- "artifactSha256": "4da90cb5653c6846753b466ec16c34737ea1b59de00105b6372fce7e022b3efa",+ "artifactBytes": 524385,+ "artifactSha256": "208e896992cddc67b75faa66f8d1e334b6d8b4cc2f7ef24fee25e2e4eab8ff68","sourceBytes": 5478,"sourceSha256": "73dfd0779c8657c766a1b598447ffb193303d327b3c8effa09bbc4e3bb0909c7","checks": [@@ -456,8 +456,8 @@"animation": "trace","nodeCount": 10,"edgeCount": 10,- "artifactBytes": 525293,- "artifactSha256": "4c7608a588eb102b225ed384eeec015e655785908a08a3e0188e1550a0d8980f",+ "artifactBytes": 525910,+ "artifactSha256": "dedcec651c4584c432f84ee900c04024493c1ad8ad03ef9c49c7730e3ee9ea58","sourceBytes": 5719,"sourceSha256": "f71c89288f80255bdedcdc0057bcbc155d1d8b1b7476d024b35f4e27c730c974","checks": [@@ -542,8 +542,8 @@"animation": "trace","nodeCount": 7,"edgeCount": 14,- "artifactBytes": 522068,- "artifactSha256": "36f952f645a3c907ff3208f5f3f4547668104fca5bfa0b32c9b26c13e71213f5",+ "artifactBytes": 522685,+ "artifactSha256": "756a9b92babcf0461e695bfb8b9d1b093b457dc589e131319cbe6e6dced87a60","sourceBytes": 4483,"sourceSha256": "1b53d7c4ce7b2d8f6f40b8f33a394abe1d37fc991272b534c1ccd0255920ab52","checks": [@@ -628,8 +628,8 @@"animation": "trace","nodeCount": 12,"edgeCount": 12,- "artifactBytes": 529290,- "artifactSha256": "19479e4db686e01742aba6d1b769b9ea2f278540b53543b9e855112ee585fa16",+ "artifactBytes": 529907,+ "artifactSha256": "856e523ecc262cb1826bfbf29eaaf9a82e1276e2fa7c2836ecdb23128c404915","sourceBytes": 5523,"sourceSha256": "6ba25b4ea9897f05061b073d45a3914bf95fbe7a9e9d63fcb3e8ba76222fdfd7","checks": [@@ -714,8 +714,8 @@"animation": "trace","nodeCount": 10,"edgeCount": 5,- "artifactBytes": 518237,- "artifactSha256": "d55a015483376b2c19b8c026087278a905d34a79dc9af99316fbe4d59d9d78b9",+ "artifactBytes": 518855,+ "artifactSha256": "57dbf98d59f143794517a68e9b3992797c21802570b1bc2ecf54db1b0f1a55ca","sourceBytes": 4353,"sourceSha256": "1d6b34282e014cb2730662b1993158ec67bc0ad2a40520cb441aaee1ad21e4c6","checks": [@@ -800,8 +800,8 @@"animation": "trace","nodeCount": 11,"edgeCount": 6,- "artifactBytes": 519614,- "artifactSha256": "7286e600c5b047cf51db270746166d241dddeda6f03892da65cd1ec84c5ad1f8",+ "artifactBytes": 520232,+ "artifactSha256": "54270818ccff68c210e397e4110eb2b0be89a7eac8d5829de7227d7c27edf815","sourceBytes": 4394,"sourceSha256": "aa614f0c9a82f210e301e382f362dfbd7f290bda4d5501de3c99a6cd81b4c0a4","checks": [@@ -886,8 +886,8 @@"animation": "static","nodeCount": 10,"edgeCount": 9,- "artifactBytes": 519243,- "artifactSha256": "07558031e9d794fa74807570d7de93ede6b567375629e73b2e0c1b3988c4a242",+ "artifactBytes": 519864,+ "artifactSha256": "97778db6ffc40c103f412796ef396237ba8357d37c50cb9cac20bbccaa6c0f21","sourceBytes": 3863,"sourceSha256": "01567b5e49cad5139baa071533a028d22f0e80fedfb49095e0d9330aee7f87db","checks": [diff --git a/docs/index.html b/docs/index.htmlindex 1f2fe524..1acef14e 100644--- a/docs/index.html+++ b/docs/index.html@@ -3,13 +3,13 @@<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">- <title>Archify — Architecture Diagrams from Plain English</title>+ <title>Archify — Technical Diagrams from Plain English</title><meta name="description" content="An agent skill for Claude, Codex CLI, and opencode that turns plain-English descriptions into polished, explorable, self-contained technical diagrams with semantic focus, motion, and crisp export."><meta name="theme-color" content="#020617"><link rel="icon" type="image/svg+xml" href="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'><polygon points='14,2 26,8 26,20 14,26 2,20 2,8' fill='%23083344' stroke='%2322d3ee' stroke-width='1.5'/><circle cx='14' cy='15' r='2.5' fill='%2322d3ee'/></svg>"><meta property="og:type" content="website">- <meta property="og:title" content="Archify — Architecture Diagrams from Plain English">+ <meta property="og:title" content="Archify — Technical Diagrams from Plain English"><meta property="og:description" content="Describe your system in chat. Archify generates a polished, explorable HTML diagram with semantic focus, dark/light themes, motion, and ultra-crisp export."><meta property="og:image" content="https://tt-a1i.github.io/archify/assets/archify-social-preview.png"><meta property="og:url" content="https://tt-a1i.github.io/archify/">diff --git a/docs/start.html b/docs/start.htmlnew file mode 100644index 00000000..1fe3f673--- /dev/null+++ b/docs/start.html@@ -0,0 +1,381 @@+<!DOCTYPE html>+<html lang="en">+<head>+ <meta charset="UTF-8">+ <meta name="viewport" content="width=device-width, initial-scale=1.0">+ <title>Archify Start — From Artifact to First Diagram</title>+ <meta name="description" content="Install Archify, copy one bounded prompt, and create a verifiable technical diagram without sending repository or diagram content to this page.">+ <meta name="theme-color" content="#020617">+ <meta property="og:type" content="website">+ <meta property="og:title" content="Archify Start — One bounded prompt to a verifiable diagram">+ <meta property="og:description" content="Choose a technical question, install Archify, and copy an exact prompt backed by a verified example.">+ <meta property="og:url" content="https://tt-a1i.github.io/archify/start.html">+ <meta property="og:image" content="https://tt-a1i.github.io/archify/assets/archify-social-preview.png">+ <link rel="preconnect" href="https://fonts.googleapis.com">+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>+ <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">+ <style>+ :root {+ --bg:#020617;+ --panel:#07101f;+ --panel-raised:#0a1425;+ --border:#1e293b;+ --border-hi:#334155;+ --text:#f8fafc;+ --muted:#94a3b8;+ --dim:#64748b;+ --cyan:#22d3ee;+ --cyan-soft:rgba(34,211,238,.1);+ --emerald:#34d399;+ --emerald-soft:rgba(52,211,153,.08);+ --amber:#fbbf24;+ --focus:#67e8f9;+ }++ *,*::before,*::after { box-sizing:border-box; }+ html { color-scheme:dark; }+ body {+ margin:0;+ min-height:100vh;+ overflow-x:hidden;+ background:var(--bg);+ color:var(--text);+ font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;+ }+ body::before {+ content:'';+ position:fixed;+ inset:0;+ z-index:-2;+ background-image:linear-gradient(rgba(30,41,59,.42) 1px,transparent 1px),linear-gradient(90deg,rgba(30,41,59,.42) 1px,transparent 1px);+ background-size:40px 40px;+ mask-image:linear-gradient(to bottom,black 0%,rgba(0,0,0,.38) 72%,transparent 100%);+ }+ body::after {+ content:'';+ position:fixed;+ inset:0;+ z-index:-1;+ pointer-events:none;+ background:linear-gradient(90deg,rgba(2,6,23,.88),transparent 22%,transparent 78%,rgba(2,6,23,.88));+ }++ a { color:inherit; }+ button { font:inherit; }+ :focus-visible { outline:2px solid var(--focus); outline-offset:3px; }++ .nav {+ min-height:64px;+ padding:0 2rem;+ display:flex;+ align-items:center;+ justify-content:space-between;+ gap:1rem;+ border-bottom:1px solid var(--border);+ background:rgba(2,6,23,.9);+ backdrop-filter:blur(14px);+ }+ .brand { display:flex; align-items:center; gap:.75rem; text-decoration:none; font-size:.85rem; font-weight:700; }+ .brand-mark { width:26px; height:26px; color:var(--cyan); }+ .brand-path { color:var(--dim); font-weight:500; }+ .nav-links { display:flex; align-items:center; gap:1.25rem; }+ .nav-links a { color:var(--muted); font-size:.7rem; font-weight:600; text-decoration:none; }+ .nav-links a:hover { color:var(--text); }+ .language {+ min-height:36px;+ padding:.45rem .7rem;+ border:1px solid var(--border-hi);+ border-radius:6px;+ background:transparent;+ color:var(--muted);+ cursor:pointer;+ }+ .language:hover { color:var(--text); border-color:var(--dim); }++ main { width:min(1120px,calc(100% - 3rem)); margin:0 auto; padding:5rem 0 4rem; }+ .lead { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(260px,.65fr); gap:4rem; align-items:end; margin-bottom:3rem; }+ .eyebrow { margin:0 0 1rem; color:var(--cyan); font-size:.68rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }+ h1 { max-width:780px; margin:0; font-size:clamp(2.1rem,5.3vw,4.7rem); line-height:1.04; letter-spacing:-.055em; text-wrap:balance; }+ h1 span { color:var(--cyan); }+ html[lang^="zh"] .title-gap { display:none; }+ .lead-copy { margin:0; color:var(--muted); font-size:.8rem; line-height:1.8; }+ .trust-line { display:flex; gap:.7rem; align-items:flex-start; margin-top:1rem; color:var(--emerald); font-size:.68rem; line-height:1.65; }+ .trust-line::before { content:'✓'; flex:0 0 auto; }++ .type-shell { margin-bottom:1.25rem; padding:.75rem; border:1px solid var(--border); background:rgba(7,16,31,.82); }+ .type-label { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin:0 0 .65rem; color:var(--dim); font-size:.62rem; letter-spacing:.1em; text-transform:uppercase; }+ .type-label strong { color:var(--emerald); font-weight:600; }+ .type-tabs { display:grid; grid-template-columns:repeat(5,1fr); gap:1px; border:1px solid var(--border); background:var(--border); }+ .type-tab {+ min-height:48px;+ border:0;+ background:var(--panel);+ color:var(--muted);+ cursor:pointer;+ font-size:.7rem;+ font-weight:600;+ transition:background .15s,color .15s,box-shadow .15s;+ }+ .type-tab:hover { background:var(--panel-raised); color:var(--text); }+ .type-tab[aria-selected="true"] { color:var(--cyan); background:var(--cyan-soft); box-shadow:inset 0 -2px var(--cyan); }++ .workbench { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:1px; border:1px solid var(--border-hi); background:var(--border-hi); box-shadow:0 24px 80px rgba(0,0,0,.32); }+ .panel { min-width:0; padding:2rem; background:rgba(7,16,31,.96); }+ .panel-kicker { display:flex; align-items:center; gap:.7rem; margin-bottom:1.4rem; color:var(--dim); font-size:.62rem; letter-spacing:.12em; text-transform:uppercase; }+ .panel-kicker b { display:grid; place-items:center; width:26px; height:26px; border:1px solid var(--border-hi); color:var(--cyan); font-size:.64rem; }+ .panel h2 { margin:0 0 .65rem; font-size:1.05rem; letter-spacing:-.025em; }+ .panel-intro { min-height:3.9rem; margin:0 0 1.5rem; color:var(--muted); font-size:.72rem; line-height:1.75; }++ .command-block { margin-top:1rem; border:1px solid var(--border); background:#030914; }+ .command-bar { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.62rem .75rem; border-bottom:1px solid var(--border); color:var(--dim); font-size:.6rem; text-transform:uppercase; letter-spacing:.08em; }+ .copy-button { border:0; background:transparent; color:var(--cyan); cursor:pointer; font-size:.62rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }+ .copy-button:hover { color:#a5f3fc; }+ pre { margin:0; padding:1rem; overflow:auto; color:#d9f9ff; font:500 .7rem/1.65 'JetBrains Mono',ui-monospace,monospace; white-space:pre-wrap; overflow-wrap:anywhere; }+ .secondary-note { margin:1.25rem 0 0; padding:1rem; border-left:2px solid var(--emerald); background:var(--emerald-soft); color:var(--muted); font-size:.67rem; line-height:1.7; }++ .question { margin:0 0 1rem; color:var(--text); font-size:.82rem; line-height:1.65; }+ .include-list { display:flex; flex-wrap:wrap; gap:.45rem; margin:0 0 1.2rem; padding:0; list-style:none; }+ .include-list li { padding:.35rem .55rem; border:1px solid var(--border-hi); color:var(--muted); font-size:.6rem; background:rgba(15,23,42,.5); }+ .prompt-box { min-height:172px; margin:0; padding:1.15rem; border:1px solid rgba(34,211,238,.28); background:rgba(8,51,68,.14); color:#e6fbff; font-size:.72rem; line-height:1.82; white-space:pre-wrap; }+ .actions { display:flex; align-items:center; flex-wrap:wrap; gap:.7rem; margin-top:1rem; }+ .action { min-height:42px; display:inline-flex; align-items:center; justify-content:center; padding:.65rem .9rem; border:1px solid var(--border-hi); background:transparent; color:var(--muted); font:600 .68rem 'JetBrains Mono',ui-monospace,monospace; text-decoration:none; cursor:pointer; }+ .action:hover { color:var(--text); border-color:var(--dim); }+ .action-primary { border-color:var(--cyan); background:var(--cyan); color:#041019; }+ .action-primary:hover { background:#67e8f9; border-color:#67e8f9; color:#041019; }+ .proof-meta { margin-top:1.1rem; color:var(--dim); font-size:.61rem; line-height:1.65; }++ .page-footer { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-top:1rem; color:var(--dim); font-size:.62rem; }+ .page-footer a { color:var(--muted); text-decoration:none; }+ .page-footer a:hover { color:var(--text); }+ #copy-status { min-height:1.1rem; color:var(--emerald); }++ @media (max-width:840px) {+ main { width:min(100% - 2rem,720px); padding-top:3rem; }+ .lead { grid-template-columns:1fr; gap:1.3rem; }+ .workbench { grid-template-columns:1fr; }+ .type-tabs { grid-template-columns:repeat(2,1fr); }+ .type-tab:last-child { grid-column:1 / -1; }+ }+ @media (max-width:560px) {+ .nav { padding:0 1rem; }+ .nav-links > a { display:none; }+ main { width:calc(100% - 1.5rem); padding-top:2.5rem; }+ .panel { padding:1.25rem; }+ .type-tabs { grid-template-columns:1fr; }+ .type-tab:last-child { grid-column:auto; }+ .page-footer { align-items:flex-start; flex-direction:column; }+ }+ @media (prefers-reduced-motion:reduce) {+ *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; }+ }+ </style>+</head>+<body>+ <nav class="nav" aria-label="Primary navigation">+ <a class="brand" href="./" aria-label="Archify project page">+ <svg class="brand-mark" viewBox="0 0 28 28" fill="none" aria-hidden="true">+ <polygon points="14,2 26,8 26,20 14,26 2,20 2,8" fill="rgba(8,51,68,.7)" stroke="currentColor" stroke-width="1.5"/>+ <circle cx="14" cy="14" r="2.6" fill="currentColor"/>+ <path d="M14 2v9M14 17v9M2 8l9 5M17 15l9 5" stroke="currentColor" stroke-width="1" opacity=".55"/>+ </svg>+ <span>Archify <span class="brand-path">/ start</span></span>+ </a>+ <div class="nav-links">+ <a href="guide.html" data-en="Scenario guide" data-zh="场景指南">Scenario guide</a>+ <a href="gallery.html" data-en="Proof Lab" data-zh="验证成品">Proof Lab</a>+ <a href="https://github.com/tt-a1i/archify">GitHub ↗</a>+ <button class="language" id="language" type="button" aria-label="Switch language">中文</button>+ </div>+ </nav>++ <main>+ <header class="lead">+ <div>+ <p class="eyebrow" data-en="01 / From a real artifact to your own" data-zh="01 / 从真实成品到你自己的图">01 / From a real artifact to your own</p>+ <h1><span data-en="One install." data-zh="一次安装,">One install.</span><span class="title-gap" aria-hidden="true"> </span><span data-en="One bounded prompt." data-zh="一段有边界的提示词。">One bounded prompt.</span></h1>+ </div>+ <div>+ <p class="lead-copy" data-en="Choose the technical question closest to the artifact you saw. Copy a tested starting prompt, then let your coding agent inspect the real repository before it draws." data-zh="选择最接近你刚才所看成品的技术问题。复制一段经过验证的起始提示词,再让编码智能体先检查真实仓库,然后作图。">Choose the technical question closest to the artifact you saw. Copy a tested starting prompt, then let your coding agent inspect the real repository before it draws.</p>+ <div class="trust-line" data-en="No repository content or diagram data is sent to this page." data-zh="这个页面不会接收仓库内容或图表数据。">No repository content or diagram data is sent to this page.</div>+ </div>+ </header>++ <section class="type-shell" aria-labelledby="type-label">+ <p class="type-label" id="type-label"><span data-en="Choose the question shape" data-zh="选择问题形态">Choose the question shape</span><strong data-en="5 typed renderers" data-zh="5 种类型化渲染器">5 typed renderers</strong></p>+ <div class="type-tabs" role="tablist" aria-label="Diagram type">+ <button class="type-tab" type="button" role="tab" data-type="architecture" data-en="Architecture" data-zh="架构图">Architecture</button>+ <button class="type-tab" type="button" role="tab" data-type="workflow" data-en="Workflow" data-zh="工作流">Workflow</button>+ <button class="type-tab" type="button" role="tab" data-type="sequence" data-en="Sequence" data-zh="时序图">Sequence</button>+ <button class="type-tab" type="button" role="tab" data-type="dataflow" data-en="Data flow" data-zh="数据流">Data flow</button>+ <button class="type-tab" type="button" role="tab" data-type="lifecycle" data-en="Lifecycle" data-zh="生命周期">Lifecycle</button>+ </div>+ </section>++ <section class="workbench" aria-label="Archify quick start">+ <article class="panel">+ <div class="panel-kicker"><b>01</b><span data-en="Install the skill" data-zh="安装 Skill">Install the skill</span></div>+ <h2 data-en="Keep the tool local." data-zh="让工具留在本地。">Keep the tool local.</h2>+ <p class="panel-intro" data-en="Install once for Claude Code, Codex, or opencode. The packaged renderers and validators work without a hosted diagram service." data-zh="一次安装,即可用于 Claude Code、Codex 或 opencode。打包后的渲染器与校验器不依赖托管式图表服务。">Install once for Claude Code, Codex, or opencode. The packaged renderers and validators work without a hosted diagram service.</p>++ <div class="command-block">+ <div class="command-bar"><span data-en="Permanent install" data-zh="永久安装">Permanent install</span><button class="copy-button" type="button" data-copy-source="install-command" data-en="Copy" data-zh="复制">Copy</button></div>+ <pre id="install-command">npx skills add tt-a1i/archify -g</pre>+ </div>+ <div class="command-block">+ <div class="command-bar"><span data-en="One-off Codex run" data-zh="Codex 临时体验">One-off Codex run</span><button class="copy-button" type="button" data-copy-source="try-command" data-en="Copy" data-zh="复制">Copy</button></div>+ <pre id="try-command">npx skills use tt-a1i/archify@archify --agent codex</pre>+ </div>+ <p class="secondary-note" data-en="The viewer link carries only the diagram type. It does not include the title, nodes, edges, repository path, or source JSON." data-zh="Viewer 链接只携带图表类型,不包含标题、节点、连线、仓库路径或源 JSON。">The viewer link carries only the diagram type. It does not include the title, nodes, edges, repository path, or source JSON.</p>+ </article>++ <article class="panel" aria-live="polite">+ <div class="panel-kicker"><b>02</b><span data-en="Ask one bounded question" data-zh="只问一个有边界的问题">Ask one bounded question</span></div>+ <h2 id="recipe-title">System overview</h2>+ <p class="question" id="recipe-question"></p>+ <ul class="include-list" id="include-list" aria-label="Required evidence"></ul>+ <p class="prompt-box" id="recipe-prompt"></p>+ <div class="actions">+ <button class="action action-primary" id="copy-prompt" type="button" data-en="Copy exact prompt" data-zh="复制准确提示词">Copy exact prompt</button>+ <a class="action" id="proof-link" href="gallery.html" data-en="Open verified proof ↗" data-zh="打开验证成品 ↗">Open verified proof ↗</a>+ <a class="action" href="guide.html" data-en="Need another recipe?" data-zh="需要其他配方?">Need another recipe?</a>+ </div>+ <p class="proof-meta" id="proof-meta"></p>+ </article>+ </section>++ <footer class="page-footer">+ <span>Archify v2.11.0 · self-contained HTML · typed JSON source</span>+ <span id="copy-status" role="status" aria-live="polite"></span>+ <a href="https://github.com/tt-a1i/archify" data-en="View source on GitHub ↗" data-zh="在 GitHub 查看源码 ↗">View source on GitHub ↗</a>+ </footer>+ </main>++ <script id="start-data" type="application/json">{"architecture":{"id":"system-overview","type":"architecture","proof":"web-app","presentation":{"preset":"classic","motion":"static","views":"optional"},"en":{"title":"System overview","question":"What exists, who owns it, and how is it connected?","summary":"A bounded map of core components, external dependencies, primary paths, and trust boundaries.","useWhen":"Onboarding, design reviews, repository orientation, or explaining a service landscape.","avoidWhen":"The audience needs exact call order, state transitions, or row-level data lineage.","include":["8–12 core components","one primary path","external dependencies","trust boundaries"],"prompt":"Analyze this repository, then use Archify to create a high-level architecture diagram. Show 8–12 core runtime components, one primary request or data path, external dependencies, ownership or trust boundaries, and put supporting detail in cards instead of adding more edges."},"zh":{"title":"系统总览","question":"系统里有什么、归谁负责、彼此如何连接?","summary":"用一张有边界的图展示核心组件、外部依赖、主路径和信任边界。","useWhen":"适合新人上手、方案评审、仓库梳理和服务全景说明。","avoidWhen":"如果重点是精确调用顺序、状态流转或字段级血缘,请换其他配方。","include":["8–12 个核心组件","一条主路径","外部依赖","归属或信任边界"],"prompt":"分析这个仓库,然后用 Archify 生成高层系统架构图。展示 8–12 个核心运行时组件、一条主要请求或数据路径、外部依赖、归属或信任边界;支持性细节放进卡片,不要继续堆连线。"}},"workflow":{"id":"agent-tool-call","type":"workflow","proof":"agent-tool-call","presentation":{"preset":"signal-flow","motion":"trace","views":"recommended"},"en":{"title":"Agent tool-call loop","question":"How does an agent plan, get permission, act, recover, and report?","summary":"A lane-based agent loop with policy gates, tool execution, exception recovery, evidence, and final response.","useWhen":"Explaining agent runtimes, MCP/tool orchestration, approvals, retries, or observability.","avoidWhen":"The goal is only to show static agent components or exact API message timing.","include":["request and planning","policy or approval gate","tool execution","exception and evidence paths"],"prompt":"Use Archify workflow mode to explain this agent tool-call loop. Separate user surface, agent runtime, policy boundary, exception handling, tool execution, and observability into lanes. Make the successful path primary and show approval, retry, blocked, and evidence paths explicitly."},"zh":{"title":"智能体工具调用","question":"智能体如何规划、获批、执行、恢复并汇报?","summary":"用泳道表达策略门、工具执行、异常恢复、证据和最终回复。","useWhen":"适合解释 Agent Runtime、MCP/工具编排、审批、重试和可观测性。","avoidWhen":"如果只想看静态组件,或重点是精确 API 消息时序,请换其他配方。","include":["请求与规划","策略或审批门","工具执行","异常与证据路径"],"prompt":"用 Archify 工作流模式解释这段智能体工具调用。把用户界面、Agent Runtime、策略边界、异常处理、工具执行和可观测性分成泳道;突出成功主路径,并明确展示审批、重试、阻塞和证据路径。"}},"sequence":{"id":"api-request","type":"sequence","proof":"cache-miss","presentation":{"preset":"classic","motion":"trace","views":"optional"},"en":{"title":"API request chain","question":"Who calls whom, in what order, and what returns?","summary":"A time-ordered request path with authentication, cache fallback, persistence, return traffic, and async trace.","useWhen":"API documentation, debugging request latency, auth reviews, or explaining cache fallback.","avoidWhen":"Order is unimportant and the audience only needs the stable service topology.","include":["callers and callees","request and return messages","fallback or error path","async side effects"],"prompt":"Use Archify sequence mode to show this request from caller to final response. Include authentication, cache hit or miss, persistence fallback, return messages, and asynchronous trace or event emission. Keep message labels short and order unambiguous."},"zh":{"title":"API 请求链","question":"谁调用谁、顺序如何、最终返回什么?","summary":"按时间展示鉴权、缓存回退、持久化、返回流量和异步追踪。","useWhen":"适合 API 文档、请求耗时排查、鉴权评审和缓存回退说明。","avoidWhen":"如果顺序不重要,受众只需要稳定的服务拓扑,请用架构图。","include":["调用方与被调用方","请求与返回消息","回退或错误路径","异步副作用"],"prompt":"用 Archify 时序模式展示从调用方到最终响应的完整请求。包含鉴权、缓存命中或未命中、持久化回退、返回消息,以及异步 Trace 或事件上报;消息标签保持简短,顺序必须明确。"}},"dataflow":{"id":"event-stream","type":"dataflow","proof":"event-stream","presentation":{"preset":"signal-flow","motion":"trace","views":"recommended"},"en":{"title":"Event-stream topology","question":"Which events move through which topics, processors, groups, and failure paths?","summary":"A stream map of producers, topics, ordered processors, consumer groups, state, replay, and DLQ.","useWhen":"Kafka/event-platform design, stream processing reviews, ownership, replay, and failure handling.","avoidWhen":"Topic names, consumer groups, and delivery semantics are not known—use a generic workflow instead.","include":["producers and event names","topics and ordering","processors and consumer groups","state, replay, and DLQ"],"prompt":"Use Archify dataflow mode to draw this event-stream topology. Name producers, events, topics, ordered processors, consumer groups, state stores, replay paths, and the DLQ. Show ownership and delivery semantics only when supported by evidence."},"zh":{"title":"事件流拓扑","question":"哪些事件经过哪些 Topic、处理器、消费者组和失败路径?","summary":"展示生产者、Topic、有序处理器、消费者组、状态、重放和 DLQ。","useWhen":"适合 Kafka/事件平台设计、流处理评审、归属、重放和失败处理。","avoidWhen":"如果 Topic、消费者组和投递语义都不清楚,请先用通用工作流,不要编造事件拓扑。","include":["生产者与事件名","Topic 与顺序","处理器与消费者组","状态、重放与 DLQ"],"prompt":"用 Archify 数据流模式绘制这段事件流拓扑。命名生产者、事件、Topic、有序处理器、消费者组、状态存储、重放路径和 DLQ;只有在证据充分时才标注归属和投递语义。"}},"lifecycle":{"id":"object-lifecycle","type":"lifecycle","proof":"agent-run","presentation":{"preset":"classic","motion":"trace","views":"optional"},"en":{"title":"Object lifecycle","question":"Which states exist, what events move between them, and how does it end?","summary":"A state model with active work, waits, retries, cancellation, failure, and explicit terminal outcomes.","useWhen":"Tasks, orders, tickets, subscriptions, jobs, agent runs, or any durable object with status.","avoidWhen":"The object has no durable state and the real question is participant interaction over time.","include":["start and active states","event-labelled transitions","wait and retry states","all terminal outcomes"],"prompt":"Use Archify lifecycle mode to model this object. Separate main progress, waiting or interruption states, and terminal outcomes. Label transitions with events, include retry, cancellation, timeout, success, and failure where real, and never hide an ending."},"zh":{"title":"对象生命周期","question":"有哪些状态、什么事件触发流转、最终如何结束?","summary":"展示执行、等待、重试、取消、失败以及明确终态的状态模型。","useWhen":"适合任务、订单、工单、订阅、作业、Agent Run 等带持久状态的对象。","avoidWhen":"对象没有持久状态,真正问题是参与者随时间的交互时,请使用时序图。","include":["开始与执行态","带事件的转换","等待与重试态","所有终态"],"prompt":"用 Archify 生命周期模式建模这个对象。分开主进度、等待或中断状态和终态;用事件标注转换,并在真实存在时展示重试、取消、超时、成功和失败,不能隐藏任何结束方式。"}}}</script>+ <script>+ (function () {+ 'use strict';++ var DATA = JSON.parse(document.getElementById('start-data').textContent);+ var KNOWN_TYPES = new Set(['architecture', 'workflow', 'sequence', 'dataflow', 'lifecycle']);+ var params = new URLSearchParams(window.location.search);+ var requestedType = params.get('type');+ var requestedLanguage = params.get('lang');+ var type = KNOWN_TYPES.has(requestedType) ? requestedType : 'architecture';+ var language = requestedLanguage === 'zh' || requestedLanguage === 'en'+ ? requestedLanguage+ : ((navigator.languages && navigator.languages[0]) || navigator.language || 'en').toLowerCase().startsWith('zh') ? 'zh' : 'en';++ var title = document.getElementById('recipe-title');+ var question = document.getElementById('recipe-question');+ var prompt = document.getElementById('recipe-prompt');+ var includeList = document.getElementById('include-list');+ var proofLink = document.getElementById('proof-link');+ var proofMeta = document.getElementById('proof-meta');+ var copyStatus = document.getElementById('copy-status');+ var languageButton = document.getElementById('language');++ function copyForElement(element) {+ return language === 'zh' ? element.dataset.zh : element.dataset.en;+ }++ function updateStaticCopy() {+ document.documentElement.lang = language === 'zh' ? 'zh-CN' : 'en';+ document.querySelectorAll('[data-en][data-zh]').forEach(function (element) {+ element.textContent = copyForElement(element);+ });+ languageButton.textContent = language === 'zh' ? 'EN' : '中文';+ languageButton.setAttribute('aria-label', language === 'zh' ? 'Switch to English' : '切换到中文');+ }++ function updateUrl() {+ var next = new URLSearchParams(window.location.search);+ next.set('type', type);+ next.set('lang', language);+ history.replaceState(null, '', window.location.pathname + '?' + next.toString());+ }++ function render() {+ var recipe = DATA[type];+ var copy = recipe[language];+ updateStaticCopy();+ document.querySelectorAll('[data-type]').forEach(function (button) {+ var active = button.dataset.type === type;+ button.setAttribute('aria-selected', String(active));+ button.tabIndex = active ? 0 : -1;+ });+ title.textContent = copy.title;+ question.textContent = copy.question;+ prompt.textContent = copy.prompt;+ includeList.replaceChildren.apply(includeList, copy.include.map(function (item) {+ var entry = document.createElement('li');+ entry.textContent = item;+ return entry;+ }));+ proofLink.href = 'gallery.html#proof-' + encodeURIComponent(recipe.proof);+ proofMeta.textContent = language === 'zh'+ ? '验证成品 · ' + recipe.presentation.preset + ' · ' + recipe.presentation.motion+ : 'Verified proof · ' + recipe.presentation.preset + ' · ' + recipe.presentation.motion;+ copyStatus.textContent = '';+ updateUrl();+ }++ function fallbackCopy(text) {+ var area = document.createElement('textarea');+ area.value = text;+ area.setAttribute('readonly', '');+ area.style.position = 'fixed';+ area.style.opacity = '0';+ document.body.appendChild(area);+ area.select();+ var ok = document.execCommand('copy');+ area.remove();+ if (!ok) throw new Error('copy failed');+ }++ async function copyText(text) {+ try {+ if (navigator.clipboard && window.isSecureContext) await navigator.clipboard.writeText(text);+ else fallbackCopy(text);+ copyStatus.textContent = language === 'zh' ? '已复制到剪贴板。' : 'Copied to clipboard.';+ } catch (_) {+ copyStatus.textContent = language === 'zh' ? '复制失败,请手动选择文本。' : 'Copy failed. Select the text manually.';+ }+ }++ document.querySelectorAll('[data-type]').forEach(function (button) {+ button.addEventListener('click', function () {+ type = button.dataset.type;+ render();+ });+ button.addEventListener('keydown', function (event) {+ var buttons = Array.from(document.querySelectorAll('[data-type]'));+ var index = buttons.indexOf(button);+ if (event.key === 'ArrowRight' || event.key === 'ArrowDown') index = (index + 1) % buttons.length;+ else if (event.key === 'ArrowLeft' || event.key === 'ArrowUp') index = (index - 1 + buttons.length) % buttons.length;+ else if (event.key === 'Home') index = 0;+ else if (event.key === 'End') index = buttons.length - 1;+ else return;+ event.preventDefault();+ buttons[index].click();+ buttons[index].focus();+ });+ });++ document.querySelectorAll('[data-copy-source]').forEach(function (button) {+ button.addEventListener('click', function () {+ copyText(document.getElementById(button.dataset.copySource).textContent.trim());+ });+ });+ document.getElementById('copy-prompt').addEventListener('click', function () {+ copyText(DATA[type][language].prompt);+ });+ languageButton.addEventListener('click', function () {+ language = language === 'zh' ? 'en' : 'zh';+ render();+ });++ render();+ })();+ </script>+</body>+</html>diff --git a/examples/dataflow-product-analytics.html b/examples/dataflow-product-analytics.htmlindex 6a6d99f2..9fcf73cd 100644--- a/examples/dataflow-product-analytics.html+++ b/examples/dataflow-product-analytics.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscape@@ -4265,7 +4278,7 @@<!-- Footer --><p class="footer">- Data-flow diagram • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>+ Data-flow diagram • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="https://tt-a1i.github.io/archify/start.html?type=dataflow" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span></p></div>diff --git a/examples/lifecycle-agent-run.html b/examples/lifecycle-agent-run.htmlindex 80a604b2..ae6c6be9 100644--- a/examples/lifecycle-agent-run.html+++ b/examples/lifecycle-agent-run.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscape@@ -4218,7 +4231,7 @@<!-- Footer --><p class="footer">- Lifecycle diagram • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>+ Lifecycle diagram • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="https://tt-a1i.github.io/archify/start.html?type=lifecycle" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span></p></div>diff --git a/examples/sequence-cache-miss-request.html b/examples/sequence-cache-miss-request.htmlindex 1c6e9d78..4da7ab5f 100644--- a/examples/sequence-cache-miss-request.html+++ b/examples/sequence-cache-miss-request.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscape@@ -4269,7 +4282,7 @@<!-- Footer --><p class="footer">- Sequence diagram • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>+ Sequence diagram • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="https://tt-a1i.github.io/archify/start.html?type=sequence" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span></p></div>diff --git a/examples/web-app-rendered.html b/examples/web-app-rendered.htmlindex a4c638c0..63e2d407 100644--- a/examples/web-app-rendered.html+++ b/examples/web-app-rendered.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscape@@ -4234,7 +4247,7 @@<!-- Footer --><p class="footer">- Architecture diagram • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>+ Architecture diagram • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="https://tt-a1i.github.io/archify/start.html?type=architecture" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span></p></div>diff --git a/examples/web-app.html b/examples/web-app.htmlindex a4c638c0..63e2d407 100644--- a/examples/web-app.html+++ b/examples/web-app.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscape@@ -4234,7 +4247,7 @@<!-- Footer --><p class="footer">- Architecture diagram • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>+ Architecture diagram • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="https://tt-a1i.github.io/archify/start.html?type=architecture" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span></p></div>diff --git a/examples/workflow-agent-tool-call-rendered.html b/examples/workflow-agent-tool-call-rendered.htmlindex be6e95a7..5636950a 100644--- a/examples/workflow-agent-tool-call-rendered.html+++ b/examples/workflow-agent-tool-call-rendered.html@@ -2402,6 +2402,19 @@font-size: 0.75rem;}+ .footer .artifact-start-link {+ color: var(--text-faint);+ text-decoration-color: color-mix(in srgb, var(--frontend-stroke) 48%, transparent);+ text-underline-offset: 0.22em;+ transition: color 0.15s ease, text-decoration-color 0.15s ease;+ }++ .footer .artifact-start-link:hover,+ .footer .artifact-start-link:focus-visible {+ color: var(--frontend-stroke);+ text-decoration-color: currentColor;+ }+/* ==========================================================Print stylesheet — hide interactive controls, force light,drop the grid so the diagram doesn't waste ink, use landscape@@ -4298,7 +4311,7 @@<!-- Footer --><p class="footer">- Workflow diagram • Built with Archify<span class="no-print"> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span>+ Workflow diagram • Built with Archify<span class="no-print"> • <a class="artifact-start-link" href="https://tt-a1i.github.io/archify/start.html?type=workflow" target="_blank" rel="noopener noreferrer">Create yours ↗</a> • Hover to trace • <kbd>R</kbd> route • Click to focus • <kbd>+</kbd>/<kbd>−</kbd> zoom • <kbd>M</kbd> radar • <kbd>[</kbd>/<kbd>]</kbd> views • <kbd>P</kbd> play story • <kbd>T</kbd> theme • <kbd>E</kbd> export</span></p></div>diff --git a/scripts/build-start.mjs b/scripts/build-start.mjsnew file mode 100644index 00000000..d49823d8--- /dev/null+++ b/scripts/build-start.mjs@@ -0,0 +1,58 @@+#!/usr/bin/env node++import fs from 'node:fs';+import path from 'node:path';+import { fileURLToPath } from 'node:url';+import { SCENARIO_RECIPES } from '../archify/recipes/scenarios.mjs';++const __dirname = path.dirname(fileURLToPath(import.meta.url));+const repoRoot = path.resolve(__dirname, '..');+const templatePath = path.join(__dirname, 'start-template.html');+const outputPath = path.resolve(process.argv[2] || path.join(repoRoot, 'docs/start.html'));+const packageJson = JSON.parse(fs.readFileSync(path.join(repoRoot, 'archify/package.json'), 'utf8'));++const START_RECIPE_IDS = Object.freeze({+ architecture: 'system-overview',+ workflow: 'agent-tool-call',+ sequence: 'api-request',+ dataflow: 'event-stream',+ lifecycle: 'object-lifecycle',+});++const startData = Object.fromEntries(Object.entries(START_RECIPE_IDS).map(([type, id]) => {+ const recipe = SCENARIO_RECIPES.find((candidate) => candidate.id === id);+ if (!recipe || recipe.type !== type) {+ throw new Error(`Missing canonical start recipe ${JSON.stringify(id)} for ${type}.`);+ }+ return [type, {+ id: recipe.id,+ type: recipe.type,+ proof: recipe.proof,+ presentation: recipe.presentation,+ en: recipe.en,+ zh: recipe.zh,+ }];+}));++const startJson = JSON.stringify(startData)+ .replaceAll('&', '\\u0026')+ .replaceAll('<', '\\u003c')+ .replaceAll('>', '\\u003e');++const replacements = {+ '[[ARCHIFY_VERSION]]': packageJson.version,+ '[[START_JSON]]': startJson,+};++let output = fs.readFileSync(templatePath, 'utf8');+for (const [placeholder, value] of Object.entries(replacements)) {+ output = output.replaceAll(placeholder, value);+}++if (/\[\[[A-Z0-9_]+\]\]/.test(output)) {+ throw new Error('Start template still contains unresolved placeholders.');+}++fs.mkdirSync(path.dirname(outputPath), { recursive: true });+fs.writeFileSync(outputPath, output);+console.log(`Built ${outputPath} with ${Object.keys(startData).length} bounded starts.`);diff --git a/scripts/start-template.html b/scripts/start-template.htmlnew file mode 100644index 00000000..fc0f5b67--- /dev/null+++ b/scripts/start-template.html@@ -0,0 +1,381 @@+<!DOCTYPE html>+<html lang="en">+<head>+ <meta charset="UTF-8">+ <meta name="viewport" content="width=device-width, initial-scale=1.0">+ <title>Archify Start — From Artifact to First Diagram</title>+ <meta name="description" content="Install Archify, copy one bounded prompt, and create a verifiable technical diagram without sending repository or diagram content to this page.">+ <meta name="theme-color" content="#020617">+ <meta property="og:type" content="website">+ <meta property="og:title" content="Archify Start — One bounded prompt to a verifiable diagram">+ <meta property="og:description" content="Choose a technical question, install Archify, and copy an exact prompt backed by a verified example.">+ <meta property="og:url" content="https://tt-a1i.github.io/archify/start.html">+ <meta property="og:image" content="https://tt-a1i.github.io/archify/assets/archify-social-preview.png">+ <link rel="preconnect" href="https://fonts.googleapis.com">+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>+ <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">+ <style>+ :root {+ --bg:#020617;+ --panel:#07101f;+ --panel-raised:#0a1425;+ --border:#1e293b;+ --border-hi:#334155;+ --text:#f8fafc;+ --muted:#94a3b8;+ --dim:#64748b;+ --cyan:#22d3ee;+ --cyan-soft:rgba(34,211,238,.1);+ --emerald:#34d399;+ --emerald-soft:rgba(52,211,153,.08);+ --amber:#fbbf24;+ --focus:#67e8f9;+ }++ *,*::before,*::after { box-sizing:border-box; }+ html { color-scheme:dark; }+ body {+ margin:0;+ min-height:100vh;+ overflow-x:hidden;+ background:var(--bg);+ color:var(--text);+ font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;+ }+ body::before {+ content:'';+ position:fixed;+ inset:0;+ z-index:-2;+ background-image:linear-gradient(rgba(30,41,59,.42) 1px,transparent 1px),linear-gradient(90deg,rgba(30,41,59,.42) 1px,transparent 1px);+ background-size:40px 40px;+ mask-image:linear-gradient(to bottom,black 0%,rgba(0,0,0,.38) 72%,transparent 100%);+ }+ body::after {+ content:'';+ position:fixed;+ inset:0;+ z-index:-1;+ pointer-events:none;+ background:linear-gradient(90deg,rgba(2,6,23,.88),transparent 22%,transparent 78%,rgba(2,6,23,.88));+ }++ a { color:inherit; }+ button { font:inherit; }+ :focus-visible { outline:2px solid var(--focus); outline-offset:3px; }++ .nav {+ min-height:64px;+ padding:0 2rem;+ display:flex;+ align-items:center;+ justify-content:space-between;+ gap:1rem;+ border-bottom:1px solid var(--border);+ background:rgba(2,6,23,.9);+ backdrop-filter:blur(14px);+ }+ .brand { display:flex; align-items:center; gap:.75rem; text-decoration:none; font-size:.85rem; font-weight:700; }+ .brand-mark { width:26px; height:26px; color:var(--cyan); }+ .brand-path { color:var(--dim); font-weight:500; }+ .nav-links { display:flex; align-items:center; gap:1.25rem; }+ .nav-links a { color:var(--muted); font-size:.7rem; font-weight:600; text-decoration:none; }+ .nav-links a:hover { color:var(--text); }+ .language {+ min-height:36px;+ padding:.45rem .7rem;+ border:1px solid var(--border-hi);+ border-radius:6px;+ background:transparent;+ color:var(--muted);+ cursor:pointer;+ }+ .language:hover { color:var(--text); border-color:var(--dim); }++ main { width:min(1120px,calc(100% - 3rem)); margin:0 auto; padding:5rem 0 4rem; }+ .lead { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(260px,.65fr); gap:4rem; align-items:end; margin-bottom:3rem; }+ .eyebrow { margin:0 0 1rem; color:var(--cyan); font-size:.68rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }+ h1 { max-width:780px; margin:0; font-size:clamp(2.1rem,5.3vw,4.7rem); line-height:1.04; letter-spacing:-.055em; text-wrap:balance; }+ h1 span { color:var(--cyan); }+ html[lang^="zh"] .title-gap { display:none; }+ .lead-copy { margin:0; color:var(--muted); font-size:.8rem; line-height:1.8; }+ .trust-line { display:flex; gap:.7rem; align-items:flex-start; margin-top:1rem; color:var(--emerald); font-size:.68rem; line-height:1.65; }+ .trust-line::before { content:'✓'; flex:0 0 auto; }++ .type-shell { margin-bottom:1.25rem; padding:.75rem; border:1px solid var(--border); background:rgba(7,16,31,.82); }+ .type-label { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin:0 0 .65rem; color:var(--dim); font-size:.62rem; letter-spacing:.1em; text-transform:uppercase; }+ .type-label strong { color:var(--emerald); font-weight:600; }+ .type-tabs { display:grid; grid-template-columns:repeat(5,1fr); gap:1px; border:1px solid var(--border); background:var(--border); }+ .type-tab {+ min-height:48px;+ border:0;+ background:var(--panel);+ color:var(--muted);+ cursor:pointer;+ font-size:.7rem;+ font-weight:600;+ transition:background .15s,color .15s,box-shadow .15s;+ }+ .type-tab:hover { background:var(--panel-raised); color:var(--text); }+ .type-tab[aria-selected="true"] { color:var(--cyan); background:var(--cyan-soft); box-shadow:inset 0 -2px var(--cyan); }++ .workbench { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:1px; border:1px solid var(--border-hi); background:var(--border-hi); box-shadow:0 24px 80px rgba(0,0,0,.32); }+ .panel { min-width:0; padding:2rem; background:rgba(7,16,31,.96); }+ .panel-kicker { display:flex; align-items:center; gap:.7rem; margin-bottom:1.4rem; color:var(--dim); font-size:.62rem; letter-spacing:.12em; text-transform:uppercase; }+ .panel-kicker b { display:grid; place-items:center; width:26px; height:26px; border:1px solid var(--border-hi); color:var(--cyan); font-size:.64rem; }+ .panel h2 { margin:0 0 .65rem; font-size:1.05rem; letter-spacing:-.025em; }+ .panel-intro { min-height:3.9rem; margin:0 0 1.5rem; color:var(--muted); font-size:.72rem; line-height:1.75; }++ .command-block { margin-top:1rem; border:1px solid var(--border); background:#030914; }+ .command-bar { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.62rem .75rem; border-bottom:1px solid var(--border); color:var(--dim); font-size:.6rem; text-transform:uppercase; letter-spacing:.08em; }+ .copy-button { border:0; background:transparent; color:var(--cyan); cursor:pointer; font-size:.62rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }+ .copy-button:hover { color:#a5f3fc; }+ pre { margin:0; padding:1rem; overflow:auto; color:#d9f9ff; font:500 .7rem/1.65 'JetBrains Mono',ui-monospace,monospace; white-space:pre-wrap; overflow-wrap:anywhere; }+ .secondary-note { margin:1.25rem 0 0; padding:1rem; border-left:2px solid var(--emerald); background:var(--emerald-soft); color:var(--muted); font-size:.67rem; line-height:1.7; }++ .question { margin:0 0 1rem; color:var(--text); font-size:.82rem; line-height:1.65; }+ .include-list { display:flex; flex-wrap:wrap; gap:.45rem; margin:0 0 1.2rem; padding:0; list-style:none; }+ .include-list li { padding:.35rem .55rem; border:1px solid var(--border-hi); color:var(--muted); font-size:.6rem; background:rgba(15,23,42,.5); }+ .prompt-box { min-height:172px; margin:0; padding:1.15rem; border:1px solid rgba(34,211,238,.28); background:rgba(8,51,68,.14); color:#e6fbff; font-size:.72rem; line-height:1.82; white-space:pre-wrap; }+ .actions { display:flex; align-items:center; flex-wrap:wrap; gap:.7rem; margin-top:1rem; }+ .action { min-height:42px; display:inline-flex; align-items:center; justify-content:center; padding:.65rem .9rem; border:1px solid var(--border-hi); background:transparent; color:var(--muted); font:600 .68rem 'JetBrains Mono',ui-monospace,monospace; text-decoration:none; cursor:pointer; }+ .action:hover { color:var(--text); border-color:var(--dim); }+ .action-primary { border-color:var(--cyan); background:var(--cyan); color:#041019; }+ .action-primary:hover { background:#67e8f9; border-color:#67e8f9; color:#041019; }+ .proof-meta { margin-top:1.1rem; color:var(--dim); font-size:.61rem; line-height:1.65; }++ .page-footer { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-top:1rem; color:var(--dim); font-size:.62rem; }+ .page-footer a { color:var(--muted); text-decoration:none; }+ .page-footer a:hover { color:var(--text); }+ #copy-status { min-height:1.1rem; color:var(--emerald); }++ @media (max-width:840px) {+ main { width:min(100% - 2rem,720px); padding-top:3rem; }+ .lead { grid-template-columns:1fr; gap:1.3rem; }+ .workbench { grid-template-columns:1fr; }+ .type-tabs { grid-template-columns:repeat(2,1fr); }+ .type-tab:last-child { grid-column:1 / -1; }+ }+ @media (max-width:560px) {+ .nav { padding:0 1rem; }+ .nav-links > a { display:none; }+ main { width:calc(100% - 1.5rem); padding-top:2.5rem; }+ .panel { padding:1.25rem; }+ .type-tabs { grid-template-columns:1fr; }+ .type-tab:last-child { grid-column:auto; }+ .page-footer { align-items:flex-start; flex-direction:column; }+ }+ @media (prefers-reduced-motion:reduce) {+ *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; }+ }+ </style>+</head>+<body>+ <nav class="nav" aria-label="Primary navigation">+ <a class="brand" href="./" aria-label="Archify project page">+ <svg class="brand-mark" viewBox="0 0 28 28" fill="none" aria-hidden="true">+ <polygon points="14,2 26,8 26,20 14,26 2,20 2,8" fill="rgba(8,51,68,.7)" stroke="currentColor" stroke-width="1.5"/>+ <circle cx="14" cy="14" r="2.6" fill="currentColor"/>+ <path d="M14 2v9M14 17v9M2 8l9 5M17 15l9 5" stroke="currentColor" stroke-width="1" opacity=".55"/>+ </svg>+ <span>Archify <span class="brand-path">/ start</span></span>+ </a>+ <div class="nav-links">+ <a href="guide.html" data-en="Scenario guide" data-zh="场景指南">Scenario guide</a>+ <a href="gallery.html" data-en="Proof Lab" data-zh="验证成品">Proof Lab</a>+ <a href="https://github.com/tt-a1i/archify">GitHub ↗</a>+ <button class="language" id="language" type="button" aria-label="Switch language">中文</button>+ </div>+ </nav>++ <main>+ <header class="lead">+ <div>+ <p class="eyebrow" data-en="01 / From a real artifact to your own" data-zh="01 / 从真实成品到你自己的图">01 / From a real artifact to your own</p>+ <h1><span data-en="One install." data-zh="一次安装,">One install.</span><span class="title-gap" aria-hidden="true"> </span><span data-en="One bounded prompt." data-zh="一段有边界的提示词。">One bounded prompt.</span></h1>+ </div>+ <div>+ <p class="lead-copy" data-en="Choose the technical question closest to the artifact you saw. Copy a tested starting prompt, then let your coding agent inspect the real repository before it draws." data-zh="选择最接近你刚才所看成品的技术问题。复制一段经过验证的起始提示词,再让编码智能体先检查真实仓库,然后作图。">Choose the technical question closest to the artifact you saw. Copy a tested starting prompt, then let your coding agent inspect the real repository before it draws.</p>+ <div class="trust-line" data-en="No repository content or diagram data is sent to this page." data-zh="这个页面不会接收仓库内容或图表数据。">No repository content or diagram data is sent to this page.</div>+ </div>+ </header>++ <section class="type-shell" aria-labelledby="type-label">+ <p class="type-label" id="type-label"><span data-en="Choose the question shape" data-zh="选择问题形态">Choose the question shape</span><strong data-en="5 typed renderers" data-zh="5 种类型化渲染器">5 typed renderers</strong></p>+ <div class="type-tabs" role="tablist" aria-label="Diagram type">+ <button class="type-tab" type="button" role="tab" data-type="architecture" data-en="Architecture" data-zh="架构图">Architecture</button>+ <button class="type-tab" type="button" role="tab" data-type="workflow" data-en="Workflow" data-zh="工作流">Workflow</button>+ <button class="type-tab" type="button" role="tab" data-type="sequence" data-en="Sequence" data-zh="时序图">Sequence</button>+ <button class="type-tab" type="button" role="tab" data-type="dataflow" data-en="Data flow" data-zh="数据流">Data flow</button>+ <button class="type-tab" type="button" role="tab" data-type="lifecycle" data-en="Lifecycle" data-zh="生命周期">Lifecycle</button>+ </div>+ </section>++ <section class="workbench" aria-label="Archify quick start">+ <article class="panel">+ <div class="panel-kicker"><b>01</b><span data-en="Install the skill" data-zh="安装 Skill">Install the skill</span></div>+ <h2 data-en="Keep the tool local." data-zh="让工具留在本地。">Keep the tool local.</h2>+ <p class="panel-intro" data-en="Install once for Claude Code, Codex, or opencode. The packaged renderers and validators work without a hosted diagram service." data-zh="一次安装,即可用于 Claude Code、Codex 或 opencode。打包后的渲染器与校验器不依赖托管式图表服务。">Install once for Claude Code, Codex, or opencode. The packaged renderers and validators work without a hosted diagram service.</p>++ <div class="command-block">+ <div class="command-bar"><span data-en="Permanent install" data-zh="永久安装">Permanent install</span><button class="copy-button" type="button" data-copy-source="install-command" data-en="Copy" data-zh="复制">Copy</button></div>+ <pre id="install-command">npx skills add tt-a1i/archify -g</pre>+ </div>+ <div class="command-block">+ <div class="command-bar"><span data-en="One-off Codex run" data-zh="Codex 临时体验">One-off Codex run</span><button class="copy-button" type="button" data-copy-source="try-command" data-en="Copy" data-zh="复制">Copy</button></div>+ <pre id="try-command">npx skills use tt-a1i/archify@archify --agent codex</pre>+ </div>+ <p class="secondary-note" data-en="The viewer link carries only the diagram type. It does not include the title, nodes, edges, repository path, or source JSON." data-zh="Viewer 链接只携带图表类型,不包含标题、节点、连线、仓库路径或源 JSON。">The viewer link carries only the diagram type. It does not include the title, nodes, edges, repository path, or source JSON.</p>+ </article>++ <article class="panel" aria-live="polite">+ <div class="panel-kicker"><b>02</b><span data-en="Ask one bounded question" data-zh="只问一个有边界的问题">Ask one bounded question</span></div>+ <h2 id="recipe-title">System overview</h2>+ <p class="question" id="recipe-question"></p>+ <ul class="include-list" id="include-list" aria-label="Required evidence"></ul>+ <p class="prompt-box" id="recipe-prompt"></p>+ <div class="actions">+ <button class="action action-primary" id="copy-prompt" type="button" data-en="Copy exact prompt" data-zh="复制准确提示词">Copy exact prompt</button>+ <a class="action" id="proof-link" href="gallery.html" data-en="Open verified proof ↗" data-zh="打开验证成品 ↗">Open verified proof ↗</a>+ <a class="action" href="guide.html" data-en="Need another recipe?" data-zh="需要其他配方?">Need another recipe?</a>+ </div>+ <p class="proof-meta" id="proof-meta"></p>+ </article>+ </section>++ <footer class="page-footer">+ <span>Archify v[[ARCHIFY_VERSION]] · self-contained HTML · typed JSON source</span>+ <span id="copy-status" role="status" aria-live="polite"></span>+ <a href="https://github.com/tt-a1i/archify" data-en="View source on GitHub ↗" data-zh="在 GitHub 查看源码 ↗">View source on GitHub ↗</a>+ </footer>+ </main>++ <script id="start-data" type="application/json">[[START_JSON]]</script>+ <script>+ (function () {+ 'use strict';++ var DATA = JSON.parse(document.getElementById('start-data').textContent);+ var KNOWN_TYPES = new Set(['architecture', 'workflow', 'sequence', 'dataflow', 'lifecycle']);+ var params = new URLSearchParams(window.location.search);+ var requestedType = params.get('type');+ var requestedLanguage = params.get('lang');+ var type = KNOWN_TYPES.has(requestedType) ? requestedType : 'architecture';+ var language = requestedLanguage === 'zh' || requestedLanguage === 'en'+ ? requestedLanguage+ : ((navigator.languages && navigator.languages[0]) || navigator.language || 'en').toLowerCase().startsWith('zh') ? 'zh' : 'en';++ var title = document.getElementById('recipe-title');+ var question = document.getElementById('recipe-question');+ var prompt = document.getElementById('recipe-prompt');+ var includeList = document.getElementById('include-list');+ var proofLink = document.getElementById('proof-link');+ var proofMeta = document.getElementById('proof-meta');+ var copyStatus = document.getElementById('copy-status');+ var languageButton = document.getElementById('language');++ function copyForElement(element) {+ return language === 'zh' ? element.dataset.zh : element.dataset.en;+ }++ function updateStaticCopy() {+ document.documentElement.lang = language === 'zh' ? 'zh-CN' : 'en';+ document.querySelectorAll('[data-en][data-zh]').forEach(function (element) {+ element.textContent = copyForElement(element);+ });+ languageButton.textContent = language === 'zh' ? 'EN' : '中文';+ languageButton.setAttribute('aria-label', language === 'zh' ? 'Switch to English' : '切换到中文');+ }++ function updateUrl() {+ var next = new URLSearchParams(window.location.search);+ next.set('type', type);+ next.set('lang', language);+ history.replaceState(null, '', window.location.pathname + '?' + next.toString());+ }++ function render() {+ var recipe = DATA[type];+ var copy = recipe[language];+ updateStaticCopy();+ document.querySelectorAll('[data-type]').forEach(function (button) {+ var active = button.dataset.type === type;+ button.setAttribute('aria-selected', String(active));+ button.tabIndex = active ? 0 : -1;+ });+ title.textContent = copy.title;+ question.textContent = copy.question;+ prompt.textContent = copy.prompt;+ includeList.replaceChildren.apply(includeList, copy.include.map(function (item) {+ var entry = document.createElement('li');+ entry.textContent = item;+ return entry;+ }));+ proofLink.href = 'gallery.html#proof-' + encodeURIComponent(recipe.proof);+ proofMeta.textContent = language === 'zh'+ ? '验证成品 · ' + recipe.presentation.preset + ' · ' + recipe.presentation.motion+ : 'Verified proof · ' + recipe.presentation.preset + ' · ' + recipe.presentation.motion;+ copyStatus.textContent = '';+ updateUrl();+ }++ function fallbackCopy(text) {+ var area = document.createElement('textarea');+ area.value = text;+ area.setAttribute('readonly', '');+ area.style.position = 'fixed';+ area.style.opacity = '0';+ document.body.appendChild(area);+ area.select();+ var ok = document.execCommand('copy');+ area.remove();+ if (!ok) throw new Error('copy failed');+ }++ async function copyText(text) {+ try {+ if (navigator.clipboard && window.isSecureContext) await navigator.clipboard.writeText(text);+ else fallbackCopy(text);+ copyStatus.textContent = language === 'zh' ? '已复制到剪贴板。' : 'Copied to clipboard.';+ } catch (_) {+ copyStatus.textContent = language === 'zh' ? '复制失败,请手动选择文本。' : 'Copy failed. Select the text manually.';+ }+ }++ document.querySelectorAll('[data-type]').forEach(function (button) {+ button.addEventListener('click', function () {+ type = button.dataset.type;+ render();+ });+ button.addEventListener('keydown', function (event) {+ var buttons = Array.from(document.querySelectorAll('[data-type]'));+ var index = buttons.indexOf(button);+ if (event.key === 'ArrowRight' || event.key === 'ArrowDown') index = (index + 1) % buttons.length;+ else if (event.key === 'ArrowLeft' || event.key === 'ArrowUp') index = (index - 1 + buttons.length) % buttons.length;+ else if (event.key === 'Home') index = 0;+ else if (event.key === 'End') index = buttons.length - 1;+ else return;+ event.preventDefault();+ buttons[index].click();+ buttons[index].focus();+ });+ });++ document.querySelectorAll('[data-copy-source]').forEach(function (button) {+ button.addEventListener('click', function () {+ copyText(document.getElementById(button.dataset.copySource).textContent.trim());+ });+ });+ document.getElementById('copy-prompt').addEventListener('click', function () {+ copyText(DATA[type][language].prompt);+ });+ languageButton.addEventListener('click', function () {+ language = language === 'zh' ? 'en' : 'zh';+ render();+ });++ render();+ })();+ </script>+</body>+</html>