Skip to content

feat(plans): streamline managed plan access and saving - #1745

Merged
wsp1911 merged 1 commit into
GCWing:mainfrom
wsp1911:dev2
Jul 24, 2026
Merged

feat(plans): streamline managed plan access and saving#1745
wsp1911 merged 1 commit into
GCWing:mainfrom
wsp1911:dev2

Conversation

@wsp1911

@wsp1911 wsp1911 commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Recognize BitFun-managed runtime, session, and terminal transcript files in file permission evaluation.
  • Allow editing and writing current-workspace plans without approval; deleting plans remains protected.
  • Add a plan-card save action that copies plans to .bitfun/plans/.
  • Show inline save progress and success feedback, with remote workspace write routing.

Fixes #

Type and Areas

Type: Feature / UI/UX

Areas: Rust core, web UI, desktop/Tauri, i18n

Motivation / Impact

Agents can inspect BitFun-managed session context without redundant external-directory prompts and can update plans directly. Users can save generated plans into their project for versioning and collaboration.

Verification

  • cargo test -p bitfun-core file_permissions::tests --lib
  • cargo check --workspace
  • pnpm --dir src/web-ui run test:run src/infrastructure/api/service-api/WorkspaceAPI.test.ts
  • pnpm run i18n:audit
  • pnpm run type-check:web

Reviewer Notes

  • The plan save action overwrites an existing same-named file in .bitfun/plans/.
  • Plan deletion remains subject to confirmation.
  • UI interaction validation is delegated to the user.

Checklist

  • This PR is focused and does not include secrets, temporary prompts, generated scratch files, or unrelated artifacts.
  • Relevant verification is recorded above.
  • User-facing strings and locales are updated.

- Treat BitFun runtime artifacts, session artifacts, and terminal transcripts as managed local resources.
- Allow plan updates through Edit and Write without confirmation while preserving delete confirmation.
- Add a plan-card action to save a project copy under .bitfun/plans.
- Forward remote workspace connection context for plan copies.
- Add localized save feedback and permission/API regression coverage.
@wsp1911
wsp1911 marked this pull request as ready for review July 24, 2026 12:21
@wsp1911
wsp1911 merged commit 5b952df into GCWing:main Jul 24, 2026
5 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