Skip to content

Chore/consolidate Vibe Prompt Into Agents Md#22

Merged
jasperf merged 2 commits into
mainfrom
chore/consolidate-vibe-prompt-into-agents-md
Jun 30, 2026
Merged

Chore/consolidate Vibe Prompt Into Agents Md#22
jasperf merged 2 commits into
mainfrom
chore/consolidate-vibe-prompt-into-agents-md

Conversation

@jasperf

@jasperf jasperf commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

This release (1.5.0) consolidates the Mistral Vibe configuration for this Ollama/OpenCode setup repository by eliminating a redundant custom system prompt in favor of native AGENTS.md loading. The bundled .vibe/prompts/vibe.md prompt was renamed and promoted to a root-level AGENTS.md (58% similarity retained), since Mistral Vibe automatically walks up from the working directory collecting AGENTS.md files, making a separate custom prompt unnecessary. Alongside this, .vibe/config.toml switches from the custom vibe system prompt to Vibe's built-in cli prompt and fixes a stale session-log path that pointed at a non-existent home directory and crashed Vibe on launch. The changes span 3 files with 98 insertions and 84 deletions, and the model-selection guidance carried into AGENTS.md was refreshed to match the canonical CLAUDE.md. A CHANGELOG.md entry documents the additions, changes, and removals.

Configuration Changes:

  • Switched system_prompt_id from vibe to cli in .vibe/config.toml, so Vibe uses its default built-in CLI system prompt and sources repository guidance from AGENTS.md rather than a bundled custom prompt.
  • Corrected session_logging.save_dir from the stale /Users/jasperfrumau/.vibe/logs/session to /Users/j/.vibe/logs/session; the previous path referenced a non-existent home directory and crashed vibe on launch with a PermissionError.
  • Absorbed a pending Vibe config migration, adding the bash_read_only_defaults_v1 applied_migrations marker, the supports_images flag, and renaming the search_replace/read_file tool sections to edit/read.

Documentation Consolidation:

  • Promoted .vibe/prompts/vibe.md to a root-level AGENTS.md carrying the repo conventions, key config and Modelfile references, Ollama commands, model-selection guidance, and commit rules, with model recommendations refreshed to match CLAUDE.md.
  • Removed .vibe/prompts/vibe.md and the now-empty .vibe/prompts/ directory, since Vibe reads AGENTS.md natively and docs/AGENTS.md (the human-facing OpenCode agents guide) is intentionally left untouched as it would not auto-load from the repo root.

Tooling and Changelog:

  • Expanded the tools.bash read-only allowlist with additional safe commands (such as grep, sort, diff, tr, checksum utilities, and pager tools) as part of the absorbed migration defaults.
  • Added a 1.5.0 entry to CHANGELOG.md documenting the new AGENTS.md, the configuration changes, and the removed custom prompt.

Files Changed:

jasperf added 2 commits June 30, 2026 09:55
- system_prompt_id: vibe -> cli (use Vibe's built-in CLI prompt; repo
  guidance now comes from the root AGENTS.md)
- session_logging.save_dir: correct /Users/jasperfrumau -> /Users/j
  (committed path pointed at a non-existent home and crashed vibe on
  launch with PermissionError)
- absorb pending Vibe config migration (applied_migrations marker,
  supports_images, search_replace->edit and read_file->read renames)
Mistral Vibe reads AGENTS.md natively (walking up from the working dir),
so the bundled custom system prompt is redundant. Move the repo
conventions, config/Modelfile references, Ollama commands, model-selection
guidance, and commit rules from .vibe/prompts/vibe.md into a root AGENTS.md
(model recommendations refreshed to match CLAUDE.md) and delete the prompt.

docs/AGENTS.md is left as-is: it is the human-facing OpenCode agents guide,
and being under docs/ it would not be auto-loaded at the repo root anyway.

Release 1.5.0.
@jasperf jasperf merged commit 32ce2b5 into main Jun 30, 2026
@jasperf jasperf deleted the chore/consolidate-vibe-prompt-into-agents-md branch June 30, 2026 02:57
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