Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/claude-for-legal
/ functions
Functions
12 in github.com/anthropics/claude-for-legal
⨍
Functions
12
◇
Types & classes
1
↓ 6 callers
Function
audit_log
Append a handoff record (approved or rejected) to the audit log.
scripts/orchestrate.py:214
↓ 2 callers
Function
_load
(path: Path)
scripts/validate.py:20
↓ 1 callers
Function
_lint_one
Return a list of violation strings (empty if clean).
scripts/lint-tool-scope.py:32
↓ 1 callers
Function
_strip_controls
Remove C0/C1 control characters except \\n and \\t.
scripts/orchestrate.py:162
↓ 1 callers
Function
_validate_params
(intent: str, params: dict)
scripts/orchestrate.py:230
↓ 1 callers
Function
extract_handoff
Parse and validate a handoff_request blob from agent output. Returns a dict with target_agent, intent, params, and pre-rendered steering_inpu
scripts/orchestrate.py:245
↓ 1 callers
Function
frame_handoff
Wrap agent-produced text in an explicit data block.
scripts/orchestrate.py:197
↓ 1 callers
Function
main
()
scripts/validate.py:28
↓ 1 callers
Function
main
()
scripts/lint-tool-scope.py:84
↓ 1 callers
Function
run
agent_ids maps slug -> deployed CMA agent_id.
scripts/orchestrate.py:320
↓ 1 callers
Function
sanitize_event
Best-effort scrub of instruction-like content from free-text context. DEFENCE-IN-DEPTH ONLY. A motivated attacker can evade this with casing,
scripts/orchestrate.py:177
Method
__missing__
(self, _key)
scripts/orchestrate.py:297