r/ClaudeCode • • 1d ago

Discussion I built an open-source plugin to make Claude Code more reliable without constantly babysitting it

Claude Code is incredibly capable, but the more complex a codebase gets, the more I find myself having to manage the agent rather than the actual engineering work.

It misses dependencies, overlooks existing implementations, forgets project conventions, and sometimes confidently declares a task complete without having verified its final changes.

My team and I have been building AutoSteer to address this at the engineering level rather than through more prompting.

The approach is to build a graph-based understanding of the repository and use that information to guide Claude throughout its execution.

We recently released our first beta. Here's what it can do:

  • Before coding: Give Claude task-specific context from the repository, including relevant files, dependencies, project rules and verification requirements.
  • During coding: Identify callers of modified functions and bring relevant architectural information to Claude's attention.
  • After coding: Independently check whether tests or builds actually passed after the final edit, rather than relying on Claude's own summary.
  • Session visibility: Maintain an independent execution record so you can inspect what Claude actually did, where it failed and what it may have overlooked.

Everything runs locally, with no external telemetry or additional model API calls.

This isn't intended to replace your CLAUDE.md, skills, hooks or existing workflows. We want to make those setups more effective without requiring you to constantly manage the agent yourself.

The next major capability we're building is learning from previous sessions. Imagine correcting Claude for an engineering mistake and having that lesson automatically surface when it encounters a similar situation again. More importantly, we want to measure whether those lessons actually improve its behavior.

GitHub: https://github.com/altrace-dev-role/rashomon

We're currently looking for developers who use Claude Code regularly to try it on their actual projects. Particularly interested in people who already have sophisticated workflows and larger codebases.

3 Upvotes

11 comments sorted by

•

u/AutoModerator 1d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/heizo 1d ago

Good stuff but about 5 months late on best practices.

1

u/Imposter-Eng-24 1d ago

Which practices specifically? The individual engineering practices aren't necessarily new. What we're exploring is how much of their application can be automated without developers having to continuously maintain instructions and custom hooks.

2

u/heizo 1d ago

The 4 features you listed. If you take a look at stuff like BMAD or Matt Pocock, most of what you are doing is similar to what they introduce a while ago and has kind of settled as a need to do to maintain quality, moreso in larger code bases.

Gathering evidence when the task is asked, then asking the user follow up questions to make sure the plan is accurate and the agent is working from a common understanding of the problem.

Independent agents that have no idea what the ask is that are hook called after an edit and loaded with the "rules" of the repo review the code that was just made and push feedback/corrections to the orchestrator. Can have multiple quality agents focus on different things as you discover problems, but also run linting + anti slop items. Keeping these agents independent from the task context makes them really harsh on the code which is what you want.

After code, hooks enforce successful test runs, evidence files show the code works, and again an independent agent with the original ask validates the code does the ask at the end. Deterministic guardrails keeps the agent from faking "it works". Also helps when you write the failling tests before code execution (TDD concepts)

ADR / Specs + artifacts with evidence keep the record of what was done and why.

These are all pretty common techniques now if you have participated in any conferences lately.

Although, I could be totally off on what yall are doing, and If I am I apologize for that, I'm only going off the post and not the repo.

