@bigsteele/the-big-sean 0.4.3 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +32 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -146,13 +146,45 @@ async function aiReadinessLine(reportDir) {
|
|
|
146
146
|
return null;
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
+
/** The files this tool leaves behind are working artifacts, not source. An
|
|
150
|
+
* untracked THE-BIG-SEAN.md at the root is one `git add .` away from being
|
|
151
|
+
* committed, and the report folder can carry findings about a live system.
|
|
152
|
+
* Ignore them locally, in .git/info/exclude, so we never edit a file the
|
|
153
|
+
* repository tracks. */
|
|
154
|
+
async function ignoreArtifacts(root, log) {
|
|
155
|
+
const marker = "# added by @bigsteele/the-big-sean";
|
|
156
|
+
const entries = ["THE-BIG-SEAN.md", ".planning/launch-audit/", "The Big Sean - *.md", "The Big Sean - *.html"];
|
|
157
|
+
const exclude = join(root, ".git", "info", "exclude");
|
|
158
|
+
try {
|
|
159
|
+
let current = "";
|
|
160
|
+
try {
|
|
161
|
+
current = await readFile(exclude, "utf8");
|
|
162
|
+
}
|
|
163
|
+
catch { /* no exclude file yet */ }
|
|
164
|
+
if (current.includes(marker))
|
|
165
|
+
return;
|
|
166
|
+
const missing = entries.filter((e) => !current.split("\n").some((l) => l.trim() === e));
|
|
167
|
+
if (missing.length === 0)
|
|
168
|
+
return;
|
|
169
|
+
const addition = `${current.endsWith("\n") || current === "" ? "" : "\n"}${marker}\n${missing.join("\n")}\n`;
|
|
170
|
+
await writeFile(exclude, current + addition, "utf8");
|
|
171
|
+
log(`Ignored locally (.git/info/exclude): ${missing.join(", ")}`);
|
|
172
|
+
}
|
|
173
|
+
catch {
|
|
174
|
+
log(`Note: not a git repository, or .git/info/exclude is unwritable. THE-BIG-SEAN.md and .planning/launch-audit/ are untracked; add them to .gitignore before you commit.`);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
149
177
|
async function writeProtocol(root, log) {
|
|
150
178
|
const file = join(root, "THE-BIG-SEAN.md");
|
|
151
179
|
await writeFile(file, await loadPrompt(), "utf8");
|
|
180
|
+
await ignoreArtifacts(root, log);
|
|
152
181
|
log(`Wrote ${file}`);
|
|
153
182
|
log(``);
|
|
154
183
|
log(WARNING);
|
|
155
184
|
log(``);
|
|
185
|
+
log(``);
|
|
186
|
+
log(`What just ran is the AI Audit: a deterministic file scan, seconds, no model involved.`);
|
|
187
|
+
log(`The report card is the other half, and it is a long agent session, not a scan.`);
|
|
156
188
|
log(`Next: open Claude Code in this folder and paste the whole file in (or run big-sean --run).`);
|
|
157
189
|
log(`When it finishes, "The Big Sean - <App Name>.md" and .html are at the repo root and the card opens itself.`);
|
|
158
190
|
log(`Then prove the number: big-sean --check`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigsteele/the-big-sean",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "The Big Sean: the Launch Report Card, by Big Steele and LaSean Pickens. Runs the Big Steele AI Audit, drops a 140-check launch-readiness and autonomy audit protocol into a repo for Claude Code to run, names the deliverable after the app, and independently re-computes any report's math from its grade.json so the number on the card can be proven, not trusted.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|