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-10</current_date> Europe/Berlin </environment_context>
- User
In /Users/tristan/Projects/oss/semble-port/sifs, do a read-only hunt for one narrow, testable bug that has not obviously been fixed already. Focus on Rust CLI/parser/search/index edge cases with likely missing tests. Do not edit files. Return: candidate bug, repro command or test idea, likely files to inspect, and confidence. You are not alone in the codebase; do not revert or modify anything.
- Assistant
I’ll keep this read-only in the checkout and focus on finding one small, reproducible edge case rather than broad auditing. I’m also checking the automation memory first so I don’t repeat the same bug candidate from a recent run.
- Assistant
The worktree already has unrelated local changes (
docs/ideation/oracle-ideas.md,.codex/,.entire/), so I’m leaving those alone. I’m going to inspect the CLI/search paths and existing tests to look for a gap that is both narrow and easy to reproduce. - Assistant
I found a plausible edge case in the path-filter flow: search itself normalizes
./src/lib.rs, but the warning code appears to compare the raw flag value against indexed paths. I’m checking whether that produces a false warning in actual CLI output without building or editing the repo. - Assistant
The live repro confirms the candidate:
--filter-path ./src/lib.rsreturns the matching result and also emits a “No indexed file exactly matched” warning. That is internally inconsistent and the current CLI test only covers the normalizedsrc/lib.rscase. - Assistant
One correction: the shell environment did not have
CODEX_HOMEset, so the first memory check looked in the wrong place. I’ve now read the actual automation memory and this candidate is distinct from the recent markdown-fence, encoder precedence, and profile Git ref fixes. - Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.