Agent Maturity Compass API - v1.2.0
Guides
HTTP API
GitHub
Preparing search index...
index
buildPromptPackForApi
Function buildPromptPackForApi
buildPromptPackForApi
(
params
:
{
agentId
?:
string
;
outFile
?:
string
;
workspace
:
string
}
,
)
:
{
agentId
:
string
;
lint
:
{
findings
:
{
path
:
string
;
severity
:
"HIGH"
|
"MEDIUM"
|
"LOW"
;
snippetHash
:
string
;
type
:
|
"PRIVATE_KEY"
|
"EMAIL"
|
"URL"
|
"FILE_PATH"
|
"SECRET"
|
"POLICY_LEAK"
;
}
[]
;
status
:
"PASS"
|
"FAIL"
;
v
:
1
;
}
;
lintSaved
:
{
path
:
string
;
sigPath
:
string
}
;
outFile
:
string
;
pack
:
{
agent
:
{
agentIdHash
:
string
;
agentType
:
|
"code-agent"
|
"support-agent"
|
"ops-agent"
|
"research-agent"
|
"sales-agent"
|
"other"
;
riskTier
:
"HIGH"
|
"MEDIUM"
|
"LOW"
;
workspaceIdHash
:
string
;
}
;
allowlists
:
{
highRiskTools
:
string
[]
;
models
:
string
[]
;
providers
:
string
[]
;
tools
:
string
[]
;
}
;
bindings
:
{
bankSha256
:
string
;
canonSha256
:
string
;
cgxPackSha256
:
string
;
mechanicTargetsSha256
?:
string
|
null
;
notaryFingerprint
?:
string
|
null
;
promptPolicySha256
:
string
;
trustMode
:
"NOTARY"
|
"LOCAL_VAULT"
;
}
;
checkpoints
:
{
currentAdvisories
:
{
advisoryId
:
string
;
category
:
string
;
severity
:
"INFO"
|
"WARN"
|
"CRITICAL"
;
summary
:
string
;
}
[]
;
topTransformTasks
:
{
evidenceToVerify
:
string
[]
;
taskId
:
string
;
title
:
string
;
why
:
string
;
}
[]
;
}
;
generatedTs
:
number
;
northstar
:
{
constraints
:
string
[]
;
mission
:
{
sources
:
string
[]
;
summary
:
string
}
;
outputContract
:
{
jsonExample
:
{
answer
:
string
;
claims
:
{
evidenceRefs
?:
string
[]
;
text
:
string
}
[]
;
nextActions
:
{
actionId
:
string
;
requiresApproval
:
boolean
}
[]
;
unknowns
:
{
text
:
string
}
[]
;
v
:
1
;
}
;
schemaId
:
string
;
}
;
recurrence
:
{
cadenceHours
:
number
;
selfReflectionChecklist
:
string
[]
}
;
}
;
packId
:
string
;
templateId
:
string
;
v
:
1
;
}
;
persisted
:
{
latestPath
:
string
;
latestShaPath
:
string
;
sha256
:
string
;
snapshotPath
:
string
;
snapshotShaPath
:
string
;
}
;
providerFiles
:
PromptProviderFiles
;
sha256
:
string
;
signature
:
{
digestSha256
:
string
;
envelope
?:
{
alg
:
"ed25519"
;
fingerprint
:
string
;
pubkeyB64
:
string
;
sigB64
:
string
;
signedTs
:
number
;
signer
:
{
attestationLevel
:
"SOFTWARE"
|
"HARDWARE"
;
notaryFingerprint
?:
string
;
type
:
"VAULT"
|
"NOTARY"
;
}
;
v
:
1
;
}
;
signature
:
string
;
signedTs
:
number
;
signer
:
"auditor"
;
}
;
}
Parameters
params
:
{
agentId
?:
string
;
outFile
?:
string
;
workspace
:
string
}
Returns
{
agentId
:
string
;
lint
:
{
findings
:
{
path
:
string
;
severity
:
"HIGH"
|
"MEDIUM"
|
"LOW"
;
snippetHash
:
string
;
type
:
|
"PRIVATE_KEY"
|
"EMAIL"
|
"URL"
|
"FILE_PATH"
|
"SECRET"
|
"POLICY_LEAK"
;
}
[]
;
status
:
"PASS"
|
"FAIL"
;
v
:
1
;
}
;
lintSaved
:
{
path
:
string
;
sigPath
:
string
}
;
outFile
:
string
;
pack
:
{
agent
:
{
agentIdHash
:
string
;
agentType
:
|
"code-agent"
|
"support-agent"
|
"ops-agent"
|
"research-agent"
|
"sales-agent"
|
"other"
;
riskTier
:
"HIGH"
|
"MEDIUM"
|
"LOW"
;
workspaceIdHash
:
string
;
}
;
allowlists
:
{
highRiskTools
:
string
[]
;
models
:
string
[]
;
providers
:
string
[]
;
tools
:
string
[]
;
}
;
bindings
:
{
bankSha256
:
string
;
canonSha256
:
string
;
cgxPackSha256
:
string
;
mechanicTargetsSha256
?:
string
|
null
;
notaryFingerprint
?:
string
|
null
;
promptPolicySha256
:
string
;
trustMode
:
"NOTARY"
|
"LOCAL_VAULT"
;
}
;
checkpoints
:
{
currentAdvisories
:
{
advisoryId
:
string
;
category
:
string
;
severity
:
"INFO"
|
"WARN"
|
"CRITICAL"
;
summary
:
string
;
}
[]
;
topTransformTasks
:
{
evidenceToVerify
:
string
[]
;
taskId
:
string
;
title
:
string
;
why
:
string
;
}
[]
;
}
;
generatedTs
:
number
;
northstar
:
{
constraints
:
string
[]
;
mission
:
{
sources
:
string
[]
;
summary
:
string
}
;
outputContract
:
{
jsonExample
:
{
answer
:
string
;
claims
:
{
evidenceRefs
?:
string
[]
;
text
:
string
}
[]
;
nextActions
:
{
actionId
:
string
;
requiresApproval
:
boolean
}
[]
;
unknowns
:
{
text
:
string
}
[]
;
v
:
1
;
}
;
schemaId
:
string
;
}
;
recurrence
:
{
cadenceHours
:
number
;
selfReflectionChecklist
:
string
[]
}
;
}
;
packId
:
string
;
templateId
:
string
;
v
:
1
;
}
;
persisted
:
{
latestPath
:
string
;
latestShaPath
:
string
;
sha256
:
string
;
snapshotPath
:
string
;
snapshotShaPath
:
string
;
}
;
providerFiles
:
PromptProviderFiles
;
sha256
:
string
;
signature
:
{
digestSha256
:
string
;
envelope
?:
{
alg
:
"ed25519"
;
fingerprint
:
string
;
pubkeyB64
:
string
;
sigB64
:
string
;
signedTs
:
number
;
signer
:
{
attestationLevel
:
"SOFTWARE"
|
"HARDWARE"
;
notaryFingerprint
?:
string
;
type
:
"VAULT"
|
"NOTARY"
;
}
;
v
:
1
;
}
;
signature
:
string
;
signedTs
:
number
;
signer
:
"auditor"
;
}
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guides
HTTP API
GitHub
Agent Maturity Compass API - v1.2.0
Loading...