尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
Hedgr Copilot is a monorepo for Hedgr's developer tooling and web app surfaces. It's optimized for Doppler-first config, fork-safe CI, and lean validation (test/typecheck/lint).
Requirements
• Node 20 with Corepack (pnpm managed via Corepack)
• Doppler CLI (source of truth for env/secrets)
• Docker (optional, for dev:docker)
See docs/local-dev.md for Doppler setup and observability toggles.檢視完整 README ↗Hedgr Copilot is a monorepo for Hedgr's developer tooling and web app surfaces. It's optimized for Doppler-first config, fork-safe CI, and lean validation (test/typecheck/lint).
.
├─ apps/
│ └─ frontend/ # Next.js (Pages Router), API routes, Vitest, ESLint v9 flat config
└─ packages/
└─ ui/ # Shared UI package (workspace dependency)
doppler login
doppler setup -p hedgr-copilot -c dev_config_dev
pnpm run dev:cli # run frontend (Doppler-provided env)
pnpm run validate # test + typecheck + lint for the whole workspace
See docs/local-dev.md for Doppler setup and observability toggles.
pnpm -w test # Vitest (unit)
pnpm -w typecheck # TS (app + tests)
pnpm -w lint # ESLint v9 flat config
pnpm run validate # test + typecheck + lint (aggregator)
CI includes a version guard to block latest/* ranges. See .github/workflows/ and scripts/ci/guard-no-latest.mjs. QA process: docs/qa-checklist.md. New PRs auto-use .github/pull_request_template.md.
pnpm run validate and pnpm --filter @hedgr/frontend run e2e:ci locally before creating PRsTBD.
Hedgr Copilot is the monorepo for Hedgr’s stability wallet surfaces, trust layer, policy layer, and supporting developer infrastructure.
Hedgr is positioned as a Global Stability Wallet built around the Hedgr Stability Engine. This repository contains the implementation surfaces, shared packages, CI guardrails, and doctrine needed to build the system in a disciplined, trust-first way.
This repo supports the current Hedgr build across four layers:
This is not just a frontend repo. It is the working monorepo for Hedgr’s product and system implementation.
Hedgr is a stability system, not a speculation product.
The platform is designed to help users in volatile currency environments:
The long-term platform architecture includes:
The current repository primarily reflects the MVP and active sprint implementation scope.
.
├─ apps/
│ ├─ frontend/ # Next.js app surfaces, API routes, Vitest, Playwright, ESLint
│ └─ backend/ # Flask backend service boundary
├─ packages/
│ ├─ ui/ # Shared UI package
│ └─ config/ # Shared config surface
├─ docs/
│ ├─ doctrine/ # Canonical doctrine, whitepapers, product/system specifications
│ ├─ decisions/ # ADRs and decision records
│ ├─ architecture/ # Architecture overviews and runtime constraints
│ ├─ contracts/ # API / UI contract references
│ ├─ copilot/ # Copilot-specific documentation and trust model
│ ├─ ops/ # CI, local dev, observability, runbooks
│ └─ modules/ # Module-level documentation
├─ scripts/ # CI guard scripts and validation helpers
├─ .cursor/ # Cursor workflow rules, prompts, and settings
├─ .github/ # CI workflows, PR templates, automation
├─ .cursorrules # Doctrine / architecture / anti-drift authority
└─ AGENTS.md # Repo execution standard
The repo is governed through a layered control model:
.cursorrules — doctrine, architecture, UX / policy posture, anti-drift rules.cursor/rules.md — patch execution guardrailsAGENTS.md — repo workflow, CI posture, engineering conventionsCanonical doctrine lives primarily in:
docs/doctrine/docs/decisions/If implementation and doctrine conflict, doctrine wins.
The repo follows a trust-first, policy-aware, doctrine-constrained implementation model.
Important current posture:
For exact doctrine, see:
docs/doctrine/hedgr-stability-engine.mddocs/doctrine/hedgr-system-overview.mddocs/doctrine/hedgr-product-surfaces.mddocs/doctrine/hedgr-mvp-project-specification.mddocs/doctrine/hedgr-constitutional-charter.mddocs/decisions/SPRINT-2-ADR-INDEX.mddoppler login
doppler setup -p hedgr-copilot -c dev_config_dev
pnpm run dev:cli # run app surfaces with Doppler-provided env
pnpm run validate # test + typecheck + lint for the whole workspace
Additional references:
docs/ops/runbooks/local-dev.mddocs/ops/runbooks/observability.mddocs/ops/runbook.mdCore validation commands:
pnpm -w test
pnpm -w typecheck
pnpm -w lint
pnpm run validate
Frontend E2E:
pnpm --filter @hedgr/frontend run e2e:ci
Implementation rules:
CI workflows and guards live in:
.github/workflows/scripts/ci/Current frontend health endpoints include:
GET /api/health → { status: "ok", ts: "<ISO>" }GET /api/version → { version: "<apps/frontend package version>" }See implementation under apps/frontend/app/api/ and apps/frontend/pages/api/ where applicable.
Observability is dev-safe and should remain trust-aware.
References:
docs/ops/runbooks/observability.mddocs/ops/runbooks/secrets.md.env workflows as repo truthBefore opening a PR:
pnpm run validateReview support files:
AGENTS.md.cursorrules.cursor/rules.md.github/PULL_REQUEST_TEMPLATE/agent.mdPRs should be:
Expected merge standard:
TBD.