定期运行地盘之争演练
运行六个固定的 Intralock 场景,读取每一个的结果,并设置周期,使演练自动重复。
drills.frt
运行六个固定的 Intralock 场景,读取每一个的结果,并设置周期,使演练自动重复。
drills.frt您想确认内核仍按规范运行:租约互斥、循环被拒绝、受保护类别保持不变、停止永远不会把拒绝变成允许。演练运行六个场景。
policies.propose 能够正常工作的最小权限范围;更宽泛的 Tools 范围同样可行代码从 INTRAMEDIAL_KEY 读取密钥。请把它放在您的 shell 或密钥存储中,切勿放进要提交的文件。需要已登录用户的调用不能使用密钥:这些调用由控制台发起。
调用该路由。它针对真实的 Intralock 评估器运行六个场景,并为每个返回 ok,其中 llm 始终为 false。每个都通过时,该次运行为绿色。
drills.frtdrills-frtcurl -sS https://api.intramedial.com/api/v1/acp/drills/frt \
-H "Authorization: Bearer $INTRAMEDIAL_KEY"const res = await fetch("https://api.intramedial.com/api/v1/acp/drills/frt", {
headers: { Authorization: `Bearer ${process.env.INTRAMEDIAL_KEY}`, },
});
console.log(res.status, await res.json());import os, requests
res = requests.get(
"https://api.intramedial.com/api/v1/acp/drills/frt",
headers={"Authorization": "Bearer " + os.environ["INTRAMEDIAL_KEY"]},
timeout=30,
)
print(res.status_code, res.json()){
"results": [
{ "id": "FRT-1", "ok": true, "detail": "holder admitted, waiter blocked" },
{ "id": "FRT-2", "ok": true, "detail": "cycle detected + applyGrant refused" },
{ "id": "FRT-3", "ok": true, "detail": "wildcard blocked on kms write" },
{ "id": "FRT-4", "ok": true, "detail": "waiter-graph cycle is deadlock" },
{ "id": "FRT-5", "ok": true, "detail": "quarantine∪kill is monotone deny" },
{ "id": "FRT-6", "ok": true, "detail": "inclusion walks to merkleRoot" }
],
"llm": false
}发送 kind 和 everyHours,取值 1 至 2160。只有管理该工作区的人才能设置或清除。
curl -sS -X POST https://api.intramedial.com/api/v1/acp/drills/schedule \
-H "Authorization: Bearer $INTRAMEDIAL_KEY" \
-H "Content-Type: application/json" \
-d '{
"kind": "frt",
"everyHours": 24
}'const res = await fetch("https://api.intramedial.com/api/v1/acp/drills/schedule", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.INTRAMEDIAL_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
kind: "frt",
everyHours: 24,
}),
});
console.log(res.status, await res.json());import os, requests
res = requests.post(
"https://api.intramedial.com/api/v1/acp/drills/schedule",
headers={"Authorization": "Bearer " + os.environ["INTRAMEDIAL_KEY"]},
json={
"kind": "frt",
"everyHours": 24,
},
timeout=30,
)
print(res.status_code, res.json())内容复制自: /docs/drills-frt
账本仅可追加,并封存在 Merkle 根之下。条目上的时间取自 Intramedial 自己的时钟,签名包可用已发布的公钥离线核查。
在策略副本中删除或添加授予,进行探测,并读取变更前后的每个裁决。
drills.counterfactual列出检测器,运行 lease-overlap,读取它所引用的冲突及其证据,然后读取它为审查而提交的案件。
detection.run请求一个被持有的租约,读取平面指定的退避时间,并重试,直到该时段归您。
coordination.lease当我们向实用示例中添加新示例时,会发送一封简短的邮件。不会发送其他任何邮件,而且您可以从任意一封邮件中退订。
完全无需账户:在 7 天之内可以在各个 attest 路由上调用 35 次,所生成的回执都会被标记为测试回执。当您想继续使用时,再注册账户即可。