{
  "schema_version": 1,
  "run_id": "shubhusion--Permiscope-gpt-6-luna-1796226207646060541",
  "date": "2026-12-02T15:51:01.705531+00:00",
  "repo": "shubhusion/Permiscope",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "e91e8a7d0f7e37abee9ed5ce329b4d74cc193f82",
  "outcome": "pass",
  "time_to_working_s": 381.8215527489956,
  "install_s": 203.234,
  "first_use_s": 22.205,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Run Permiscope's documented --demo command to demonstrate a policy allowed command and a blocked command.",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Governed actions are checked against policy and recorded as evidence.",
      "source": "**Permiscope** is a small layer between your agent and the real world.",
      "input": "Run the documented demo with /usr/bin/node dist/cli/index.js --demo.",
      "expected": "The demo prints ALLOWED for echo, BLOCKED BY POLICY for rm -rf /, and Demo Complete.",
      "command": "/usr/bin/node dist/cli/index.js --demo",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: Demo Complete",
      "evidence": "…Demo Complete.\u001b[0m That's the power of Permiscope.\n⚠️  PERMISCOPE_AUDIT_SECRET not set. Audit logs are not cryptographically signed. Set this environment variable in production for tamper detection.\n",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "🔒 \u001b[36mWelcome to Permiscope\u001b[0m - The Trust Layer for AI Agents\n\nWe are setting up a secure agent with \u001b[32mZero Configuration\u001b[0m...\n\n✅ Agent initialized with Default Safe Policy.\n\n► [Action 1] Agent tries SAFE command: \u001b[33m'echo \"Hello World\"'\u001b[0m\n   Running... \n   \u001b[32m✔ ALLOWED:\u001b[0m Output: \"Hello World\"\n\n► [Action 2] Agent tries DANGEROUS command: \u001b[33m'rm -rf /'\u001b[0m\n   \u001b[31m🛡️  BLOCKED BY POLICY:\u001b[0m Dangerous pattern detected!\n   (Your system is safe)\n\n✨ \u001b[36mDemo Complete.\u001b[0m That's the power of Permiscope.\n",
      "stderr": "⚠️  PERMISCOPE_AUDIT_SECRET not set. Audit logs are not cryptographically signed. Set this environment variable in production for tamper detection.\n",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Typed scopes express ALLOW, BLOCK and REQUIRE_APPROVAL decisions.",
      "source": "**Policy as code** — typed scopes for `ALLOW`, `BLOCK` and `REQUIRE_APPROVAL`, canonical\n  path containment and an executable allowlist. Patterns are validated at construction;\n  see [limitations](./docs/limitations.md) for residual ReDoS risk.",
      "input": "Run the documented demo with its safe echo and dangerous rm commands.",
      "expected": "The safe command is allowed and the dangerous command is blocked by policy.",
      "command": "/usr/bin/node dist/cli/index.js --demo",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: BLOCKED BY POLICY",
      "evidence": "…BLOCKED BY POLICY:\u001b[0m Dangerous pattern detected!\n   (Your system is safe)\n\n✨ \u001b[36mDemo Complete.\u001b[0m That's the power of Permiscope.\n⚠️  PERMISCOPE_AUDIT_SECRET not set. Audit logs are not cryptographically signed. Set this environment variable in production for tamper detection.\n",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "🔒 \u001b[36mWelcome to Permiscope\u001b[0m - The Trust Layer for AI Agents\n\nWe are setting up a secure agent with \u001b[32mZero Configuration\u001b[0m...\n\n✅ Agent initialized with Default Safe Policy.\n\n► [Action 1] Agent tries SAFE command: \u001b[33m'echo \"Hello World\"'\u001b[0m\n   Running... \n   \u001b[32m✔ ALLOWED:\u001b[0m Output: \"Hello World\"\n\n► [Action 2] Agent tries DANGEROUS command: \u001b[33m'rm -rf /'\u001b[0m\n   \u001b[31m🛡️  BLOCKED BY POLICY:\u001b[0m Dangerous pattern detected!\n   (Your system is safe)\n\n✨ \u001b[36mDemo Complete.\u001b[0m That's the power of Permiscope.\n",
      "stderr": "⚠️  PERMISCOPE_AUDIT_SECRET not set. Audit logs are not cryptographically signed. Set this environment variable in production for tamper detection.\n",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Sensitive actions require single-use approvals from a configured principal provider.",
      "source": "**Single-use approvals** — sensitive actions pause for a principal supplied by a configured provider. Each grant authorizes one action and expires. Without a provider, identity is a static default rather than a verified caller.",
      "input": "Run the documented demo, which attempts a dangerous command.",
      "expected": "The dangerous command is blocked by policy.",
      "command": "/usr/bin/node dist/cli/index.js --demo",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: BLOCKED BY POLICY",
      "evidence": "…BLOCKED BY POLICY:\u001b[0m Dangerous pattern detected!\n   (Your system is safe)\n\n✨ \u001b[36mDemo Complete.\u001b[0m That's the power of Permiscope.\n⚠️  PERMISCOPE_AUDIT_SECRET not set. Audit logs are not cryptographically signed. Set this environment variable in production for tamper detection.\n",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "🔒 \u001b[36mWelcome to Permiscope\u001b[0m - The Trust Layer for AI Agents\n\nWe are setting up a secure agent with \u001b[32mZero Configuration\u001b[0m...\n\n✅ Agent initialized with Default Safe Policy.\n\n► [Action 1] Agent tries SAFE command: \u001b[33m'echo \"Hello World\"'\u001b[0m\n   Running... \n   \u001b[32m✔ ALLOWED:\u001b[0m Output: \"Hello World\"\n\n► [Action 2] Agent tries DANGEROUS command: \u001b[33m'rm -rf /'\u001b[0m\n   \u001b[31m🛡️  BLOCKED BY POLICY:\u001b[0m Dangerous pattern detected!\n   (Your system is safe)\n\n✨ \u001b[36mDemo Complete.\u001b[0m That's the power of Permiscope.\n",
      "stderr": "⚠️  PERMISCOPE_AUDIT_SECRET not set. Audit logs are not cryptographically signed. Set this environment variable in production for tamper detection.\n",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "README 60-second demo",
      "source": "README.md, Try it in 60 seconds",
      "input": "Documented --demo operation",
      "command": "/usr/bin/node dist/cli/index.js --demo",
      "evidence": "e setting up a secure agent with \u001b[32mZero Configuration\u001b[0m...\n\n✅ Agent initialized with Default Safe Policy.\n\n► [Action 1] Agent tries SAFE command: \u001b[33m'echo \"Hello World\"'\u001b[0m\n   Running... \n   \u001b[32m✔ ALLOWED:\u001b[0m Output: \"Hello World\"\n\n► [Action 2] Agent tries DANGEROUS command: \u001b[33m'rm -rf /'\u001b[0m\n   \u001b[31m🛡️  BLOCKED BY POLICY:\u001b[0m Dangerous pattern detected!\n   (Your system is safe)\n\n✨ \u001b[36mDemo Complete.\u001b[0m That's the power of Permiscope.\n⚠️  PERMISCOPE_AUDIT_SECRET not set. Audit logs are not cryptographically signed. Set this environment variable in production for tamper detection.",
      "deferred": false,
      "expected": "Allowed echo and blocked rm policy decisions",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "🔒 \u001b[36mWelcome to Permiscope\u001b[0m - The Trust Layer for AI Agents\n\nWe are setting up a secure agent with \u001b[32mZero Configuration\u001b[0m...\n\n✅ Agent initialized with Default Safe Policy.\n\n► [Action 1] Agent tries SAFE command: \u001b[33m'echo \"Hello World\"'\u001b[0m\n   Running... \n   \u001b[32m✔ ALLOWED:\u001b[0m Output: \"Hello World\"\n\n► [Action 2] Agent tries DANGEROUS command: \u001b[33m'rm -rf /'\u001b[0m\n   \u001b[31m🛡️  BLOCKED BY POLICY:\u001b[0m Dangerous pattern detected!\n   (Your system is safe)\n\n✨ \u001b[36mDemo Complete.\u001b[0m That's the power of Permiscope.\n",
      "stderr": "⚠️  PERMISCOPE_AUDIT_SECRET not set. Audit logs are not cryptographically signed. Set this environment variable in production for tamper detection.\n",
      "output_truncated": false,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "cycle_checks": [
    {
      "kind": "cycle",
      "claim": "Scheduled or looping main behavior",
      "source": "repository entry points",
      "input": "source inspection",
      "expected": "identify the product trigger",
      "verdict": "yes",
      "outcome": "Inspected README and source entrypoints (src/cli/index.ts, src/logging/AuditLogger.ts, src/gateway/ExecutionGateway.ts). The documented cron behavior is an operator suggestion to verify periodically; the product has no cron, --once, --now, or periodic audit-verification entrypoint.",
      "evidence": "Inspected README and source entrypoints (src/cli/index.ts, src/logging/AuditLogger.ts, src/gateway/ExecutionGateway.ts). The documented cron behavior is an operator suggestion to verify periodically; the product has no cron, --once, --now, or periodic audit-verification entrypoint.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "e91e8a7d0f7e37abee9ed5ce329b4d74cc193f82",
    "ci_read_at": "2026-12-02T15:10:19Z",
    "ci_state": "SUCCESS",
    "commits_90d": 132,
    "last_commit_at": "2026-12-02T14:59:58Z",
    "last_release_at": "2026-12-02T15:08:54Z",
    "median_reply_hours": null,
    "merged_prs_90d": 132,
    "note": "actively maintained: last commit 0 days ago; 132 commits and 132 merged PRs in 90 days; 15 open issues, 0 open PRs; latest release 2026-12-02",
    "open_issues": 15,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Node.js 24.23.0",
    "npm 11.21.3"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [
    "npm ci failed because the pinned package manifest and lockfile are out of sync; npm install resolved dependencies for this guest."
  ],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 3 encoded blob, 1 hardcoded secret.",
    "limitations": [
      "A short run cannot establish that code is safe.",
      "Connections show IP addresses; proxies can hide the final hostname.",
      "Tracing covers dispatched commands and their children, not the whole OS; guest root can interfere with tracing."
    ]
  },
  "observed": {
    "traced": true,
    "trace_truncated": false,
    "network_rule": true,
    "unsorted_contacts": false,
    "protocols_recorded": false,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "http"
        ],
        "names": [
          "archive.ubuntu.com",
          "security.ubuntu.com",
          "our local network"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "https"
        ],
        "names": [
          "deb.nodesource.com",
          "our local network"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "node"
        ],
        "names": [
          "registry.npmjs.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 1,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 690,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 676,
      "malicious": [],
      "vulnerabilities": [
        {
          "package": "glob",
          "version": "13.0.6",
          "advisory": "GHSA-3g3m-2fjr-6pw4"
        },
        {
          "package": "glob",
          "version": "13.0.6",
          "advisory": "GHSA-qxr8-q827-836c"
        },
        {
          "package": "minimatch",
          "version": "10.2.5",
          "advisory": "GHSA-c859-jr93-m5j4"
        },
        {
          "package": "minimatch",
          "version": "10.2.5",
          "advisory": "GHSA-g3hv-75wg-m249"
        }
      ]
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-4243f19282e59714a358f5d27849c5ebf3ef413d1667fe1ae5969f004abbb1d7",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "archive.ubuntu.com",
        "deb.nodesource.com",
        "registry.npmjs.org",
        "security.ubuntu.com"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "archive.ubuntu.com",
        "deb.nodesource.com",
        "registry.npmjs.org",
        "security.ubuntu.com"
      ],
      "package_registries": [
        "archive.ubuntu.com",
        "registry.npmjs.org",
        "security.ubuntu.com"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [],
      "hosts_withheld": 4
    },
    "secret_files": {
      "opened_by_agent": [],
      "opened_by_other": [],
      "opened_by_repo": [],
      "planted": [
        "~/.env",
        "~/.ssh/id_ed25519",
        "~/.aws/credentials",
        "~/.config/gh/hosts.yml"
      ],
      "recorded": true
    },
    "version": 1
  },
  "evidence_strength": "readme_checked"
}
