diff --git a/.gitignore b/.gitignore index 79126ed..ed96eab 100644 --- a/.gitignore +++ b/.gitignore @@ -4,13 +4,12 @@ dist/ plan2code-metrics/dist plan2code-metrics/node_modules plan2code-metrics/package-lock.json -.plan2code-loop .plan2code/metrics/ +.plan2code/dead-code/ .cognition/ handoffs/ node_modules/ /package-lock.json -SYNC.md # Generated by install.js/`npm run build:skills` from src/, regenerated on # every install, so it never needs committing. Anchored: .claude/skills/ and @@ -25,4 +24,3 @@ prototypes/ plan2code-app/target/ plan2code-app/src-tauri/gen/ plan2code-app/ui/vendor/ -.plan2code/ diff --git a/.plan2code/settings.json b/.plan2code/settings.json new file mode 100644 index 0000000..cf91ae8 --- /dev/null +++ b/.plan2code/settings.json @@ -0,0 +1,4 @@ +{ + "format": 1, + "learning": "on" +} diff --git a/AGENTS.md b/AGENTS.md index 5f81896..74fa252 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -84,8 +84,12 @@ The web console draws him as inline SVG in `src/web-console/public/index.html`, ╰┬─┬╯ ``` +Lessons: approved lessons about this codebase live in `.plan2code/lessons/`, one file per area plus `general.md`. Each file lists the paths it covers; read the matching file before changing that code. + ## Keeping this file current +During a Plan2Code skill run, mistakes are offered as lessons at the end of the run, not written here. Outside a skill run, add one line to the failure log as before. + The `Failure log` section below is a recording of mistakes made by previous AI Agents while working with this code base. When you make a mistake, get corrected, or discover something about this codebase that wasn't written down: