AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Timeline DSL の公式LP / ドキュメント / Playgroundサイト(Astro + Starlight, Cloudflare Pages)
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
LP / documentation site for the public Timeline DSL project. Timeline DSL is a Rust-based DSL compiler for defining timelines as text, importing Wikidata-backed data, and rendering the result as HTML / SVG / PNG / PDF.
• Site:
• Main repository:
• Playground (this site, localized, HTML/SVG/.tdsl downloads):
• Alternate WebUI (main project, unlocalized):
• Latest tracked release in this site: v2.1.0 (site/public/wasm/package.json, generated changelog)查看完整 README ↗LP / documentation site for the public Timeline DSL project. Timeline DSL is a Rust-based DSL compiler for defining timelines as text, importing Wikidata-backed data, and rendering the result as HTML / SVG / PNG / PDF.
.tdsl downloads): https://timeline-dsl-lp.pages.dev/playground/v2.1.0 (site/public/wasm/package.json, generated changelog)| Area | Stack | Notes |
|---|---|---|
| Site framework | Astro 7 + Starlight 0.41 | Static LP, docs, changelog, gallery, showcase, and playground routes. |
| Language/runtime | TypeScript 6, Node.js 26, pnpm 12 | All commands run under site/. |
| Styling | Astro components + CSS tokens | Global design tokens live in site/src/styles/tokens.css; avoid ad-hoc colors. |
| Playground | Vendored @keroway/tdsl-wasm 2.1.0 | Browser validation and SVG rendering go through site/src/lib/tdsl-wasm.ts. |
| Search | Pagefind generated at build time | Used by the site-wide search dialog. |
| Quality | astro check, Vitest, Biome, Prettier, axe-core, Playwright, Lighthouse CI | pnpm build is the minimum CI gate; extra smoke scripts cover SEO/i18n/a11y/playground. |
| Hosting | Cloudflare Pages | GitHub integration builds from site/ and publishes dist/. |
cd site
pnpm install --frozen-lockfile
pnpm dev
Common commands:
pnpm fetch:releases # Fetch keroway/timeline-dsl GitHub Releases into site/src/data/
pnpm smoke:wasm # Smoke-test the vendored WASM bridge
pnpm smoke:playground # HTTP smoke test for Playground
pnpm smoke:a11y # axe-core audit for key pages (requires Chromium)
pnpm lint
pnpm format:check
pnpm build # smoke:wasm → astro check → astro build
pnpm check # lint → format:check → test:unit → build → bundle-size (local CI mirror, non-browser)
pnpm check:full # pnpm check + preview server + all browser/a11y/visual/Lighthouse gates
pnpm preview
Deployment is handled by Cloudflare Pages via GitHub integration. GitHub Actions runs the Site build workflow's full required-status-check gate (lint, format:check, test:unit, build, bundle-size, smoke:seo, smoke:i18n, smoke:i18n:browser, smoke:playground, smoke:playground:browser, smoke:a11y, test:visual, lhci) as CI only; publishing and Preview URL creation are delegated to Cloudflare Pages. pnpm check mirrors the non-browser steps locally, and pnpm check:full additionally covers the browser-dependent gates.
Cloudflare Pages project:
timeline-dslmainpnpm builddistsiteWorkflows:
Site build: Runs the full CI gate (lint / format:check / test:unit / build / bundle-size / smoke:seo / smoke:i18n / smoke:i18n:browser / smoke:playground / smoke:playground:browser / smoke:a11y / test:visual / lhci) on PR, main push, and manual dispatch.Remove in-progress label on close: When a PR is merged, removes the in-progress label from issues referenced by Closes #N / Fixes #N / Resolves #N in the PR body. Also removes the label when an issue is directly closed. On manual dispatch, specify issue_number to remove the label from any issue.Event policy:
pull_request: Runs GitHub Actions Site build and Cloudflare Pages Preview deployment. During review, verify / and /docs/ on the Cloudflare Pages Preview URL.push to main: Cloudflare Pages deploys to https://timeline-dsl-lp.pages.dev as the production branch.release.published: Not used as a direct deploy trigger via the Cloudflare Pages GitHub integration. Releases are published after a main merge once the production deployment succeeds.workflow_dispatch: Limited to manually re-running GitHub Actions CI. To re-run a deployment, use the Retry deployment button in the Cloudflare Pages dashboard.If the Cloudflare settings UI requires a Deploy command or shows a deploy command for non-production branches, you are looking at Workers Builds, not Pages. This site is a Pages project — import the GitHub repository from Pages in the Cloudflare dashboard, not Workers.
The Site build workflow runs Lighthouse CI (@lhci/cli) against the running preview server after the smoke tests, guarding against silent regressions in performance, accessibility, SEO, and best-practices scores. Run it locally with the preview server up:
cd site
pnpm preview & # or pnpm dev
pnpm lhci # set LHCI_BASE_URL to target a non-default origin
Audited pages (one per archetype, across both locales): /, /en/, /docs/, /playground/, /gallery/, /showcase/, /changelog/. Each is measured 3 times and the median is asserted. Config: site/lighthouserc.cjs.
Baseline thresholds and their rationale:
| Category | Level | Min score | Rationale |
|---|---|---|---|
| Performance | error | 0.80 | LCP/TBT vary with shared CI runner load, which is why it originally started as a non-blocking warning; promoted to error after 3+ months and 15+ runs showed zero threshold breaches (#663). |
| Accessibility | error | 0.90 | A static, token-driven site clears this reliably; complements the axe-core smoke:a11y audit. |
| Best practices | error | 0.90 | Catches console errors, insecure resources, and deprecated APIs introduced by future changes. |
| SEO | error | 0.90 | The site lives or dies by discoverability; metadata/hreflang/JSON-LD regressions must fail CI. |
Desktop preset is used (the docs site is primarily read on desktop, and it keeps the performance score stable). To raise a threshold or promote performance to error, edit the assert.assertions block in site/lighthouserc.cjs.
All calls to the Timeline DSL WASM from the Playground and runnable docs go through site/src/lib/tdsl-wasm.ts only. The generated @keroway/tdsl-wasm browser package is vendored in site/public/wasm/ so the LP can build independently of the main repository release pipeline.
To update: build crates/tdsl-wasm in the main repo with wasm-pack build --target web, then sync tdsl_wasm.{js,d.ts}, tdsl_wasm_bg.wasm, and package.json into site/public/wasm/. pnpm build runs check_source and render_svg_from_source smoke tests before the main build.