Skip to content

Agent endpoint: say what was measured; follow cap2UI5's main to runtime 1.149.0 - #39

Merged
oblomov-dev merged 2 commits into
mainfrom
claude/agents-measured
Nov 16, 2026
Merged

oblomov-dev merged 2 commits into
mainfrom
claude/agents-measured

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

Two commits. The first is what this PR was opened for; the second was needed to keep the check green, because cap2UI5's main moved its runtime pin while this was being prepared.

1. What of the agent endpoint was measured

guide/agents.md said it was written from code only. The endpoint has since been run with the published @cap2ui5/cds-plugin 0.5.0 (runtime 1.147.0) in a throwaway CAP project on localhost, with CAP's mocked users. Everything measured matched the page, so only the "What is verified here" box changes. It now lists three groups:

Measured

  • Statuses before a tool runs: 401 (with WWW-Authenticate), 403 for a user without the role, 403 for a foreign Origin, 405 with Allow: POST, 415, 406, 400 (protocol version, non-JSON body, invalid JSON-RPC, empty batch), 413, 202 for a notification.
  • With roles: any, an anonymous caller gets 200 on the UI route and 401 on the endpoint.
  • initialize, ping, tools/list and the four tools.
  • app_list shows only the app that opted in; app_start on another is refused.
  • The "policy" marks in the snapshot, and the confirm and forbidden refusals.
  • Pending values, and the strict refusals for an unknown event and a field not on the screen.
  • The handover link in a headless browser: the same user sees the value the agent entered, another user gets a fresh app.
  • Another user's session id answers "unknown session"; an earlier id is refused with the current one named.
  • cap2ui5.AgentLog: one row per call, refused ones included; fields held the field name and the entered value appeared nowhere.
  • After a restart on a file database, app_act sent nothing and named the restored session.
  • A misspelt setting and "retention": "90d" each stopped the start.

Read from code and the plugin's tests, not run

  • The hourly retention sweep and purgeAgentLog.
  • A user without an id.
  • A transpiled ABAP app opted in through apps.
  • Tables, row actions and selection dialogs.

Not run at all

  • On BTP, behind an approuter, with XSUAA or IAS.

2. cap2UI5's main now pins runtime 1.149.0

cap2UI5/cap2UI5#112 moved the pin from 1.148.0 to 1.149.0, so main of this repository fails verify-refs with 7 stale references today. This commit follows it:

  • The plugin-to-runtime table, the startup log example, the ecosystem and roadmap pages name 1.149.0 for main.
  • The windowed table (window_bind_tab( ) / window_get_row( )) is in the runtime main pins now, so the page no longer says it needs a later one. It is still marked not released yet: no plugin version on npm has it.
  • The table row for main also names what the plugin's changelog says 1.149.0 removes: the eight obsolete invisible custom controls.
  • AGENTS.md and .verify-refs-ignore no longer name main's pin, which has moved twice in a day; they point to plugin/package.json instead.

Check results

Against cap2UI5 main at 9ac8e67 (plugin 0.5.0, runtime pin 1.149.0) and abap2UI5 main:

  • Before the second commit: npm run check:ci — 7 stale references, all naming 1.148.0.
  • After: verify-refs: OK, VitePress build complete.

Unverified

  • The windowed table and the main-only features (timeout and its 504, purgeDrafts) are still documented from code; the measurement above was on 0.5.0.
  • The removal of the custom controls in 1.149.0 is taken from the plugin's changelog, not checked in a browser.

Generated by Claude Code

The agent page said it was written from code only. The endpoint has since
been run with the published plugin 0.5.0 on localhost: the HTTP answers,
the four tools, the policy refusals, the handover link in a browser, the
audit rows and a session restored after a restart.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmESgvbsKSoDRf88S3G
main moved its pin from 1.148.0 to 1.149.0 (cap2UI5/cap2UI5#112), and the
windowed table is in that runtime - so it no longer needs a runtime later
than the pinned one. Still not released as a plugin version. AGENTS.md
and the ignore file no longer name main's pin, which moves.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmESgvbsKSoDRf88S3G
@oblomov-dev
oblomov-dev merged commit 82f4260 into main Nov 16, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants