@useorgx/wizard 0.1.44 → 0.1.45

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
@@ -10353,6 +10353,7 @@ ${finding.summary}`)
10353
10353
  coverage,
10354
10354
  findings
10355
10355
  });
10356
+ const tiers = computeTiers({ stackScore, durabilityScore });
10356
10357
  return {
10357
10358
  aq,
10358
10359
  stack_score: stackScore,
@@ -10362,6 +10363,7 @@ ${finding.summary}`)
10362
10363
  source_bonus: sourceBonus,
10363
10364
  context_leak_score: contextLeakScore,
10364
10365
  archetype,
10366
+ tiers,
10365
10367
  repair_quests: repairQuests,
10366
10368
  notes: [
10367
10369
  "AQ is source-positive: connected sources, proof, and runtime writeback raise the current score; missing sources raise the ceiling and repair quests instead of lowering the current score.",
@@ -10444,6 +10446,56 @@ function buildAgenticRepairQuests(input) {
10444
10446
  }
10445
10447
  return quests.sort((left, right) => right.expected_aq_lift - left.expected_aq_lift).slice(0, 6);
10446
10448
  }
10449
+ var STACK_TIER_LABELS = {
10450
+ 1: "Prompt Tourist",
10451
+ 2: "Assisted",
10452
+ 3: "Operator",
10453
+ 4: "AI-Forward",
10454
+ 5: "AI-Maxed",
10455
+ 6: "Distributed Agent"
10456
+ };
10457
+ var DURABLE_TIER_LABELS = {
10458
+ 1: "Transcript Graveyard",
10459
+ 2: "Context Leaking",
10460
+ 3: "Partial Memory",
10461
+ 4: "Durable",
10462
+ 5: "Compounding",
10463
+ 6: "Compounding Org"
10464
+ };
10465
+ function stackTier(score) {
10466
+ if (score < 25) return 1;
10467
+ if (score < 45) return 2;
10468
+ if (score < 55) return 3;
10469
+ if (score < 70) return 4;
10470
+ if (score < 85) return 5;
10471
+ return 6;
10472
+ }
10473
+ function durableTier(score) {
10474
+ if (score < 25) return 1;
10475
+ if (score < 45) return 2;
10476
+ if (score < 60) return 3;
10477
+ if (score < 75) return 4;
10478
+ if (score < 90) return 5;
10479
+ return 6;
10480
+ }
10481
+ function computeTiers(input) {
10482
+ const sTier = stackTier(input.stackScore);
10483
+ const dTier = durableTier(input.durabilityScore);
10484
+ return {
10485
+ stack: { tier: sTier, label: STACK_TIER_LABELS[sTier] },
10486
+ durable: { tier: dTier, label: DURABLE_TIER_LABELS[dTier] }
10487
+ };
10488
+ }
10489
+ var ARCHETYPE_PRIMARIES = {
10490
+ mcp_necromancer: "Tool-Rich, Memory-Poor",
10491
+ ai_native_operator: "Connected & Durable",
10492
+ proof_maximalist: "Heavy on Receipts",
10493
+ context_leaker: "Tools In, Proof Out",
10494
+ agent_wrangler: "Agents Without Ops",
10495
+ decision_ghost: "Decisions Without Records",
10496
+ careful_operator: "Small Stack, Tight Loop",
10497
+ prompt_tourist: "Early Days"
10498
+ };
10447
10499
  function assignAgenticArchetype(input) {
10448
10500
  const { stackScore, durabilityScore, contextLeakScore, agenticGap, criticPassRatio } = input;
10449
10501
  const toolFailureCount = input.findings.filter(
@@ -10460,6 +10512,7 @@ ${finding.summary}`)
10460
10512
  return {
10461
10513
  id: "ai_native_operator",
10462
10514
  label: "AI-Native Operator",
10515
+ primary: ARCHETYPE_PRIMARIES.ai_native_operator,
10463
10516
  roast: "The agents are working and the receipts mostly survive contact with reality.",
10464
10517
  truth: "Your work is both agent-rich and increasingly durable.",
10465
10518
  repair: "Scale the loop into weekly deltas and team-level source coverage."
@@ -10469,6 +10522,7 @@ ${finding.summary}`)
10469
10522
  return {
10470
10523
  id: "proof_maximalist",
10471
10524
  label: "Proof Maximalist",
10525
+ primary: ARCHETYPE_PRIMARIES.proof_maximalist,
10472
10526
  roast: "Annoyingly competent. Receipts attached.",
10473
10527
  truth: "Verification and ownership are the strong parts of your system.",
10474
10528
  repair: "Use the proof base to widen the agent stack."
@@ -10478,6 +10532,7 @@ ${finding.summary}`)
10478
10532
  return {
10479
10533
  id: "mcp_necromancer",
10480
10534
  label: "MCP Necromancer",
10535
+ primary: ARCHETYPE_PRIMARIES.mcp_necromancer,
10481
10536
  roast: "You summoned the tools; a few still need contracts.",
10482
10537
  truth: "Your stack is rich, but repeated tool failures are leaking context.",
10483
10538
  repair: "Add runtime hook replay and tool-contract proof before expanding the stack."
@@ -10487,6 +10542,7 @@ ${finding.summary}`)
10487
10542
  return {
10488
10543
  id: "context_leaker",
10489
10544
  label: "Context Leaker",
10545
+ primary: ARCHETYPE_PRIMARIES.context_leaker,
10490
10546
  roast: "Your stack is cooking. Your operating memory is evaporating.",
10491
10547
  truth: "A lot is happening, but too much of it dies in sessions.",
10492
10548
  repair: "Enable runtime hooks, connect proof sources, and promote trapped decisions."
@@ -10496,6 +10552,7 @@ ${finding.summary}`)
10496
10552
  return {
10497
10553
  id: "agent_wrangler",
10498
10554
  label: "Agent Wrangler",
10555
+ primary: ARCHETYPE_PRIMARIES.agent_wrangler,
10499
10556
  roast: "You have agents. They do not yet have an operating system.",
10500
10557
  truth: "Delegation is happening, but coordination proof is thin.",
10501
10558
  repair: "Promote owner-visible workstreams and attach proof to agent handoffs."
@@ -10505,6 +10562,7 @@ ${finding.summary}`)
10505
10562
  return {
10506
10563
  id: "decision_ghost",
10507
10564
  label: "Decision Ghost",
10565
+ primary: ARCHETYPE_PRIMARIES.decision_ghost,
10508
10566
  roast: "Your best calls are haunting transcripts instead of steering work.",
10509
10567
  truth: "Decision evidence exists, but durable decision records are weak.",
10510
10568
  repair: "Promote decisions with commit, owner, and outcome refs."
@@ -10514,6 +10572,7 @@ ${finding.summary}`)
10514
10572
  return {
10515
10573
  id: "careful_operator",
10516
10574
  label: "Careful Operator",
10575
+ primary: ARCHETYPE_PRIMARIES.careful_operator,
10517
10576
  roast: "Small stack, strong receipts.",
10518
10577
  truth: "You use fewer agents, but the work you do run tends to compound.",
10519
10578
  repair: "Add one new client or proof source without weakening durability."
@@ -10522,6 +10581,7 @@ ${finding.summary}`)
10522
10581
  return {
10523
10582
  id: "prompt_tourist",
10524
10583
  label: "Prompt Tourist",
10584
+ primary: ARCHETYPE_PRIMARIES.prompt_tourist,
10525
10585
  roast: "You are early enough that the score is still honest, not embarrassing.",
10526
10586
  truth: "There is not enough durable agent work yet to call this a compounding system.",
10527
10587
  repair: "Pick one client, run real work through it, then connect proof."
@@ -14513,7 +14573,7 @@ function printDoctorReport(report, assessment) {
14513
14573
  async function main() {
14514
14574
  const program = new Command();
14515
14575
  program.name("orgx-wizard").description("Add OrgX MCP configs, skills/rules, and companion plugins to your local AI tools.").showHelpAfterError();
14516
- const pkgVersion = true ? "0.1.44" : void 0;
14576
+ const pkgVersion = true ? "0.1.45" : void 0;
14517
14577
  program.version(pkgVersion ?? "unknown", "-V, --version");
14518
14578
  program.hook("preAction", (_thisCommand, actionCommand) => {
14519
14579
  if (Boolean(actionCommand.optsWithGlobals().json)) return;