Skip to content

refactor(web): remove bootstrap project configuration - #109

Closed
Re1lya wants to merge 1 commit into
ora-space:demofrom
Re1lya:agent/remove-web-bootstrap-project
Closed

refactor(web): remove bootstrap project configuration#109
Re1lya wants to merge 1 commit into
ora-space:demofrom
Re1lya:agent/remove-web-bootstrap-project

Conversation

@Re1lya

@Re1lya Re1lya commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • remove the required ORA_PROJECT_NAME / ORA_PROJECT_PATH startup configuration and bootstrap project reconciliation
  • stop creating a synthetic web/main project work context during server startup
  • introduce WorktreeConfig for the useful worktree root and keep the existing project-work-context subsystem intact
  • allow the web backend to become ready with an empty project catalog
  • remove the obsolete project-name repository lookup and update tests, runtime documentation, and OpenSpec requirements

Why

The web runtime now supports multiple projects, so forcing one project into the database and into a fixed startup work context is no longer a valid ownership model. Projects should instead be created or added through the normal project APIs, while task operations continue to select their project and context explicitly.

Existing database projects are retained. This change only removes the fixed bootstrap chain and does not remove the project-work-context subsystem.

Configuration note

WorktreeConfig::from_database() currently derives the data directory from the parent of the SQLite database path. This is correct while both paths are governed by ORA_DATA_DIR, but it creates a small configuration coupling. If the database path becomes independently configurable, introduce an explicit DataDirectoryConfig and derive both DatabaseConfig and WorktreeConfig from it.

Checks

  • cargo fmt --all
  • task test
  • cargo clippy -p ora-web-server --all-targets -- -D warnings
  • cargo clippy --workspace --lib --bins -- -D warnings
  • RUSTDOCFLAGS='-D warnings' cargo doc -p ora-web-server --no-deps

@Re1lya
Re1lya marked this pull request as ready for review July 23, 2026 03:21
Copilot AI review requested due to automatic review settings July 23, 2026 03:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@EricWvi
EricWvi deleted the branch ora-space:demo July 27, 2026 10:49
@EricWvi EricWvi closed this Jul 27, 2026
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.

3 participants