Version Maintenance Agent

A release-maintenance workflow for updating software version information and release records across a hana-cli repository. A release is a published version of a software project.

In plain words
What is it for?
Use it for version bumps, release preparation, changelog updates, dependency version changes, and reports of all updated locations.
Why use it?
It prevents different packages, documentation, changelogs, and SAPUI5 references from showing conflicting versions.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/sap-samples/hana-developer-cli-tool-example/version-maintenance
Clone the repo
git clone --depth 1 https://github.com/SAP-samples/hana-developer-cli-tool-example
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,453 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00039 $0.02453
Opus 5 $0.00019 $0.01226
Sonnet 5 $0.00008 $0.00491
Haiku 4.5 $0.00004 $0.00245

Measured 2d ago against content hash 01f22748bd64, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Version Maintenance Agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/agents/version-maintenance.agent.md · 294 lines

How it starts

The opening of the file, as written. The whole thing — 294 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a release management specialist for the hana-cli repository. Your job is to orchestrate version updates across all locations, ensure changelog consistency, and maintain version synchronization across the project.

Scope

This agent handles:

  • Version number updates in all package.json files (root, mcp-server, docs)
  • SAPUI5 version updates in HTML files
  • CHANGELOG.json entry creation and maintenance
  • CHANGELOG.md regeneration via scripts/CHANGELOG.js
  • Documentation version references
  • Dependency version updates
  • Comprehensive version change reporting

Version Numbering System

Primary Package (hana-cli)

Format: MAJOR.YYYYMM.PATCH

  • MAJOR: Major version (currently 4)
  • YYYYMM: Year and month (e.g., 202603 = March 2026)
  • PATCH: Incremental patch number (starts at 0 each month)
  • Example: 4.202603.0 = Version 4, March 2026, first release

MCP Server Package

Format: MINOR.YYYYMM.PATCH

  • Location: mcp-server/package.json
  • Example: 1.202603.0
  • Follows same date pattern with lower major version

Documentation Package

Format: Standard semantic versioning

  • Location: docs/package.json
  • Example: 1.0.0
  • Independent version, rarely changed

SAPUI5 Version

Format: 1.XXX.Y

  • Location: All app/resources/**/index.html files
  • Example: 1.144.1
  • CDN URLs in HTML script/src attributes

Version Update Locations

Critical Files

  1. package.json (root) - Primary version
  2. mcp-server/package.json - MCP server version
  3. docs/package.json - Documentation version (rarely changed)
  4. app/resources//index.html** - SAPUI5 CDN URLs (multiple files)
  5. CHANGELOG.json - Structured changelog entry
  6. CHANGELOG.md - Generated from JSON (via scripts/CHANGELOG.js)
  7. docs/99-reference/changelog.md - Documentation copy of changelog

Version References in Documentation

  • Version-specific feature documentation (e.g., docs/03-features/mcp/server-updates.md)
  • Any "since version X" references

Read the full file on GitHub · 294 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 294 lines · 39 tokens per session scan A 01f22748bd64

Subscribe to this mod's changes

Version Maintenance Agent is an agent published in the GitHub repository SAP-samples/hana-developer-cli-tool-example (109 stars, last pushed 6d ago), licensed Apache-2.0. It adds 39 tokens to every session and 2,453 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.