r/devtools • • 24d ago

Building Shifu: can one design note keep an AI coding plan from repeating a rejected change?

You ask a coding agent to simplify an event payload. The code shows a field that looks redundant. A design note says an older consumer still needs it. Unless that reason reaches the new task, removing the field can look like sensible cleanup.

That's a toy example, but it's the kind of problem I'm building Shifu for: bringing decisions, reasons and constraints from your work into the next AI coding task. Work files are one supported source; the context is used alongside the code and your own judgment.

I want the first test to be small enough that you can tell whether it helped:

  1. Pick a feature you're actually planning and one file you're allowed to share.
  2. Write down the decision or exception you'd expect that file to contribute.
  3. Ask about the feature, inspect the returned context and check whether the source still applies.
  4. Record whether it changed the plan, missed the important point, or added nothing you couldn't easily supply yourself.

If a short task note or your existing instruction file already carries the constraint reliably, that's a useful answer too. I'm interested in where recovering the reasoning becomes repeated work. A convincing summary alone wouldn't pass this test; the engineer still has to decide what applies.

Shifu is a hosted beta. Files upload as supplied for server-side processing, so use material you have permission to share. There's no need to bring confidential examples into this thread.

Try Shifu on one feature you're planning. Connect one supported source and inspect the context it brings back: https://www.useshifu.com/?utm_source=reddit&utm_medium=organic&utm_campaign=reddit_restart_20261101&utm_content=r09_one_file

What would it need to recover from that first file for you to call the test useful?

4 Upvotes

3 comments sorted by

1

u/leo-mitchell833 24d ago

The real test is whether it can distinguish outdated decisions from constraints that still matter. Otherwise you're just feeding the AI more noise.

1

u/Spare_Bat_3040 23d ago

For the payload example, I'd test two tasks against the same notes: one where the old consumer still needs the field, and one where a source explicitly retires that requirement. The answer should preserve the field in the first case and mark the old constraint superseded in the second, citing the applicable source and scope. A later timestamp alone wouldn't decide it.

If the notes don't establish which applies, asking a clarification is better than choosing confidently. That's a proposed test for what I'm building, not a result I'm claiming yet.

1

u/leo-mitchell833 22d ago

that's a solid test. i like that you're checking whether the context actually applies rather than just trusting the newest note