archctx 0.5.2 → 0.5.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "archcontext.practice-catalog-manifest/v1",
3
3
  "catalogVersion": "2026.06.0",
4
- "productVersion": "0.5.2",
4
+ "productVersion": "0.5.4",
5
5
  "generatedAt": "1970-01-01T00:00:00.000Z",
6
6
  "entries": [
7
7
  {
@@ -389,5 +389,5 @@
389
389
  "structurizr.dsl",
390
390
  "twelve-factor"
391
391
  ],
392
- "catalogDigest": "sha256:4280dd4d375235d4777500fabb7a5d9c254261fb353a9fcc5a6f50bc571d99aa"
392
+ "catalogDigest": "sha256:bb1b5d5eacd5faab73dfa99d6c5368ce70bdd1c0b99b0d7f8e1f13478a433beb"
393
393
  }
package/bin/archctx.mjs CHANGED
@@ -1213,7 +1213,7 @@ function productVersionManifest() {
1213
1213
  }
1214
1214
  };
1215
1215
  }
1216
- var ARCHCONTEXT_PRODUCT_NAME = "archctx", ARCHCONTEXT_PRODUCT_VERSION = "0.5.2", ARCHCONTEXT_PACKAGE_MANAGER = "bun@1.4.0", ARCHCONTEXT_NODE_RANGE = ">=22.22 <26", LOCAL_RUNTIME_RPC_SCHEMA_VERSION = "archcontext.runtime-rpc/v1", ARCHCONTEXT_SCHEMA_SET_VERSION = "2026-07-11.explorer-view-v2";
1216
+ var ARCHCONTEXT_PRODUCT_NAME = "archctx", ARCHCONTEXT_PRODUCT_VERSION = "0.5.4", ARCHCONTEXT_PACKAGE_MANAGER = "bun@1.4.0", ARCHCONTEXT_NODE_RANGE = ">=22.22 <26", LOCAL_RUNTIME_RPC_SCHEMA_VERSION = "archcontext.runtime-rpc/v1", ARCHCONTEXT_SCHEMA_SET_VERSION = "2026-07-11.explorer-view-v2";
1217
1217
 
1218
1218
  // packages/contracts/src/refactor.ts
1219
1219
  function refactorProposalDigest(proposal) {
@@ -2552,7 +2552,7 @@ var init_src2 = __esm(() => {
2552
2552
 
2553
2553
  // node_modules/.bun/@colbymchenry+codegraph@1.5.0/node_modules/@colbymchenry/codegraph/npm-sdk.js
2554
2554
  var require_npm_sdk = __commonJS(function(exports, module) {
2555
- var __dirname = "/Users/ancienttwo/Projects/arch-context/node_modules/.bun/@colbymchenry+codegraph@1.5.0/node_modules/@colbymchenry/codegraph";
2555
+ var __dirname = "/private/tmp/archctx-book-freshness/node_modules/.bun/@colbymchenry+codegraph@1.5.0/node_modules/@colbymchenry/codegraph";
2556
2556
  var path = __require("path");
2557
2557
  var os = __require("os");
2558
2558
  var fs = __require("fs");
@@ -34403,9 +34403,16 @@ class ArchctxDaemon {
34403
34403
  });
34404
34404
  }
34405
34405
  if (command === "recommendations") {
34406
+ const gitScope = await this.architectureLedgerGitScope(root);
34406
34407
  return okEnvelope("book.recommendations", {
34407
34408
  ...queryArchitectureLedgerBookRecommendations({ events: replay.events, openOnly: input.openOnly, explain: input.explain, ...budget }),
34408
- freshness,
34409
+ freshness: {
34410
+ ...freshness,
34411
+ repository: gitScope.repository,
34412
+ worktree: gitScope.worktree,
34413
+ headSha: gitScope.worktree.headSha,
34414
+ worktreeDigest: gitScope.worktree.worktreeDigest
34415
+ },
34409
34416
  provenance
34410
34417
  });
34411
34418
  }
@@ -34804,7 +34811,7 @@ class ArchctxDaemon {
34804
34811
  if (current.status === "resolved" || current.status === "superseded") {
34805
34812
  const recorded2 = resolutionEvidenceForRecommendation(replay.evidenceState, recommendation.recommendationId);
34806
34813
  return this.refactorVerifyEnvelope({
34807
- scope,
34814
+ gitScope,
34808
34815
  recommendation,
34809
34816
  evidence: recorded2[0],
34810
34817
  appendStatus: "not-appended",
@@ -34851,7 +34858,7 @@ class ArchctxDaemon {
34851
34858
  const recorded = findResolutionEvidence(replay.evidenceState, plan.evidence.resolutionDigest);
34852
34859
  if (recorded) {
34853
34860
  return this.refactorVerifyEnvelope({
34854
- scope,
34861
+ gitScope,
34855
34862
  recommendation,
34856
34863
  evidence: recorded,
34857
34864
  appendStatus: "already-recorded",
@@ -34869,7 +34876,7 @@ class ArchctxDaemon {
34869
34876
  events: [plan.event]
34870
34877
  });
34871
34878
  return this.refactorVerifyEnvelope({
34872
- scope,
34879
+ gitScope,
34873
34880
  recommendation,
34874
34881
  evidence: plan.evidence,
34875
34882
  appendStatus: "appended",
@@ -34883,8 +34890,8 @@ class ArchctxDaemon {
34883
34890
  refactorVerifyEnvelope(input) {
34884
34891
  return okEnvelope("refactor.verify", {
34885
34892
  schemaVersion: "archcontext.runtime-refactor-verify/v1",
34886
- repository: input.scope.repository,
34887
- worktree: input.scope.worktree,
34893
+ repository: input.gitScope.repository,
34894
+ worktree: input.gitScope.worktree,
34888
34895
  recommendationId: input.recommendation.recommendationId,
34889
34896
  recommendationStatus: input.recommendation.status,
34890
34897
  disposition: input.evidence?.disposition ?? null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "archctx",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "description": "Local architecture context CLI for agentic coding workflows.",
5
5
  "private": false,
6
6
  "type": "module",