Skip to content

feat: ship batch idea export workflow, CLI-first deploy ops, and Chinese light-theme web experience#3

Merged
weijt606 merged 17 commits into
mainfrom
dev
Apr 6, 2026
Merged

feat: ship batch idea export workflow, CLI-first deploy ops, and Chinese light-theme web experience#3
weijt606 merged 17 commits into
mainfrom
dev

Conversation

@weijt606
Copy link
Copy Markdown
Owner

@weijt606 weijt606 commented Apr 6, 2026

PR Description

Overview

This PR merges the last 17 commits and delivers a full product + release-readiness upgrade across API, Web, CLI, CI, and docs.

The scope includes:

  • Batch idea assessment/export capabilities (API + UI)
  • Chinese web entry and upgraded light visual design
  • CLI-first deployment workflow with Docker fallback
  • Release preflight/post-deploy automation
  • Observability and monitoring baseline
  • CI/script reliability fixes for non-venv environments

What’s Included

1) Idea Assessment: Batch + Export

  • Added batch assessment APIs with verdict aggregation.
  • Added batch controls:
    • max_concurrency
    • per_item_timeout_seconds
  • Added export endpoints for idea assessment reports:
    • Markdown
    • JSON envelope
  • Added tests for:
    • batch assessment
    • batch export markdown/json
  • Added README examples for the new endpoints.

2) Web UX for Idea Workflow

  • Added batch assessment UI controls and summary rendering.
  • Added batch report export actions in the UI.
  • Added export history panel with:
    • recent records
    • clear history
    • persisted local history
  • Added one-click re-export from history.
  • Added snapshot-based re-export (replay original payload).
  • Improved local-dev routing/ports for smoother parallel local projects.

3) Chinese Web Experience + Visual Refresh

  • Added Chinese route entry and mapped zh pages for major flows.
  • Added locale-aware navigation (EN/中文 toggle).
  • Added locale-preserving project links.
  • Upgraded to a premium, light-first visual style:
    • refined typography
    • warmer color system
    • elevated cards/hero treatments
  • Updated README and README.zh-CN with main stack icon badges under the title area.

4) CLI-First Deploy & Ops (Docker as Backup)

  • Added owlscope ops command group for operational workflows.
  • Added commands:
    • owlscope ops preflight
    • owlscope ops check
    • owlscope ops deploy
    • owlscope ops stop
  • Deploy behavior:
    • local-first direct mode
    • optional web startup/checks
    • Docker fallback path
  • Lifecycle support:
    • detached/no-detached modes
    • managed runtime state file
    • stop/reap managed processes safely

5) Release & Deployment Automation

  • Added release preflight workflow and scripts.
  • Added production compose override profile.
  • Added post-deploy verification script.
  • Added web check script.
  • Added env validation script.
  • Added rate-limit check script.
  • Added integration compare helper script.
  • Added deployment runbook, migration/rollback guide, smoke checklist, and release template.

6) Observability Baseline

  • Added lightweight telemetry counters.
  • Added admin monitor endpoint for runtime status.
  • Wired access logging to telemetry recording.
  • Added API test coverage for monitor endpoint.

7) CI Reliability Fix

  • Fixed release-check script to avoid hard dependency on local .venv.
  • Applied same non-venv-safe behavior to integration helper script.
  • This unblocks CI environments that install dependencies into system/python runner envs.

Validation

  • API targeted tests passed for idea assess/export/batch flows.
  • Integration compare black-box test passed after stabilization.
  • Frontend production builds passed after each UI phase (including zh routes).
  • Release preflight script completed successfully end-to-end.
  • Post-deploy checks script completed successfully.
  • CLI command discovery and operational paths validated, including lifecycle stop behavior.

Breaking Changes

  • None intended.

Operational Notes

  • Default local ports are aligned for multi-project coexistence:
    • API: 8010
    • Web: 3100
  • Docker remains the fallback deployment path; local-first CLI is now primary for fast iteration.

Risk / Follow-up

  • Non-blocking local machine warning remains around Next.js SWC native binary loading in some environments; builds still complete successfully.
  • Future enhancement opportunity: add ops status to expose managed process health/log pointers in one command.

@weijt606 weijt606 merged commit e933a4b into main Apr 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant