mason-context 0.16.0 → 0.16.1

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/mason.js CHANGED
@@ -2521,7 +2521,7 @@ var init_evidence = __esm({
2521
2521
  init_dead_command();
2522
2522
  init_storage();
2523
2523
  exec7 = promisify8(execFile8);
2524
- engineVersion = true ? "0.16.0" : "development";
2524
+ engineVersion = true ? "0.16.1" : "development";
2525
2525
  hash = (value) => createHash3("sha256").update(JSON.stringify(value)).digest("hex");
2526
2526
  content = readAuditInput;
2527
2527
  internal = (file) => file === ".mason" || file === ".mason/reports" || file.startsWith(".mason/reports/");
@@ -2937,7 +2937,7 @@ var init_launcher = __esm({
2937
2937
  "use strict";
2938
2938
  init_evidence();
2939
2939
  init_model();
2940
- executingVersion = () => true ? "0.16.0" : "development";
2940
+ executingVersion = () => true ? "0.16.1" : "development";
2941
2941
  mcpCommand = (host) => globalCommand(["--setup-host", host, "mcp"]);
2942
2942
  hookCommand = (host) => `mason --setup-host ${host} auto`;
2943
2943
  }
@@ -3265,9 +3265,9 @@ var init_init = __esm({
3265
3265
 
3266
3266
  Mason provides recorded decisions and file impact over MCP. A concept map is optional.
3267
3267
 
3268
- - Task, bug, or change request \u2192 \`get_context\` with the task text and known files: matching decisions, related tests, impact, and any available map entries.
3268
+ - Task, bug, change request, or investigation of why the project works this way \u2192 \`get_context\` with the task text and known files: matching decisions, related tests, impact, and any available map entries.
3269
3269
  - Before editing a file \u2192 \`get_impact\` to check references, tests, and historical change partners.
3270
- - Learned something the code cannot explain (a failed approach, an incident's cause, a workaround's reason, a review-settled convention) \u2192 \`save_decision\` with rationale, anchors, and any known owner, sources, and recorder. It creates a proposal immediately without setup or a map. Never invent attribution or record code-derivable facts, session trivia, or secrets.
3270
+ - Investigation or correction reveals a reusable project lesson \u2192 \`save_decision\` before finishing. Capture only the lasting constraint and reason, with anchors and known sources, owner, and recorder. This creates a proposal; never infer approval. Preserve uncertain causes and unknown attribution. Route project lessons here; keep personal preferences in agent memory. Skip code summaries, current checkout status, temporary task permissions, session trivia, and secrets. No qualifying lesson means no record.
3271
3271
  - Consult trust metadata before relying on entries: unknown or changed freshness requires inspection, and failed verification means the description must be corrected. Check approval too: proposals are suggestions, legacy records are unreviewed, and accepted decisions are recorded constraints subject to freshness checks. An accepted revision remains operative while a pending proposal is reviewed; keep both versions and their freshness distinct.
3272
3272
  - Asked to review or re-verify a decision \u2192 \`review_decision\` first to inspect content, sources, history, and code changes. Record acceptance, reaffirmation, or retirement only when authorized by the user or a cited team review, with the actual reviewer and reason. Never infer approval from unchanged code. Review and commit the local record through the normal project workflow.
3273
3273
  - For an architectural overview, use \`get_snapshot\` if a map is available. If \`map.status\` is missing or invalid, use available decisions and source evidence; do not start building a map unless requested.
@@ -5341,7 +5341,7 @@ var inputArgs = process.argv.slice(2);
5341
5341
  var managedLaunch = inputArgs[0] === "--setup-host";
5342
5342
  var setupHost = managedLaunch ? inputArgs.splice(0, 2)[1] : void 0;
5343
5343
  var [command, ...args] = inputArgs;
5344
- var usage = `Mason ${"0.16.0"}
5344
+ var usage = `Mason ${"0.16.1"}
5345
5345
 
5346
5346
  Usage: mason <command> [options]
5347
5347
 
@@ -5364,9 +5364,9 @@ try {
5364
5364
  const { prepareLaunch: prepareLaunch2 } = await Promise.resolve().then(() => (init_launcher(), launcher_exports));
5365
5365
  await prepareLaunch2(setupHost);
5366
5366
  }
5367
- if (command === "internal-integration-version") console.log(JSON.stringify({ protocol: 1, version: "0.16.0" }));
5367
+ if (command === "internal-integration-version") console.log(JSON.stringify({ protocol: 1, version: "0.16.1" }));
5368
5368
  else if (!command || ["--help", "-h", "help"].includes(command)) console.log(usage);
5369
- else if (["--version", "-v"].includes(command)) console.log("0.16.0");
5369
+ else if (["--version", "-v"].includes(command)) console.log("0.16.1");
5370
5370
  else if (command === "internal-install") {
5371
5371
  if (args.length) throw new Error("internal-install takes no arguments.");
5372
5372
  const { installStandalone: installStandalone2 } = await Promise.resolve().then(() => (init_install2(), install_exports2));