AI Policy
The platform governance policy (v1.0.0, governance-as-code) and the deterministic model routing, applied uniformly to every workspace. Guardrail edits apply platform-wide; routing rules are saved per browser.
The platform governance policy. Edits apply to every workspace and feed the dashboard, the audit flags, and the downloaded report. The model routing rules are managed below.
Model routing rules
The first rule with a keyword that appears in the query wins, otherwise the fallback. This is the deterministic router the assistant uses.
Fallback
routes to GPT-4o mini factual-lookup
Effective policy (as code)
{
"version": "1.0.0",
"updated": "2026-06-27",
"guardrails": {
"piiEscalation": {
"id": "g-pii",
"triggers": [
"nric",
"uen",
"personal financial details"
],
"action": "detect, redact in logs, and audit. Taxpayer PII is normal in officer casework and is handled by the officer; PII is never used to route models or to auto-escalate"
},
"evalGate": {
"id": "g-eval",
"metric": "eval pass-rate (%)",
"threshold": 80,
"action": "block promotion of a prompt version whose pass-rate is below the threshold"
},
"costCeiling": {
"id": "g-cost",
"usdPerCall": 0.05,
"action": "flag any single model call above the ceiling in the audit log"
},
"grounding": {
"id": "g-ground",
"rule": "answer with general information + citations only; never reproduce source content; always show the demo disclaimer"
}
},
"routing": {
"rules": [
{
"id": "r-pii",
"keywords": [
"nric",
"uen",
"fin number",
"passport number"
],
"modelId": "claude-haiku-4-5-20251001",
"reason": "pii-sensitive"
},
{
"id": "r-draft",
"keywords": [
"draft",
"write a reply",
"compose",
"reply to the taxpayer"
],
"modelId": "claude-sonnet-4-6",
"reason": "drafting"
},
{
"id": "r-complex",
"keywords": [
"compare",
"versus",
" vs ",
"trade-off",
"scenario",
"implications",
"restructure",
"optimise",
"optimize"
],
"modelId": "claude-opus-4-8",
"reason": "complex-reasoning"
},
{
"id": "r-calc",
"keywords": [
"calculate",
"estimate",
"compute",
"how much",
"work out",
"chargeable income"
],
"modelId": "gpt-4.1",
"reason": "calculation"
},
{
"id": "r-grounded",
"keywords": [
"cite",
"citing",
"according to",
"which document",
"source"
],
"modelId": "claude-sonnet-4-6",
"reason": "grounded-citation"
},
{
"id": "r-factual",
"keywords": [
"what is",
"what are",
"rate",
"threshold",
"deadline",
"cap",
"when is",
"how many days",
"due date"
],
"modelId": "gpt-4o-mini",
"reason": "factual-lookup"
}
],
"fallbackModelId": "gpt-4o-mini",
"fallbackReason": "general casework"
}
}