Skip to content

fix: unify project context discovery and honor TUI opt-out - #679

Merged
huichen merged 1 commit into
mainfrom
fix/context-files
Sep 17, 2026
Merged

huichen merged 1 commit into
mainfrom
fix/context-files

Conversation

@huichen

@huichen huichen commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Share cwd-scoped AGENTS.md → CLAUDE.md → GEMINI.md discovery across startup, runs and reload; keep empty-file and unreadable-file fallback semantics.
  • Honor --no-context-files/-nc in interactive and print TUI modes with a session-local setting, frozen for queued runs; fail closed when the agent rejects the option. FUTURE.md remains independent.
  • Return actual per-session file names in reload events/responses and get_state instead of a hard-coded name or file contents. Reload now uses the run prompt builder.
  • Add regression tests and bilingual TUI documentation.

Validation

  • cargo fmt -p future-agent -p future-tui -p future-rpc --check
  • cargo clippy -p future-agent -p future-tui -p future-rpc -p future-cli --all-targets -- -D warnings
  • All test targets for future-agent, future-tui, future-rpc, future-cli, future-channel and future-loop passed (isolated HOME; unfinished suites rerun separately after the initial shell deadline).
  • python3 scripts/check-docs.py --scope docs/guide
  • Synced origin/main; intervening changes only touch unrelated desktop/mobile docs and desktop code.

@huichen
huichen enabled auto-merge (squash) September 17, 2026 02:55
@huichen
huichen merged commit b23d11d into main Sep 17, 2026
22 of 24 checks passed
@huichen
huichen deleted the fix/context-files branch September 17, 2026 03:08
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