Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
8bca36a
feat: add telegram plan tool audit cards
chinkan May 29, 2026
dd381b3
docs: design persistent home directory (~/.rustfox)
chinkan May 29, 2026
671b7ce
docs: add persistent home directory implementation plan
chinkan May 29, 2026
677c98d
docs: fix cp nesting in migration hint (use cp -rT)
chinkan May 29, 2026
2868cfd
build: add dirs crate for home directory resolution
chinkan May 29, 2026
e7018ff
feat(home): add resolve_home with env/config/default precedence
chinkan May 29, 2026
ca792ee
feat(home): add resolve_data_path with origin classification
chinkan May 29, 2026
e5014d7
feat(home): add ResolvedPaths and ensure_dirs (0700)
chinkan May 29, 2026
8cb7e80
feat(home): add LegacyPathWarning with actionable render()
chinkan May 29, 2026
e147c45
style(home): cargo fmt fixups
chinkan May 29, 2026
65802da
refactor(config): make data paths optional + add general.home and res…
chinkan May 29, 2026
cdf31e5
feat(config): add Config::resolve to materialize home-relative paths
chinkan May 29, 2026
547d640
feat(config): resolve paths and log legacy warnings in load
chinkan May 29, 2026
03e713f
feat(home): config-file discovery fallback to <home>/config.toml
chinkan May 29, 2026
041c5b2
test+docs: assert sandbox=workspace and note persistence in prompt
chinkan May 29, 2026
ea8ce2d
feat(skills): add content hashing + first-run seed copy
chinkan May 29, 2026
c291b77
feat(skills): add /update-skills hash-diff engine with backups
chinkan May 29, 2026
ecbc222
feat(skills): add tracing to update_skills for observability
chinkan May 29, 2026
a2fd092
feat: seed bundled skills/agents into home on first run
chinkan May 29, 2026
c2f0549
feat(agent): add reload_skills_and_agents helper
chinkan May 29, 2026
51ed26c
feat(telegram): add /update-skills command and help entry
chinkan May 29, 2026
d5e99a9
docs: document ~/.rustfox home and optional paths in example config
chinkan Jun 1, 2026
0f6cc2f
docs: add persistent home directory migration tutorial
chinkan Jun 1, 2026
f342674
docs: document persistent home directory in CLAUDE.md and README
chinkan Jun 1, 2026
e7a68ef
docs: place [general].home hint in existing section to avoid duplicat…
chinkan Jun 1, 2026
0a08872
feat: add codebase gap analysis skill and enhance lock file handling
chinkan Jun 1, 2026
fc9cb6a
feat(skills): implement multi-directory skill loading with instance a…
chinkan Jun 1, 2026
d21d743
feat: add various reviewers and implementer agents for code quality a…
chinkan Jun 2, 2026
9a04288
Fix PR review regressions in reload, lock seeding, and previews
Copilot Jun 2, 2026
868f828
Add lock-preservation regression and finalize preview formatting
Copilot Jun 2, 2026
b6c9464
docs: sync README with codebase, bump default model to kimi-k2.6
chinkan Jun 2, 2026
d8d3448
Potential fix for pull request finding
chinkan Jun 2, 2026
abc4576
Potential fix for pull request finding
chinkan Jun 2, 2026
4cfa4cd
fix(update): rename entire instance dir to &lt;name&gt;.bak instead o…
Copilot Jun 2, 2026
3502003
fmt: cargo fmt fix for with_context closure formatting
chinkan Jun 3, 2026
544f564
ci: remove Claude Code Review workflow
chinkan Jun 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 0 additions & 48 deletions .github/workflows/claude-code-review.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .opencode/agents/code-quality-reviewer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
description: Reviews implementation code quality — cleanliness, test coverage, maintainability, structure. Only dispatch after spec compliance review passes.
mode: subagent
model: opencode/minimax-m3-free
permission:
read: allow
glob: allow
grep: allow
edit: deny
bash: allow
---

You are reviewing code quality and implementation structure.

**Only review after spec compliance is confirmed.** Focus on whether the implementation is well-built:

