1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Dark Factory Harness — aktagon.com
# Every agent call is scoped. No exceptions.
agent:
medication-extractor
version:
3.1.0
input:
type:
discharge_summary
schema:
schemas/discharge.json
max_size_kb:
512
model:
id:
claude-haiku-4-5
pinned:
true
temperature:
0
max_tokens:
1024
output:
schema:
schemas/medication-change.json
validate:
strict
tools: []
# extract only — no side effects
approval_gates:
- trigger:
dose_reduction
route_to:
${CLINICIAN_WEBHOOK}
- trigger:
medication_stop
route_to:
${CLINICIAN_WEBHOOK}
- trigger:
new_medication
route_to:
${PHARMACIST_WEBHOOK}
audit:
log_input_hash:
true
log_model_version:
true
log_decision:
true
destination:
audit.aktagon.internal
# The agent thinks freely.
# The harness doesn't.