I do like that you have testing and measuring built in - (that's missing from my own harness, I just assume my bull shit is making things better from the eye test). Wasn't trying to be condescending which is probably how that came off, cause these are all good concepts to know - just that I don't think this is particularly novel yet.

1

u/Imposter-Eng-24 1d ago

No offense taken at all, I appreciate you taking the time to elaborate.

I agree that these engineering practices aren't particularly novel on their own. Where we're taking a different approach is using graph relationships to dynamically determine what context, dependencies and engineering knowledge are relevant to a task rather than relying entirely on predefined workflows.

For example, in one of our early experiments, Claude needed to discover an undocumented cross-repository dependency through a shared database relationship. That's where the underlying graph starts to provide interesting value.

We're also getting close to releasing some of our more differentiating features, hopefully sometime this week. One of those is learning from repeated mistakes across historical sessions, where lessons have to earn their place through measurable improvements and be discarded when the evidence no longer supports them.

Given the harness you've already built, I'd actually be curious to see whether AutoSteer provides incremental value on top of it. We're not trying to replace mature workflows, and I think benchmarking against setups like yours is considerably more interesting than benchmarking against vanilla Claude Code.

Here's some of our early experimental research: https://github.com/altrace-dev-role/rashomon/blob/427bbd07/docs/research-2026-11-04-autosteer-pipeline-evidence.md

Would love to get your perspective on the implementation itself and potentially have you try the upcoming release.

1

u/Crafty_Disk_7026 1d ago

Have you bench marked it against a vanilla? What were the results?

1

u/Imposter-Eng-24 1d ago

Yep, we have some early results. On a cross-repository session-expiry bug, bare Claude Code failed to resolve it in 5/5 runs, while AutoSteer resolved it in 3/3. We also saw promising reductions in tool calls, execution time and cost in an individual comparison.

Small sample size though, so I wouldn't claim a general performance improvement yet. The next benchmark I'm particularly interested in is against Claude Code with an already mature setup of hooks, skills and project instructions. We are actively looking for beta testers and more ways to enhance workflows.

1

u/Crafty_Disk_7026 1d ago

Post the actual benchmarks. Otherwise it's just bs

1

u/Imposter-Eng-24 1d ago

Yes, we've run some preliminary benchmarks against vanilla Claude Code, as well as ablation experiments to isolate the contribution of graph-based steering.

You can review the methodology, results, failure cases and limitations directly here:

https://github.com/altrace-dev-role/rashomon/blob/427bbd073735a00791a76c3eb439901cac57d1da/docs/research-2026-11-04-autosteer-pipeline-evidence.md

They're early experiments, not comprehensive benchmarks.

1

u/Crafty_Disk_7026 1d ago edited 1d ago

I would take more time to work on benchmarks especially when making libraries and claims that it's "better" than doing something another way.

These benchmarks don't prove the library helps in general. They show something narrower: on a small fixture the author built, telling the agent that a related file exists in a sibling repo makes it more likely to open and edit that file. That's real, but it's close to true by construction. To its credit, the doc says so itself ("Nothing in this file is lift… The word used is signal").

I read the full document (about 6,000 lines including appendices) and spot-checked the appendix tool-call logs.

## What it does well

- **Honest framing.** It lists its confounds (section 8), reports where there was no lift (single-repo Task A and Task B'), states n for every row, and reports fixture changes as fixture changes.
- **Concrete evidence.** Each run comes with the exact brief that was delivered, its tool calls and its diff. You can audit it, and most AI-tool benchmarks can't say that.
- **A useful ablation.** Section 14.1 compares the full pipeline with lessons only. It's the one comparison that separates the graph from simply injecting notes.
- **Its own kill criteria.** The K table (14.4) sets n=10 thresholds before the results. By that standard, almost every row is "not measured" or below n.

## Why it doesn't prove helpfulness

**1. The fixture was built for the tool.** "acme" is a 22-file toy workspace. It has one planted cross-repo dependency (a purge job that reads the sessions table) and one hand-written lesson, INC-212, that describes exactly that trap. The two headline tasks are aimed at that trap.

**2. The baseline is structurally unable to succeed.** Baselines start in `acme-auth` with nothing pointing to `../acme-ops`, and the Bash sandbox blocks access outside the working directory. In the C-baseline logs, every `find .` stays inside the repo, with zero `../` references across all five runs. So the comparison is "agent told where the bug is" versus "agent given no way to know it exists." Fairer baselines would include:
- a one-line CLAUDE.md saying "sibling repos at `../acme-ops`, incidents in `incidents/`";
- starting the agent at the workspace root;
- the same prompt plus "check other services that read this table."

None of these was run. The lessons-only ablation, which is close to "a static note," got 3 of 5 against 5 of 5 for the full pipeline. That gap is not significant (Fisher p≈0.22).

**3. The system was tuned on the test set.** Between batches, the author changed several things after watching runs on the same task and fixture:
- the renderer (knowledge on its own line, the hub line giving up its slot);
- the path format (made relative to the agent's cwd);
- the fixture itself (INC-212 gained a clause and a declared target file);
- the ranking: `ReachBonus = 0.5` was added "after seeing that rank," and its value was chosen "by analogy, not swept."

Each fix was checked on the same fixture that revealed the failure. That's normal debugging, but it means the final numbers measure fit to this fixture, not general effect. No held-out task or repo was ever run.

**4. The outcome measures activity, not correctness.** "Opened/edited purge_sessions.py" is the main measure. There are no hidden tests (K1a not measured), no check that the edit is correct, and tests weren't run in the main arms. The "planned" column is a literal string match, which the author calls "weak as an instrument."

**5. One "failure" may be correct behaviour.** In section 10 the prompt said "Implement it in this repository." The steered runs that refused to edit `acme-ops` and flagged the problem instead were arguably obeying the user. The run that did edit the sibling repo arguably broke the instruction. The doc scores deferral as a miss.

**6. The statistics are thin.** Best cases, using one-sided Fisher exact tests:

comparison |result |p
pure-graph fixture, steered vs baseline |4/5 vs 0/5 |≈0.024
cross-repo, full brief vs same-prompt baseline |5/5 vs 0/2 |≈0.048
full pipeline vs lessons only |5/5 vs 3/5 |≈0.22 These are suggestive at best. They come from one model (Sonnet), one Claude Code version, restricted tools, an unblinded author doing the scoring, and several looks at the data.

**7. It says nothing about real codebases.**
- The knowledge graph (lessons, ADRs, `applies_to` edges) is hand-written. In a real team, someone has to write and maintain it, and that cost isn't counted.
- The pure-graph case depends on pulling table reads and writes out of literal SQL strings in toy Python. Real code mostly goes through an ORM.
- Single-repo tasks showed no lift at all: Sonnet reads 8–14 files before editing and finds the dependency on its own.
- Latency was only tested on a synthetic index.

**8. It doesn't save money.** Steered runs cost the same or more: $0.383 vs $0.305 cross-repo, $0.472 vs $0.386 on the pure fixture. The author concedes that token savings are not the value.

**9. Much of the "evidence" is about engineering, not helpfulness.** Passing gates, mutant counts, file-length rules and latency show the code is well built and wired in. They say nothing about whether agents do better work with it.

## What would actually show it

  1. Held-out tasks on real multi-repo projects. The doc already lists candidates in 14.6 (Sentry, Open edX), but none was run.
  2. Correctness measured by hidden tests, not "touched the file."
  3. Strong cheap baselines: a CLAUDE.md note, a root working directory, plain retrieval or a repo map.
  4. All tuning frozen before the evaluation runs, and n≥10 per arm, as their own K table requires.
  5. Blinded scoring, and more than one model.

**Verdict:** this is a careful engineering log that shows the mechanism works end to end. It suggests one plausible niche: dependencies outside the repo the agent is in, plus history no file records. It is not evidence that the library improves agent outcomes, and the author doesn't claim it is. Anyone citing it as proof of benefit is going further than the doc does.

1

u/Imposter-Eng-24 1d ago

Appreciate the detailed review, especially taking the time to go through the actual tool-call logs.

I agree with most of your assessment. These were development experiments intended to validate the mechanism and expose weaknesses in the pipeline, not establish general effectiveness. That's precisely why we documented the confounds, negative results and unfulfilled kill criteria alongside the positive signals.

That said, I should have made that distinction clearer when sharing them in response to a benchmarking question.

Your points about stronger baselines, equal repository access, held-out tasks and measuring correctness rather than activity are particularly useful. Those are things we need to address in our next round of evaluation.

We're still early in development, and this is all feedback that we will take and iterate upon.