Skip to content

docs(ai): add design history workflow#499

Merged
fouge merged 1 commit into
mainfrom
docs/agent-design-history
Jun 12, 2026
Merged

docs(ai): add design history workflow#499
fouge merged 1 commit into
mainfrom
docs/agent-design-history

Conversation

@fouge

@fouge fouge commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Document git history checks before changing unclear behavior.


Note

Low Risk
Documentation-only changes to AI assistant guidance; no firmware, build, or runtime behavior is affected.

Overview
Updates utils/ai/AGENT.md so assistants treat git history as design documentation when behavior is unclear.

Prime Directive gains a rule to inspect commit history before changing behavior in those cases. A new Design Decision Archaeology section spells out a six-step workflow (rg, git log/blame/pickaxe, grep on messages, git show, follow PR/issue links) plus rules: run commands in the owning repo, note shallow clones, avoid cargo-culting old behavior, and separate history-confirmed facts from inference in answers.

Reviewed by Cursor Bugbot for commit 4035cce. Bugbot is set up for automated code reviews on this repo. Configure here.

Document git history checks before changing unclear behavior.

Signed-off-by: Cyril Fougeray <cyril.fougeray@toolsforhumanity.com>
@fouge fouge merged commit 2bdbc12 into main Jun 12, 2026
18 checks passed
@fouge fouge deleted the docs/agent-design-history branch June 12, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant