@runeditrun/rer 0.2.115 → 0.2.116

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.
@@ -33,7 +33,13 @@ function finish(result, report) {
33
33
  export async function checkAgentDoor(root, { declaration, setupManifest, owner, report = console.log } = {}) {
34
34
  const declared = await readAgentSurface(root);
35
35
  if (!declared) { report('Agent door conformance: undeclared (no agent-surface.json).'); return { declared: false }; }
36
- const validation = validateAgentSurface(declared.surface, { contract: declared.contract });
36
+ const surface = declared.surface;
37
+ if (surface && typeof surface === 'object' && !Array.isArray(surface) && Object.keys(surface).length === 1
38
+ && surface.verification && typeof surface.verification === 'object' && !Array.isArray(surface.verification)) {
39
+ report('Agent door conformance: undeclared (verification-only agent-surface.json)');
40
+ return { declared: false };
41
+ }
42
+ const validation = validateAgentSurface(surface, { contract: declared.contract });
37
43
  if (!validation.ok) return finish(validation, report);
38
44
  const manifest = setupManifest ?? JSON.parse(await readFile(join(root, 'rer-setup.json'), 'utf8'));
39
45
  const claim = manifest.steps?.find(step => step.type === 'owner-claim');
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.116
4
+
5
+ ### Verification-only agent surfaces
6
+
7
+ - `rer verify` treats an `agent-surface.json` whose only top-level key is an object-valued `verification` as an undeclared agent door and returns `agentDoor: {declared:false}`. Any other top-level key, including schema or version metadata, keeps full agent declaration validation and conformance. Offline `rer check` still validates a present file as a full agent declaration.
8
+ - `rer size` still reads `verification.owner` for its disposable native owner and `verification.publicHosts` for admitted deployment hostname variables. A seed without agent tools can use those size-check settings without declaring an agent door; the actual setup flow is unchanged.
9
+
10
+ ### Auth setup fixture diagnostics
11
+
12
+ - The Auth setup test fixture reports redacted refusal classifications for port availability/listening, private input custody and malformed local dev keys, plus whether a port was announced and whether the app port equals the controlled provider edge. These are fixture-only diagnostics; they do not change runtime setup behavior or contact a real provider.
13
+
14
+ Seeds receive the verification-only CLI support after adopting this rer through their pinned package or refreshed source. Preparing this release establishes no seed adoption, deployed behavior or production result. The actual diff adds no migrations and touches neither modules/import-kit nor modules/portability.
15
+
3
16
  ## 0.2.115
4
17
 
5
18
  ### Stage candidate metadata and installed-copy recognition
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runeditrun/rer",
3
- "version": "0.2.115",
3
+ "version": "0.2.116",
4
4
  "description": "The rer command: install, set up, run and launch Run Edit Run checkouts.",
5
5
  "license": "MIT",
6
6
  "type": "module",