Inspiration
I work as a German–English translator for medical-device manufacturers: stents, catheters, dental and laser equipment. In almost every job I find the same problem in the source and target documents: one component has three names. The delivery system is an Einführsystem in chapter 2, an Applikationssystem in chapter 5 and a Freisetzungssystem in the warnings. Under the EU MDR and ISO 13485 that is not a style issue. It is an audit finding, a source of translation errors in 20 languages, and in the worst case a user who does not recognise the part a warning refers to. The glossary exists – in an Excel file nobody opens while writing. I wanted the glossary to come to the writer, inside the tools where regulated content is actually drafted and reviewed.
What it does
- Glossary (Confluence → Apps → TermGuard Glossary): approved term, source term, do-not-use variants, domain, note. CSV import from Excel, Trados MultiTerm or memoQ exports with automatic column detection. Statuses approved / proposed / deprecated, so governance is built in.
- Page check (••• → Check terminology): a compliance score, every unapproved term with its context and the approved replacement, and one-click replacement saved as a new page version.
- Space report: scans every page of a space, shows which pages need work and the most frequent offenders.
- Jira: a glossary page and an issue panel that checks the summary and description of requirement and documentation tickets.
- Rovo agent "TermGuard": answers "which term do we use for X?" from the glossary only (never invented), checks pasted text or the current page, fixes the page after explicit confirmation, and files new term proposals that a person must approve.
- Audit log: every glossary change and every automatic correction, with user and page version – traceability that regulated teams need.
How I built it
- Forge UI Kit for every surface; one resolver; Forge KVS for terms and the audit log.
- A dependency-free matching engine (
src/core/termcheck.js): Unicode-aware word boundaries (umlauts, ß), spacing and hyphen variants (Stent Graft = Stent-Graft, but not the closed compound Stentgraft), case-preserving replacement (APPLIKATIONSSYSTEM → EINFÜHRSYSTEM). - Safe editing of Confluence storage format: the XHTML is tokenised and only text nodes are changed. Code macros, macro parameters, links and attachments are left untouched.
- Rovo actions with the right verbs: GET for lookup/check, UPDATE for fixing, CREATE for proposals – and an agent prompt that forbids inventing terms and requires confirmation before changes.
- 15 automated tests: unit tests for the engine plus an end-to-end test of every resolver and Rovo action against mocked Forge, Confluence and Jira APIs.
Challenges
- Changing a regulated document must never break it. Naive find-and-replace would corrupt macro parameters, links or code samples, so I wrote a storage-format tokeniser that knows which text is prose.
- German compounds and inflection: a forbidden variant must not match inside a longer word, but must match its genitive or plural (Applikationssystems, Hülsen) and keep that ending on replacement.
- Knowing when not to automate: replacing Nebenwirkung with unerwünschtes Ereignis changes the article and adjective ending, so such terms are flagged for human review instead of being replaced blindly.
- Keeping AI in its lane: the agent may suggest, but only approved glossary entries are enforced.
Accomplishments
A complete product, not a demo path: real CSV import of the formats translators and tech writers already use, governance, an audit trail, and the same rules applied in Confluence, Jira and Rovo.
What I learned
How much context Forge gives an app across products, and that the most valuable AI feature in regulated work is often the one that refuses to guess.
What's next
- Multilingual glossaries (one concept, approved term per language) for localisation teams.
- Automation: block page publishing or transition of a Jira ticket below a compliance threshold.
- Marketplace listing for medical-device, pharma and automotive documentation teams.