AstrBot-Desktop/docs/progress.md
YokiiroBW 353a439b41
一些检测仍在等待运行
ci / Portable quality checks (push) Waiting to run
ci / Windows Tauri build (push) Waiting to run
docs(p00): record spike results and unresolved boundaries
2026-07-18 21:00:49 +08:00

4.1 KiB

Development Progress

Current phase

P00 bootstrap implementation and high-risk Spike verification; local implementation is complete and final documentation/push handoff is in progress.

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

  • Finalizing the P00 report and documentation before the normal feature-branch push.

Remaining

  • Push feat/p00-bootstrap without force and verify its remote head.
  • 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

Next step

Commit the final P00 documentation, run the final repository checks, push feat/p00-bootstrap normally over the approved HTTP URL, verify the remote head, and provide the PR draft without merging main.