@useorgx/wizard 0.1.28 → 0.1.29

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 CHANGED
@@ -6229,6 +6229,8 @@ var DEFAULT_LIMIT_PER_SOURCE = 3;
6229
6229
  var DEFAULT_SINCE_DAYS = 30;
6230
6230
  var DEFAULT_MAX_BYTES_PER_FILE = 1e6;
6231
6231
  var AUDIT_RELEVANT_LINE_PATTERN = /\b(decision|decided|artifact|receipt|proof|commitment|committed|next action|follow[- ]?up|outcome|result|impact|roi|economics|token|cost|saved|open loop|gap|blocker|risk|owner|dri|writeback|rollback|quality score|mcp|tool call|orgx_emit_activity|orgx_apply_changeset|complete_with_proof|scaffold_initiative|mcp__orgx__)\b/i;
6232
+ var INSTRUCTION_BOILERPLATE_PATTERN = /^(?:#{1,6}\s*)?(?:agents\.md|instructions?|codex guardrails|precedence|read before you write|use exactly what was specified|don'?t confuse technologies|repo \+ scope hygiene|initiative \/ mcp discipline|ui quality bar|verification standards|secrets \+ safety|patch\/editing rules|commit \/ pr \/ merge protocol|output style|mcp integration|agent domains|skills|conventions)\b/i;
6233
+ var IMPERATIVE_BOILERPLATE_PATTERN = /^[-*]\s+(?:if the user|when the user|never|always|do not|don'?t|default to|treat|produce|pick|verify|avoid|match|use exactly|keep system boundaries|quote bracketed|for orgx|when capture tooling|if no meaningful|do \*\*not\*\*)\b/i;
6232
6234
  function parseAiSessionSources(value) {
6233
6235
  if (!value?.trim()) return [];
6234
6236
  const requested = value.split(",").map((item) => item.trim().toLowerCase()).filter(Boolean);
@@ -6284,7 +6286,9 @@ function extractClaudeMessageText(record) {
6284
6286
  return text2;
6285
6287
  }
6286
6288
  function keepAuditRelevantLines(text2) {
6287
- return text2.split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0 && AUDIT_RELEVANT_LINE_PATTERN.test(line));
6289
+ return text2.split(/\r?\n/).map((line) => line.trim()).filter(
6290
+ (line) => line.length > 0 && AUDIT_RELEVANT_LINE_PATTERN.test(line) && !INSTRUCTION_BOILERPLATE_PATTERN.test(line) && !IMPERATIVE_BOILERPLATE_PATTERN.test(line)
6291
+ );
6288
6292
  }
6289
6293
  function collectJsonlFiles(root, source) {
6290
6294
  if (!existsSync5(root)) return [];
@@ -9544,7 +9548,7 @@ function printDoctorReport(report, assessment) {
9544
9548
  async function main() {
9545
9549
  const program = new Command();
9546
9550
  program.name("orgx-wizard").description("Add OrgX MCP configs, skills/rules, and companion plugins to your local AI tools.").showHelpAfterError();
9547
- const pkgVersion = true ? "0.1.28" : void 0;
9551
+ const pkgVersion = true ? "0.1.29" : void 0;
9548
9552
  program.version(pkgVersion ?? "unknown", "-V, --version");
9549
9553
  program.hook("preAction", () => {
9550
9554
  console.log(renderBanner(pkgVersion));