Skip to content

docs: give response mapping, the Knowledge Graph and skills their due - #505

Open
keysersoft wants to merge 2 commits into
mainfrom
docs/readme-governance-kg
Open

docs: give response mapping, the Knowledge Graph and skills their due#505
keysersoft wants to merge 2 commits into
mainfrom
docs/readme-governance-kg

Conversation

@keysersoft

Copy link
Copy Markdown
Contributor

Response mapping was invisible

The README never mentioned it, even though it answers the first question anyone asks before pointing a third-party model at their data: what exactly leaves the building? New Control what the model sees section, plus a Key features bullet, a row in the Why table and a line in the intro.

Scope of the claims is deliberately limited to what the code does. Dropped fields never reach the AI client or the model provider, but the audit log does still hold the full upstream response, because renderResult runs after logInvocation. Stated explicitly rather than glossed over, since it is a feature and not a caveat: you keep the evidence, the model does not get the data.

The JSON example in the section was executed through applyResponseTransform before committing:

output : {"order":"SO-4711","total":119,"status":"open"}
OK: IBAN and taxId absent from the output

Knowledge Graph and skills

The section now opens with the problem instead of the mechanism, and the skills bullet spells out the loop that makes them worth having: intent capture → AI suggestion → review or auto-apply above 0.90 → composed into the server instructions, no extra tool calls.

Stale facts corrected while reviewing

Said Actually
Adapters 175+ (×4 places) 188 (validator output)
Guide languages English, German, Italian seven (~1,050 guides each on the website)
Import sources 6 formats 6 formats + live MCP discovery
Table of contents Contributing was never listed

docs/tool-definition.md still documented the legacy { type, fields } shape and none of select / jmespath / exclude / maxBytes / cacheTtl, so the new README link would have landed on a page describing a different feature. Rewritten against the real contract.

All relative links and heading anchors verified after the edits.

Response mapping was not mentioned in the README at all, even though it is the
answer to the first question an enterprise asks before pointing a third-party
model at their data: what exactly leaves the building? It now has its own
section covering the three modes, the live before/after preview, and the fact
that a broken mapping falls back to the raw response rather than breaking a
working tool.

The claim is kept to what the code actually does. Dropped fields never reach
the AI client or the model provider, but the audit log still records the full
upstream response, because the transform runs on the way out and the log is
written before it. That is worth stating plainly: shaping what the agent sees
does not cost you the evidence of what the API returned. The example in the
section was run through applyResponseTransform to confirm it does what the
prose says.

The Knowledge Graph and skills section now leads with the problem rather than
the mechanism, and spells out the loop that makes skills interesting: intent
capture, AI suggestion, review or auto-apply above 0.90 confidence, composed
into the server instructions with no extra tool calls.

`docs/tool-definition.md` still documented the legacy `{ type, fields }` shape
and none of select/jmespath/exclude/maxBytes/cacheTtl, so the README's link
landed on a page describing a different feature. Rewritten against the real
contract.

Also corrects three stale figures found while reviewing: 175+ adapters is
actually 188, the guides ship in seven languages rather than three, and tool
discovery from a running MCP server was missing from the import list. Adds the
Contributing section to the table of contents, where it had never been listed.
`exclude` drops a field and changes the response shape. The template also
accepts a `= literal` leaf, so a value can be replaced with a placeholder
instead, which keeps the shape stable for the agent. That escape hatch existed
only as a comment in the source and nobody would have guessed the leading `=`.

Both examples were run through applyResponseTransform before committing.
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.

1 participant