AstrBot-Desktop/docs/progress.md
YokiiroBW 72a16cb0b4
一些检查失败了
ci / Portable quality checks (push) Has been cancelled
ci / Windows Tauri build (push) Has been cancelled
ci / Portable quality checks (pull_request) Has been cancelled
ci / Windows Tauri build (pull_request) Has been cancelled
docs(p00): record Forgejo branch publication
2026-07-18 21:04:16 +08:00

4.1 KiB

Development Progress

Current phase

P00 bootstrap implementation and high-risk Spike verification is complete; the feature branch is published and awaiting user PR review.

Completed

  • Read AGENTS.md and all authoritative architecture, implementation, and Forgejo workflow documents.
  • Verified the Windows, Git, Node.js, package-manager, WebView2, Rust, Tauri, and MSVC environment.
  • Initialized a local Git repository on main.
  • Configured origin as ssh://git@localhost:18086/YokiiroBW/AstrBot-Desktop.git.
  • Verified through authenticated Forgejo API and HTTP Git that the remote repository existed, was empty, used main, and granted push permission before the baseline push.
  • Reauthenticated through Git Credential Manager and non-forced pushed the main baseline to Forgejo at 0d12b94.
  • Created and switched to feat/p00-bootstrap from the pushed main baseline.
  • Built the Tauri 2 + React + TypeScript + Rust skeleton with tray, single-instance, CSP, and minimal core:default capability.
  • Implemented independent companion/operations REST and SSE clients and passed the corrected 30-minute soak.
  • Implemented and tested Windows Credential Manager, UI Automation, selected-window capture, Event Log, process, port, foreground-window, authorized log-tail, configuration parsing, and redaction Spikes.
  • Implemented and tested composite-key SQLite isolation and recoverable local file transactions with source preservation.
  • Added provisional protocol types, ten JSON Schemas, TypeScript exports, drift checks, and two loopback-only Mock Gateway instances.
  • Added frontend, Playwright, Rust, integration, Windows-provider, soak, and Forgejo CI entry points.
  • Built the Windows release executable and SHA-256-recorded NSIS installer.
  • Added dependency, Spike, progress, changelog, and pending-decision records.
  • Committed the implementation, test, and CI increments with Conventional Commit subjects.

In progress

  • Preparing the final PR draft and handoff report without merging main.

Remaining

  • Open and review the Forgejo PR from feat/p00-bootstrap to main; do not merge automatically.
  • Run the Forgejo workflow when a compatible runner is available.
  • Execute a real UNC transaction only after an authorized disposable fixture is supplied.
  • Add the combined end-to-end test that keeps configured streams active while the real Tauri window is hidden to tray.

Blockers

  • Configured Forgejo SSH localhost:18086 refuses connections.
  • LAN SSH 192.168.31.210:18086 responds but rejects the available public key.
  • HTTP Git push is operational after Git Credential Manager reauthentication and is no longer a blocker.
  • Forgejo runner labels/jobs could not be verified; the jobs API endpoint returned 404.

Test status

  • pnpm check:frontend: passed; 1 Vitest test and production Vite build.
  • pnpm test:e2e: passed; 1 Chromium smoke test.
  • Rust fmt/check/Clippy with warnings denied: passed.
  • cargo test --workspace: 40 passed, 2 explicit manual tests ignored.
  • Controlled Windows UIA/PrintWindow smoke: 1 passed.
  • Corrected dual-SSE soak: 1800.02 seconds, 1800 companion events, 1801 operations events, passed.
  • Protocol Schema drift check: passed.
  • Tauri development smoke, release executable, and NSIS installer build: passed.
  • pnpm 11.9.0 frozen lockfile-only validation: passed using a local temporary store to avoid the pnpm UNC project-registry limitation.
  • Forgejo CI and a real UNC transaction were not executed and are not claimed successful.

Current branch

feat/p00-bootstrap

Recent commits

  • 5e6e8d5 docs(project): add architecture and implementation specifications
  • 0d12b94 chore(repo): initialize repository and ignore rules
  • 01607c6 feat(p00): add Tauri desktop spike foundation
  • 69b432b test(p00): add frontend browser rust and windows checks
  • d4af979 ci(forgejo): add portable and windows quality workflows
  • 353a439 docs(p00): record spike results and unresolved boundaries

Next step

Provide the verified test report and PR draft. The user can then review the Forgejo diff and decide whether to merge; main remains unchanged by this workflow.