@rness/cli 0.5.1 → 0.5.2

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/README.md CHANGED
@@ -127,6 +127,17 @@ its content does.
127
127
  Exit codes: 0 success, 1 failure, 2 usage — or a refusal without a TTY.
128
128
  `RNESS_DEBUG=1` adds stack traces; `RNESS_NO_DELEGATE=1` skips the delegation.
129
129
 
130
+ ## 0.5.2 — the block points at a file that exists
131
+
132
+ - The generated block told agents to read `.rness/STATUS.md`, a file neither
133
+ the scaffold nor any command writes. It now sends them to
134
+ `.rness/AGENTS.md`, which every workspace has and which sets the reading
135
+ order.
136
+ - The intro is part of the hashed body: every block written by 0.5.1 or
137
+ earlier is out of date under 0.5.2. Run `rness sync` once after upgrading,
138
+ then commit the refreshed `AGENTS.md` in each repository; until then
139
+ `rness sync --check` exits 1.
140
+
130
141
  ## 0.5.1 — the version of a workspace moves by pull request
131
142
 
132
143
  - Joining an organization pinned to an older `@rness/cli` no longer mentions
package/dist/bin/rness.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  pinnedBinPath,
10
10
  reportError,
11
11
  run
12
- } from "../chunk-C6HBGV5V.js";
12
+ } from "../chunk-P4YG6P7I.js";
13
13
 
14
14
  // src/bin/rness.ts
15
15
  import { spawnSync } from "child_process";
@@ -1319,14 +1319,14 @@ function intro(scope, org, depth) {
1319
1319
  if (scope === null) {
1320
1320
  return [
1321
1321
  `This is the root of rness workspace \`${org}\`. Full context lives in \`.rness/\` \u2014`,
1322
- "read `STATUS.md`, then task-relevant `adr/`, `specs/`, `plans/`; live: `rness context`.",
1322
+ "start at its `AGENTS.md`, then task-relevant `adr/`, `specs/`, `plans/`; live: `rness context`.",
1323
1323
  "Every `org/<repo>/` carries its own block with the rules that apply there."
1324
1324
  ].join("\n");
1325
1325
  }
1326
1326
  const rel = `${"../".repeat(depth)}.rness/`;
1327
1327
  return [
1328
1328
  `This directory is scope \`${scope}\` of rness workspace \`${org}\`. Full context lives in`,
1329
- `\`${rel}\` \u2014 read \`STATUS.md\`, then task-relevant \`adr/\`, \`specs/\`, \`plans/\`;`,
1329
+ `\`${rel}\` \u2014 start at its \`AGENTS.md\`, then task-relevant \`adr/\`, \`specs/\`, \`plans/\`;`,
1330
1330
  `live: \`rness context --scope ${scope}\`. If \`.rness/\` is not reachable, this is a`,
1331
1331
  "standalone clone: the rules below are all you have."
1332
1332
  ].join("\n");
@@ -2628,7 +2628,7 @@ async function copyScaffold(dest, tokens) {
2628
2628
  }
2629
2629
 
2630
2630
  // src/version.ts
2631
- var VERSION = "0.5.1";
2631
+ var VERSION = "0.5.2";
2632
2632
 
2633
2633
  // src/commands/login.ts
2634
2634
  import { spawn as spawn3 } from "child_process";
@@ -4037,4 +4037,4 @@ export {
4037
4037
  validateCommand,
4038
4038
  run
4039
4039
  };
4040
- //# sourceMappingURL=chunk-C6HBGV5V.js.map
4040
+ //# sourceMappingURL=chunk-P4YG6P7I.js.map