-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaction.yml
More file actions
33 lines (29 loc) · 880 Bytes
/
action.yml
File metadata and controls
33 lines (29 loc) · 880 Bytes
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
name: 'AI Agent Discipline Linter'
description: 'Catch agents that skipped research, planning, or verification — by linting their transcript in CI against the 7 Laws of AI Agent Discipline.'
author: 'naimkatiman'
branding:
icon: 'check-circle'
color: 'green'
inputs:
transcript-path:
description: 'Path to the agent transcript file (JSONL format)'
required: false
default: ''
observations-path:
description: 'Path to observations.jsonl from a CI session'
required: false
default: ''
strict:
description: 'Fail the check if any law violations are detected'
required: false
default: 'false'
outputs:
violations:
description: 'Number of law violations found'
score:
description: 'Discipline score (0-100)'
report:
description: 'Markdown-formatted report'
runs:
using: 'node20'
main: 'bin/lint-transcript.mjs'