Trim comments and docs to what the code needs

AI Assisted
This commit is contained in:
Seth committed 2026-12-05 13:19:59 -08:00
1 parent eba3c3bf0c
commit 0bd721fc27
33 files changed
+292 -392

No files matched your search

+8 -10
View File
@@ -1,15 +1,13 @@
#!/usr/bin/env node
// A stand-in agent for CI's smoke run of the built app (.github/workflows/app.yml).
// Point PLAN2CODE_APP_AGENT_BIN at this file. Like a real agent, it opens a web
// console dashboard, with the environment the app gave it, so the console
// announces itself to the window and the dashboard frame has something to
// connect to (smoke-frame.mjs then checks it did). The repo's fake-agent opens
// no console, so it cannot stand in for this.
// A stand-in agent for CI's smoke run of the built app (.github/workflows/app.yml);
// point PLAN2CODE_APP_AGENT_BIN at it. Like a real agent, it opens a web console
// dashboard with the environment the app gave it, so the console announces
// itself to the window and the dashboard frame has something to connect to
// (smoke-frame.mjs checks it did). fake-agent opens no console.
//
// It needs PLAN2CODE_CONSOLE_DIR (the folder holding console.mjs), ignores the
// arguments the app passes a real agent, and then waits on its input until it
// closes. It starts nothing else: the console server is detached, and the
// smoke run stops it with `console.mjs stop --all`.
// Needs PLAN2CODE_CONSOLE_DIR (the folder holding console.mjs), ignores the
// app's arguments, and waits until its input closes. The console server is
// detached; the smoke run stops it with `console.mjs stop --all`.
import { spawnSync } from 'node:child_process';
import { join } from 'node:path';
+2 -3
View File
@@ -1,7 +1,6 @@
// Checks the app's dashboard frame connected to its console, for CI's macOS smoke
// run (.github/workflows/app.yml). A window that comes up but never signs its
// frame in looks alive to a process check; the console's own browser count
// does not lie.
// run (.github/workflows/app.yml). A window whose frame never signs in still
// passes a process check; the console's own browser count does not.
//
// node smoke-frame.mjs [<console home>] [--timeout-ms N]
//