Compare commits

...
4 Commits
10 changed files with 115 additions and 19 deletions

No files matched your search

+1 -1
View File
@@ -1 +1 @@
U0VOQwFdv/msSzIgNJjIPVQnlajSdprE48RetOzVyO7JYBHOdjRWja5mP7oOgtMJT6qPSEayYma+SNICMFLBj0juEV93RcOKDiIgcjBIfj2Psj5v524CDy7CersjOxgYF3mDSMroPjyJM/Ax4KNTpupCd4jwGxykCM+tGCtqUN6XoyHbfYLIq1Rx6Bk5dgtsCfc324J2NCsIJHumcZ2rAkqOf+RfTsbTdaJTiyNC3YNwXAEUbVNRBQM/MnYpIResmnoVyJCt6V9JZ1oT8pnoZ+rga49fu/hG8A9uvAeUAjtVMP8Wz4ks6Yer3kubiofEWo4swXdh4Vimd+X9oLv40/oFdcOBGpJRua5+OdKhiKfMBDnCYlHkgf3pxFY+81CUcCeXAuVmmUive9rNtKZaUGQ7/v0U++ZbEMO1Udiewq/wuN4AzU3vsIbbLXI+OUL2zo1fMjWAxVxc8hIMD6U8g8xNstznKvc2dE/1CTXIWwgL+45BiHn7sOQDs/WVdUkR8srM4jYlcraz4Z07+LWLsmkiqxGH4Y8r8zg+S7kwEHID51YEofJ70lDW3P/rX5OoHPNeu8azIbdlYZJV0FIPtmMDF0gNg9doZJVa33IsSN6n+Wg+673ZTOV5nROJbk7bWuyY6WjMHrIZ99vb2XqfcBOTe62J8sa5TXNFL4qx3h+eCQg/xQg/GiVeluiE4a37woqM8FPpHcxZNIgtGjSucx+Yg21zkAQfGVwAnLtzXmaTjpw7IQUzHdmmhp7jVRS6SX7E0o9wf70jsQ+g8wXNhfHCCmiM3l16AzWk6oTmZmDiMpIIHPlkhZmCOroxNXE3Cioo5DDH9AgR3h0hWBLjCEubPg1GQNmMHwe3vk+wmZxbrfkGNhFBPgmA6XIxmjAGpxh5kbw2ItQCBbHleo8dwgp7BM6gfUG9KfexlVeLFY2XwZJ6Fim/onqT0qU/TeccZKxiuBMGe6p6ODQ6UdXpgzFtgU6d0xVEuc/wUvXlo9ooMxo+R94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nEte53vfZ3rkU6cg3jw6G/3kGRhdCdWbzfXlOriojszcV8Tdu0Xi1ThpRq1tFJQmnA1nQ8pk3LisntnT8EC+71fpBHHA5z7GOeyStFweJkoFApSerfe3ZOc62sdE4Nr/kgs3b9BPd+Fpd4J7xMeiC3XMeRB6jGAQES89ghu7iSxcGv24emn42h89mstSOT1m+6Jc2WOuhI0djyVaxbMUOKdfoPAD9uKAcdtt/x39Rlad3PA3niLdOwZb6DMWX7+V23N+1OAgUon0bvGhlc3BtlhLQhERg19/0eg5UwJluGhgLH/pROwz+/fRgzf5UOXmoZZ9DLine truncated
+17
View File
@@ -1,10 +1,27 @@
# General
### A new dialog wider than 440px needs max-width: none next to its width, sized like the Notebook dialog (min(1200px, 90vw)); the base .modal caps every dialog at 440px, so a width alone has no effect.
- Kind: correction
- About: src/web-console/public/styles/learning.css, src/web-console/public/styles/pieces.css
- Why: The Lessons dialog declared width: min(720px, ...) without max-width: none and rendered about 440px wide.
- Noted: 2026-11-15, quick-task
### A new file under src/web-console/ needs a row in the AGENTS-architecture console files tables; run scripts/test-web-console-shape.mjs after adding one, since it fails until the row exists.
- Kind: convention
- About: scripts/test-web-console-shape.mjs, .agents-docs/AGENTS-architecture-console-page.md
- Noted: 2026-11-14, implement-review
### In a node:test file, start fixtures such as a test server in a root before hook, never with a top-level await after the first test(), which lets the runner run after hooks early
- Kind: correction
- About: scripts/test-script-deps.mjs
- Why: test-script-deps.mjs awaited its server mid-file and 7 tests failed on Ubuntu and macOS CI only.
- Noted: 2026-11-15, Failure log
### The launcher's prompts each open a new readline on stdin, so a test piping several answers at once loses all but the first; drive a multi-prompt flow by writing each answer after a short delay.
- Kind: how-it-works
- About: src/launcher/plan2code.js
- Noted: 2026-11-15, implement-review
### When a card in src/plan2code-deps.md changes (what it lists or asks), change the same card in src/web-console/notes/deps.md in the same edit: the console builds the card from the notes.
- Kind: correction
- About: src/plan2code-deps.md, src/web-console/notes/deps.md
+11 -5
View File
@@ -6,28 +6,34 @@ All notable changes to Plan2Code will be documented in this file.
### ✨ Added
- **Learning**: a dashboard row (and a banner) that keeps lessons about the codebase, approved by you. Switch it on or off per project, and the row shows "Switching on…" or "Switching off…" the moment you press the button. Lessons live under `.plan2code/lessons/`, and the failure log can be moved into them.
- **Update dependencies**: a new `/plan2code-deps` skill that updates a project's dependencies using each package manager's own outdated and audit output, and writes a held-back upgrade up as an `UPGRADE-<date>.md` brief. Quick Task or Plan can pick that brief up, and the dashboard shows it as "Upgrade ready" and "Upgrade done".
- **UI Prototype**: a new skill, and Quick Task confirms a saved prototype's brief before planning. It can also start from a Notebook tab.
- **Learning**: a dashboard row (and a banner) that keeps lessons about the codebase, approved by you. Switch it on or off per project, and the row shows "Switching on…" or "Switching off…" the moment you press the button. Lessons live under `.plan2code/lessons/`, and the failure log can be moved into them. The Lessons review shows that it is working while it saves, and always offers a way out.
- **Update dependencies**: a new `/plan2code-deps` skill that updates a project's dependencies using each package manager's own outdated and audit output, labels each update Safe, Check first or Warning in plain words, checks the untouched tree first so a group is blamed only for what it broke, honors versions the project pins, and writes a held-back upgrade up as an `UPGRADE-<date>.md` brief. It fixes a small break in your code or installs a missing scanner only after you approve that exact change, and its report names the files it fixed. Quick Task or Plan can pick that brief up, and the dashboard shows it as "Upgrade ready" and "Upgrade done".
- **UI Prototype**: a new skill, and Quick Task confirms a saved prototype's brief before planning. It can also start from a Notebook tab, and Pathfinder, Plan, Revise plan and Quick Task can offer one when a decision is about how a screen looks or flows.
- **web console**: a **Changes** tab at sign-off in Implement, Implement + Review and Quick Task. The run snapshots the working tree when it starts and draws the diff of everything it changed at the end, without touching the index or branches.
- **web console**: a **Prototypes** tab lists a spec's saved prototypes. An `.md` is read in place, and an `.html` opens in the default browser.
- **web console**: the Activities picker is a two-column Score ledger, ordered by recently played or A to Z.
- **web console**: a swaying question mark beside Ask for suggestions, and a chevron before Send.
- **launcher**: `plan2code` and the desktop shortcut offer the project folders you opened lately (the last five), and the desktop app asks for a folder the same way, with Choose a folder first.
- **Snake**: lives, bonus lives at score marks, and three bosses (Grumpy Golem, Comet Queen, Thunder Toad).
- **Bounce Road**: four new music tracks and extras.
- **web console**: Ask for suggestions is on the Lessons to keep card, in the Notes panel and in the Lessons modal, where the reply shows in a Suggestions box.
### 🔧 Changed
- **tooling**: tool folders (Dead Code's keep list and reports, Learning's settings) now live under `.plan2code/`, which is gitignored.
- **tooling**: tool folders (Dead Code's keep list and reports, the metrics data, Learning's settings) now live under `.plan2code/`; the generated folders in it are gitignored, and the Learning settings and lessons are kept with the repository.
- **web console**: a new Notebook tab opens with its name as a `## heading`, and the caret waits under it.
- **web console**: the git board's branch title links to the branch on its host.
- **web console**: the dashboard keeps each group at one card width with no card left alone on a row, and the approval tip sits centered under the cards.
- **web console**: the Diagnose finish shows the saved diagnosis in full, with Copy report for a ticket elsewhere.
- **Quick Task**: offers to archive a prototype-only spec folder once it has built from it.
- **desktop app**: the window no longer takes file drops, and the Loop driver was updated.
- **desktop app**: the window no longer takes file drops, the Loop driver was updated, and when the reconnect countdown ends the app tries reconnecting once on its own.
- **docs**: a Test map section in AGENTS.md, and Learning turned on for this repository.
### 🐛 Fixed
- **Quick Task**: a finish that offers the review again after a review already ran in that launch is refused.
- **web console**: the Lessons modal is as wide as the Notebook (it was stuck at the 440px default).
- **tooling**: the deps test starts its fixture server in a root before hook, so after hooks can no longer run early (it failed on Ubuntu and macOS CI).
## v3.0.6
+13 -3
View File
@@ -7,7 +7,7 @@
// folder used as the whole PATH, replaying recorded tool output, so the suite
// passes on a machine with none of the tools installed.
import { test, after } from "node:test";
import { test, before, after } from "node:test";
import assert from "node:assert/strict";
import { spawn } from "node:child_process";
import fs from "node:fs";
@@ -2215,12 +2215,14 @@ const HTTP_ROUTES = {
"/hang": { hang: true },
};
let httpChild = null;
async function httpServer(routes) {
const dir = tmp("deps-http");
fs.writeFileSync(path.join(dir, "server.mjs"), HTTP_SERVER);
fs.writeFileSync(path.join(dir, "routes.json"), JSON.stringify(routes));
const child = spawn(process.execPath, [path.join(dir, "server.mjs"), path.join(dir, "routes.json")], { stdio: ["ignore", "pipe", "inherit"] });
after(() => child.kill());
httpChild = child;
const port = await new Promise((resolve, reject) => {
child.stdout.once("data", (d) => resolve(Number(String(d).trim())));
child.once("exit", (code) => reject(new Error(`the test HTTP server exited (${code})`)));
@@ -2228,7 +2230,15 @@ async function httpServer(routes) {
return `http://127.0.0.1:${port}`;
}
const HTTP = await httpServer(HTTP_ROUTES);
// Started in a root before hook, never with a top-level await here: tests are
// already registered above, so node:test starts running them during such an
// await, sees the root suite finish, and runs its after hooks (this server's
// kill and fixtureCleanup) before the notes tests below ever run.
let HTTP = null;
before(async () => {
HTTP = await httpServer(HTTP_ROUTES);
});
after(() => httpChild?.kill());
const noteRow = (lockfile, pkg, current, target, extra = {}) => ({ id: `${lockfile}#${pkg}`, package: pkg, current, target, jump: deps.jumpOf("npm", current, target), inRange: true, range: null, pinned: false, security: null, repo: null, pair: null, ...extra });
+3 -2
View File
@@ -392,7 +392,7 @@ const chipOf = (s) => s.page.locator("#aside").getByRole("button", { name: "Ask
// What a person sees break: the chip on a card where there is nothing to pick,
// on a settled record, or missing where they are unsure what to pick.
test("the Ask for suggestions chip shows on open choice, multi and confirm cards only", async (t) => {
test("the Ask for suggestions chip shows on open choice, multi, confirm and lessons cards only", async (t) => {
const s = await openSession(await suite.browser(), {
t,
workflow: "plan",
@@ -401,13 +401,14 @@ test("the Ask for suggestions chip shows on open choice, multi and confirm cards
{ id: "c1", kind: "choice", title: "Export format", body: "Which format?", options: [opt("A", "CSV"), opt("B", "JSON")] },
{ id: "m1", kind: "multi", title: "Columns", body: "Which?", options: [opt("1", "Date"), opt("2", "User")] },
{ id: "y1", kind: "confirm", title: "Keep going", body: "Carry on?" },
{ id: "l1", kind: "lessons", title: "Lessons to keep", body: "Choose for each one.", required: false, rows: [{ id: "r1", type: "lesson", text: "A lesson.", why: "", origin: "You said this.", note: "", flags: [], refused: null, area: "General", kind: "convention", about: ["a.js"], areas: ["General"], choices: ["Keep", "Reword", "Drop"] }] },
{ id: "t1", kind: "text", title: "What to call it", body: "A name.", required: false },
{ id: "d1", kind: "choice", title: "Old pick", body: "Which?", options: [opt("A", "CSV"), opt("B", "JSON")], status: "answered", answer: { k: "B" } },
],
agent: { status: "waiting" },
},
});
for (const [id, title, shown] of [["c1", "Export format", 1], ["m1", "Columns", 1], ["y1", "Keep going", 1], ["t1", "What to call it", 0], ["d1", "Old pick", 0]]) {
for (const [id, title, shown] of [["c1", "Export format", 1], ["m1", "Columns", 1], ["y1", "Keep going", 1], ["l1", "Lessons to keep", 1], ["t1", "What to call it", 0], ["d1", "Old pick", 0]]) {
await goTo(s, id, title);
assert.equal(await chipOf(s).count(), shown, `chip on ${id}`);
if (shown) assert.equal(await textOf(chipOf(s)), "Ask for suggestions");
@@ -517,6 +517,28 @@ test("lessons card: Not now and the corner close leave every lesson waiting and
}
});
test("lessons card: the dialog has Ask for suggestions, which sends one request and shows the reply in a Suggestions box", async (t) => {
const { s, dlg } = await reviewOpen(t);
s.wait(10);
postCard(s);
await dlg.locator(".lessons-row").waitFor();
const ask = dlg.getByRole("button", { name: "Ask for suggestions" });
assert.equal(await ask.isDisabled(), false);
assert.equal(await dlg.locator(".lessons-suggestions").count(), 0, "nothing asked yet");
await ask.click();
const got = s.wait(10);
assert.equal(got.code, 0);
const sentAction = got.actions.find((a) => a.suggest === true);
assert.ok(sentAction, JSON.stringify(got.actions));
assert.equal(sentAction.i, "lessons");
assert.match(got.reply, /^Suggestions wanted on Lessons to keep:/m);
await dlg.locator(".lessons-suggestions", { hasText: "Asking Plan2Code" }).waitFor();
assert.equal(await dlg.getByRole("button", { name: "Ask for suggestions" }).isDisabled(), true, "one request waits at a time");
assert.equal(await dlg.getByRole("button", { name: "Keep" }).count(), 1, "the lessons stay open to choose");
s.post({ items: [{ id: "lessons", thread: [{ who: "agent", text: "1. Keep it: a real trap." }] }], agent: { status: "waiting" } });
await dlg.locator(".lessons-suggestions", { hasText: "Keep it: a real trap." }).waitFor();
});
test("lessons card: closing with choices made asks first, and Keep editing goes back", async (t) => {
const { s, dlg } = await reviewOpen(t);
s.wait(10);
+1 -1
View File
@@ -834,7 +834,7 @@ export function renderAside() {
// The cards with options to pick from, where asking what Plan2Code would pick
// makes sense.
const SUGGEST_KINDS = ["choice", "multi", "confirm"];
const SUGGEST_KINDS = ["choice", "multi", "confirm", "lessons"];
// Ask for suggestions: its own send, beside the main one (core.js). Focus
// stays in the panel: on the chip when it is live again, else the note box.
+38 -3
View File
@@ -10,9 +10,10 @@
// and is disabled whenever a card would be.
import { page, redraw, hooks, stage } from "../state.js";
import { el, mdInto, lightDismiss } from "../render.js";
import { el, md, mdInto, lightDismiss } from "../render.js";
import { postJson } from "../net.js";
import { sendState } from "../send-state.js";
import { sendState, suggestState } from "../send-state.js";
import { threadWho, threadText } from "../answers.js";
import { loopDriving, isOpen, stagedCount, learningBusyNow } from "../selectors.js";
const TOP_STATES = new Set(["not-set-up", "off", "paused"]);
@@ -345,6 +346,17 @@ export function renderLessonsDialog(on) {
ask.appendChild(row);
actions.appendChild(ask);
} else {
const suggest = suggestionsBox(item);
if (suggest) actions.appendChild(suggest);
// The Notes panel is not on this dialog, so its Ask for suggestions chip
// is here: the same request, answered in the Suggestions box above.
const st = suggestState(item);
const ask = el("button", "btn ghost", "Ask for suggestions");
ask.type = "button";
ask.id = "lessons-suggest";
ask.disabled = saving || st.disabled;
ask.title = st.why || "";
ask.addEventListener("click", () => hooks.askSuggestions(item.id));
const later = el("button", "btn ghost", "Not now");
later.type = "button";
later.id = "lessons-later";
@@ -356,7 +368,7 @@ export function renderLessonsDialog(on) {
if (saving) go.appendChild(spinnerLabel("Saving…"));
else go.textContent = "Save lessons";
go.addEventListener("click", () => saveLessons(item));
actions.append(later, go);
actions.append(ask, later, go);
if (stagedCount() > 1) actions.appendChild(el("p", "help", "Anything else ready to send goes with it."));
}
dlg.replaceChildren(card, actions, x);
@@ -365,6 +377,29 @@ export function renderLessonsDialog(on) {
dlg.scrollTop = scroll;
}
/**
* The Suggestions box above the dialog's buttons: "Asking Plan2Code…" while a
* request waits, then the agent's latest reply in the card's thread after the
* last request. Null when nothing was asked.
*/
function suggestionsBox(item) {
const thread = Array.isArray(item.thread) ? item.thread : [];
let asked = -1;
thread.forEach((m, i) => {
if (m && m.suggest === true && threadWho(m) === "user") asked = i;
});
const waiting = item.sentNote && item.sentNote.suggest === true && !thread.slice(asked + 1).some((m) => threadWho(m) === "agent");
const reply = asked >= 0 ? thread.slice(asked + 1).filter((m) => threadWho(m) === "agent").pop() : null;
if (!waiting && !reply) return null;
const box = el("div", "lessons-suggestions");
box.id = "lessons-suggestions";
box.setAttribute("role", "status");
box.appendChild(el("h3", null, "Suggestions"));
if (reply && !waiting) box.appendChild(md(threadText(reply), "md"));
else box.appendChild(el("p", "help", "Asking Plan2Code. Its answer shows here."));
return box;
}
/**
* The dialog's Save lessons, set again whenever what is staged changes,
* including the quiet staging of typing (a Reword field emptied, a note): on
+8 -3
View File
@@ -193,14 +193,19 @@
.lessons-first-about { margin: 12px 0 0; }
.lessons-later { margin-top: 8px; }
/* Review from the dashboard: the same card in a dialog over the menu. */
.modal.lessons-dialog { width: min(720px, calc(100vw - 32px)); }
.lessons-dialog .card { margin: 0; box-shadow: none; border: 0; padding: 0; }
/* Review from the dashboard: the same card in a dialog over the menu. Sized
like the Notebook dialog; max-width: none lifts the base .modal 440px cap. */
.modal.lessons-dialog { width: min(1200px, 90vw); max-width: none; }
.lessons-dialog .card { margin: 0; box-shadow: none; border: 0; padding: 0; max-width: none; }
/* The lessons dialog: closable (the corner ×, Not now, Escape), and locked
while Save lessons goes. */
.lessons-dialog .modal-actions { align-items: center; justify-content: flex-end; }
.lessons-dialog .modal-actions .btn { margin: 0; }
.lessons-suggestions { flex: 1 1 100%; padding: 10px 14px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: calc(var(--radius) * 0.5); }
.lessons-suggestions h3 { margin: 0 0 6px; font-size: 13.5px; }
.lessons-suggestions .md { max-height: 40vh; overflow: auto; font-size: 13.5px; }
.lessons-dialog .modal-actions { flex-wrap: wrap; }
.lessons-dialog .modal-actions .btn .spinner { margin-right: 8px; }
.modal-x {
position: absolute;
+1 -1
View File
@@ -17,6 +17,6 @@
"url": "https://github.com/jparkerweb/plan2code"
},
"homepage": "https://github.com/jparkerweb/plan2code",
"releaseDate": "2026-11-14",
"releaseDate": "2026-11-15",
"mode": "utility"
}