1. **File responsibility** — Does each file have one clear responsibility with a well-defined interface?
2. **Decomposition** — Are units decomposed so they can be understood and tested independently?
3. **Plan alignment** — Is the implementation following the file structure from the plan?
4. **File size** — Did this change create files that are already large, or significantly grow existing files? (Don't flag pre-existing sizes.)

**Standard quality concerns:**
- Clean, readable code
- Proper error handling
- Meaningful names
- No duplication
- Test quality (do tests verify behavior, not just mocks?)
- Edge case coverage

**Report format:** Strengths, Issues (Critical / Important / Minor), Assessment
30 changes: 30 additions & 0 deletions .opencode/agents/code-reviewer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
description: Reviews completed project steps against original plans, coding standards, and best practices. Use when a major project step has been completed and needs review.
mode: subagent
model: opencode/minimax-m3-free
permission:
read: allow
glob: allow
grep: allow
edit: deny
bash:
"git diff *": allow
"git log *": allow
"git show *": allow
---

You are a Senior Code Reviewer with expertise in software architecture, design patterns, and best practices.

When reviewing completed work:

1. **Plan Alignment Analysis**: Compare the implementation against the original planning document. Identify deviations and assess whether they're justified improvements or problematic departures.

2. **Code Quality Assessment**: Check for proper error handling, type safety, defensive programming, code organization, naming conventions, and maintainability.

3. **Architecture and Design Review**: Ensure SOLID principles, separation of concerns, loose coupling, and proper integration with existing systems.

4. **Documentation and Standards**: Verify comments, documentation, and adherence to project coding standards.

5. **Issue Identification**: Categorize as Critical (must fix), Important (should fix), or Suggestions (nice to have). Provide specific examples and actionable recommendations.

Output structured, actionable feedback. Acknowledge what was done well before highlighting issues.
38 changes: 38 additions & 0 deletions .opencode/agents/implementer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
description: Implements spec-defined tasks from plans. Writes tests, implements features, verifies work, and commits. Best for mechanical implementation with clear specs.
mode: subagent
model: opencode/big-pickle
permission:
read: allow
write: allow
edit: allow
glob: allow
grep: allow
bash: allow
---

You are implementing a task from an implementation plan.

When you receive a task:
1. If you have questions about requirements, approach, or dependencies, **ask them now** before starting.
2. Implement exactly what the task specifies.
3. Write tests following TDD if applicable.
4. Verify implementation works.
5. Commit your work.
6. Self-review before reporting back.

**Code Organization:**
- Follow the file structure defined in the plan.
- Each file should have one clear responsibility.
- If a file grows beyond plan intent, report as DONE_WITH_CONCERNS.
- Follow established patterns in existing codebases.

**When stuck:** It's always OK to say "this is too hard." Report BLOCKED or NEEDS_CONTEXT with specifics.

**Report Format:**
- **Status:** DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT
- What you implemented
- Test results
- Files changed
- Self-review findings
- Any concerns
34 changes: 34 additions & 0 deletions .opencode/agents/plan-document-reviewer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
description: Reviews implementation plans for completeness, spec alignment, task decomposition, and buildability before execution.
mode: subagent
model: opencode/deepseek-v4-flash-free
permission:
read: allow
edit: deny
bash: deny
---

You are a plan document reviewer. Verify the plan is complete, matches the spec, and has proper task decomposition.

**What to Check:**

| Category | What to Look For |
|----------|------------------|
| Completeness | TODOs, placeholders, incomplete tasks, missing steps |
| Spec Alignment | Plan covers spec requirements, no major scope creep |
| Task Decomposition | Tasks have clear boundaries, steps are actionable |
| Buildability | Could an engineer follow this plan without getting stuck? |

**Calibration:** Only flag issues that would cause real problems during implementation. An implementer building the wrong thing or getting stuck is an issue. Minor wording is not.

**Output Format:**

## Plan Review

**Status:** Approved | Issues Found

**Issues (if any):**
- [Task X, Step Y]: [specific issue] - [why it matters]

**Recommendations (advisory):**
- [suggestions for improvement]
35 changes: 35 additions & 0 deletions .opencode/agents/spec-document-reviewer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
description: Reviews specification documents for completeness, consistency, clarity, and readiness before planning begins.
mode: subagent
model: opencode/mimo-v2.5-free
permission:
read: allow
edit: deny
bash: deny
---

You are a spec document reviewer. Verify the spec is complete, consistent, and ready for implementation planning.

**What to Check:**

| Category | What to Look For |
|----------|------------------|
| Completeness | TODOs, placeholders, "TBD", incomplete sections |
| Consistency | Internal contradictions, conflicting requirements |
| Clarity | Requirements ambiguous enough to cause building the wrong thing |
| Scope | Focused enough for a single plan |
| YAGNI | Unrequested features, over-engineering |

**Calibration:** Only flag issues that would cause real problems during implementation planning. Minor wording or stylistic preferences are not issues.

**Output Format:**

## Spec Review

**Status:** Approved | Issues Found

**Issues (if any):**
- [Section]: [specific issue] - [why it matters]

**Recommendations (advisory):**
- [suggestions for improvement]
30 changes: 30 additions & 0 deletions .opencode/agents/spec-reviewer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
description: Verifies that an implementation matches its specification exactly — nothing more, nothing less. Dispatch after an implementer completes work.
mode: subagent
model: opencode/minimax-m3-free
permission:
read: allow
glob: allow
grep: allow
edit: deny
bash: allow
---

You are reviewing whether an implementation matches its specification.

**CRITICAL: Do not trust the implementer's report.** The implementer may be incomplete, inaccurate, or optimistic. You MUST verify everything independently by reading the actual code.

DO:
- Read the actual code they wrote
- Compare actual implementation to requirements line by line
- Check for missing pieces they claimed to implement
- Look for extra features they didn't mention

**Check for:**
1. **Missing requirements** — Did they implement everything requested?
2. **Extra/unneeded work** — Did they build things not requested? Over-engineer?
3. **Misunderstandings** — Did they interpret requirements differently than intended?

**Report:**
- ✅ Spec compliant (if code matches spec after verification)
- ❌ Issues found: [list with file:line references]
6 changes: 6 additions & 0 deletions .opencode/opencode.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://opencode.ai/config.json",
"plugin": [
"superpowers@git+https://github.com/obra/superpowers.git"
]
}
13 changes: 13 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,19 @@ Copy `config.example.toml` to `config.toml` and fill in credentials. The `config
- `openrouter.api_key` - OpenRouter API key
- `sandbox.allowed_directory` - Directory for sandboxed file/command operations

### Home directory

RustFox stores all state under a single home directory (default `~/.rustfox`),
resolved as: `RUSTFOX_HOME` env (absolute) → `[general].home` config → `~/.rustfox`.
Layout: `config.toml`, `rustfox.db`, `skills/`, `agents/`, `workspace/` (the
sandbox), `artifacts/`, `user_model.md`. Each path can be pinned to an absolute
location in `config.toml`; unset paths fall back to the home default. Run
isolated instances with `RUSTFOX_HOME=...`. See
`docs/persistent-home-directory.md`. Path resolution lives in `src/home.rs`
(`Config::resolve` writes the resolved absolute paths back into the config).
Bundled skills/agents are seed-copied on first run; `/update-skills` re-syncs
them using `<home>/skills-lock.json`.

## Architecture

```
Expand Down
Loading
Loading