AGENTS.md instructions for /Users/tristan/Projects/oss/semble-port/sifs <INSTRUCTIONS>…
- User
AGENTS.md instructions for /Users/tristan/Projects/oss/semble-port/sifs
When you need to call tools from the shell, use this rubric:
File Operations
- Find files by file name:
fd - Find files with path name:
fd -p <file-path> - List files in a directory:
fd . <directory> - Find files with extension and pattern:
fd -e <extension> <pattern>
Structured Code Search
- Find code structure:
ast-grep --lang <language> -p '<pattern>' - List matching files:
ast-grep -l --lang <language> -p '<pattern>' | head -n 10 - Prefer
ast-grepoverrg/grepwhen you need syntax-aware matching
Data Processing
- JSON:
jq - YAML/XML:
yq
Selection
- Select from multiple results deterministically (non-interactive filtering)
- Fuzzy finder:
fzf --filter 'term' | head -n 1
Guidelines
- Prefer deterministic, non-interactive commands (
head,--filter,--json+jq) so runs are reproducible
Oracle
- Oracle bundles a prompt plus the right files so another AI (GPT 5.5 Pro) can answer. Use when stuck/bugs/reviewing.
- Run
npx -y @steipete/oracle --helponce per session before first use.
Subagents
- ALWAYS wait for all subagents to complete before yielding.
- Spawn subagents automatically when:
- Parallelizable work (e.g., install + verify, npm test + typecheck, multiple tasks from plan)
- Long-running or blocking tasks where a worker can run independently. Isolation for risky changes or checks
@/Users/tristan/.codex/RTK.md
Compound Codex Tool Mapping (Claude Compatibility)
This section maps Claude Code plugin tool references to Codex behavior. Only this block is managed automatically.
Tool mapping:
- Read: use shell reads (cat/sed) or rg
- Write: create files via shell redirection or apply_patch
- Edit/MultiEdit: use apply_patch
- Bash: use shell_command
- Grep: use rg (fallback: grep)
- Glob: use rg --files or find
- LS: use ls via shell_command
- Find files by file name:
- User
<environment_context> /Users/tristan/Projects/oss/semble-port/sifs zsh <current_date>2026-05-07</current_date> Europe/Berlin </environment_context>
- User
Please release the next version
- Assistant
I’ll inspect the current repo state, version, changelog, tags, and release workflow first so the release matches the project’s conventions instead of guessing.
- Assistant
The worktree already has unrelated local changes (
docs/ideation/oracle-ideas.md,.codex/,.entire/). I’ll leave those alone and only touch release metadata if the release path requires it. - Assistant
RELEASING.mdsays the manual path is changelog section,Cargo.tomlbump, local release checks, then publish crate, tag/GitHub release, and tap formula update. Current crate/tag is0.3.2; I’m treating this as the next patch release,0.3.3, because the accumulated unreleased notes are ranking/search behavior fixes and improvements rather than a breaking change. - Assistant
Before editing, I’m going to update only the release-owned files:
Cargo.toml,Cargo.lockif needed,CHANGELOG.md, and the bundled Homebrew formula. Then I’ll run the release checks fromRELEASING.md. - Assistant
Release metadata is now moved to
0.3.3. I’m checking whether any lockfile version replacements touched a dependency entry before running the full release suite. - Assistant
One blind string replacement hit the
foreign-typesdependency inCargo.lock; I’m correcting that and only bumping the localsifspackage entry. - Assistant
The release metadata diff is clean now. I’m starting the local release checks; these may take a few minutes, especially tests and publish dry-run.
- Assistant
The three Cargo checks are running concurrently and contending on Cargo’s lock, but they’re moving. I’ll wait them out rather than interrupting and restarting unless one fails.
- Assistant
The main build, diagnostics build, and full locked test suite all passed. I’m running the packaging and crates.io dry-run checks next.
- Assistant
Packaging checks failed only because Cargo refuses to package from a dirty worktree, and this checkout has unrelated local
.codex/,.entire/, anddocs/ideation/oracle-ideas.mdchanges. I’m going to commit only the four release files, then run packaging from a clean temporary worktree at that commit so the unrelated local edits are not included. - Assistant
The release commit is created with only the intended release files. I’m creating a clean temporary worktree from that exact commit for packaging checks and publishing.
- Assistant
Packaging passed from the clean worktree:
cargo publish --dry-run --lockedverified andcargo package --listproduced the expected package. I’m publishing the crate now from the same clean commit. - Assistant
The crate publish succeeded:
sifs v0.3.3is live on crates.io. I’m computing the crates tarball checksum now, then I’ll update the formula SHA before pushing/tagging so the repo’s bundled formula matches the published artifact too. - Assistant
The published crate checksum is
a6040292d9326d80364ea4678e756b8463fc285136445a7557520a1dfd4210a7, and I’ve updated the bundled formula. I’m rechecking release metadata/formula syntax and amending the release commit before pushing. - Assistant
The amended release commit is
7d78c86. I’m pushingmain, tagging that exact commit asv0.3.3, and creating the GitHub release with notes from the changelog section. - Assistant
Push was rejected because
origin/mainmoved after my initial inspection. I’ll fetch and inspect the remote-only commits, then rebase the release commit without touching the unrelated local edits. - Assistant
Remote
mainhas three documentation commits, including one touchingdocs/ideation/oracle-ideas.md, which is also locally modified here. To avoid trampling that local edit, I’m doing the release push from a clean temporary worktree based onorigin/mainand cherry-picking the release commit there. - Assistant
The formula check passes in the clean release worktree. The metadata script hit an environment issue there (
tomllibmissing from that worktree’spython3), so I’m rerunning it with the same Python used successfully in the repo. - Assistant
mainis pushed at release commit927f193on top of the latest remote docs commits. I’m tagging that commit and pushing the tag next. - Assistant
The
v0.3.3tag is pushed. I’m creating the GitHub release using theCHANGELOG.md0.3.3section as the release body. - Assistant
GitHub release creation succeeded. I’m updating the Homebrew tap formula to point at the
0.3.3crates.io tarball and checksum, then I’ll validate an install from that formula. - Assistant
Homebrew rejected installing from an arbitrary formula path under
/tmp; it now requires a tapped formula. I’m creating a temporary local tap, copying the formula there, and validating vialocal/sifs-release/sifs. - Assistant
The Homebrew build-from-source install passed and installed
sifs 0.3.3. I’m running the installed CLI/MCP smoke checks now. - Assistant
The installed
sifs 0.3.3smoke checks passed, including BM25 search, Codex/Claude MCP dry-runs, andsifs update --check --json. I’m committing and pushing the tap update now. - Assistant
The tap repository is pushed. I’m removing the temporary local tap and reinstalling from the real
tristanmanchester/tapformula so the machine ends up on the public install path, not the throwaway validation tap. - Assistant
The public Homebrew reinstall is now verified, and
sifs update --check --jsonsees0.3.3as both installed and latest. I’m cleaning up the temporary git worktrees before I wrap up. - Assistant
One local bookkeeping wrinkle remains: this checkout’s
mainstill points at the pre-fetch release commit, whileorigin/mainhas the pushed release commit on top of the intervening docs merges. I’m going to move the local branch pointer toorigin/mainwithout touching the working tree, so the unrelated local edits remain visible. - Assistant
Moving the ref exposed a stale index entry from the old checkout state. I’m refreshing the index against
HEADwithout changing file contents. - Assistant
docs/benchmark-report.mdis only dirty because the branch pointer moved to include the remote docs commit while the working tree copy was still old; it was not one of the original local edits. I’m restoring that file toHEADand leaving the originaloracle-ideas.md,.codex/, and.entire/changes alone. - Assistant
Released
sifs v0.3.3.What shipped:
- Crate published to crates.io:
sifs 0.3.3 - GitHub tag pushed:
v0.3.3at927f193 - GitHub release created: sifs v0.3.3
- Crate published to crates.io:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.