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/CHANGELOG.md +6 -0
- package/dist/mason-auto.js +4 -4
- package/dist/mason-auto.js.map +1 -1
- package/dist/mason-mcp.js +268 -104
- package/dist/mason-mcp.js.map +1 -1
- package/dist/mason.js +7 -7
- package/dist/mason.js.map +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.16.1 — 2026-09-08
|
|
4
|
+
|
|
5
|
+
- Resolve references using literal import paths and declared Kotlin/Java package symbols. Separate explicit path mentions and uncertain name candidates; suppress config/document-name collisions and keep weak candidates out of compact task context with an omission count.
|
|
6
|
+
- Include investigations in project-context guidance and route reusable project lessons into sourced proposals, preserving uncertainty and unknown attribution.
|
|
7
|
+
- Add a two-session knowledge evaluation with ordinary prompts, independent digest-bound review, fresh-checkout reuse, negative controls, and current-guidance/file-notes comparisons. Mechanism validation and live agent outcomes are reported separately.
|
|
8
|
+
|
|
3
9
|
## 0.16.0 — 2026-09-08
|
|
4
10
|
|
|
5
11
|
- Add `mason teardown` to disconnect all project hosts, or one with `--host codex|claude`. Support `--dir`, `--dry-run` and `--json`; retain decisions, configuration, maps, repair evidence and ignore rules. Global uninstall remains separate.
|
package/dist/mason-auto.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.
|
|
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/");
|
|
@@ -2920,7 +2920,7 @@ var init_launcher = __esm({
|
|
|
2920
2920
|
"use strict";
|
|
2921
2921
|
init_evidence();
|
|
2922
2922
|
init_model();
|
|
2923
|
-
executingVersion = () => true ? "0.16.
|
|
2923
|
+
executingVersion = () => true ? "0.16.1" : "development";
|
|
2924
2924
|
mcpCommand = (host) => globalCommand(["--setup-host", host, "mcp"]);
|
|
2925
2925
|
hookCommand = (host) => `mason --setup-host ${host} auto`;
|
|
2926
2926
|
}
|
|
@@ -3248,9 +3248,9 @@ var init_init = __esm({
|
|
|
3248
3248
|
|
|
3249
3249
|
Mason provides recorded decisions and file impact over MCP. A concept map is optional.
|
|
3250
3250
|
|
|
3251
|
-
- Task, bug,
|
|
3251
|
+
- 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.
|
|
3252
3252
|
- Before editing a file \u2192 \`get_impact\` to check references, tests, and historical change partners.
|
|
3253
|
-
-
|
|
3253
|
+
- 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.
|
|
3254
3254
|
- 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.
|
|
3255
3255
|
- 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.
|
|
3256
3256
|
- 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.
|