Agentic AI Atlasby a5c.ai
OverviewWikiGraphFor AgentsEdgesSearchWorkspace
/
GitHubDocsDiscord
iiRecord
Agentic AI Atlas · cycle-aware-verification
lib-process:shared--cycle-aware-verificationa5c.ai
Search record views/
Record · tabs

Available views

II.Record viewspp. 1 - 1
overviewjsongraph
II.
LibraryProcess JSON

lib-process:shared--cycle-aware-verification

Structured · live

cycle-aware-verification json

Inspect the normalized record payload exactly as the atlas UI reads it.

File · generated-library/processes.yamlCluster · generated-library
Record JSON
{
  "id": "lib-process:shared--cycle-aware-verification",
  "_kind": "LibraryProcess",
  "_file": "generated-library/processes.yaml",
  "_cluster": "generated-library",
  "attributes": {
    "displayName": "cycle-aware-verification",
    "description": "Composable cycle-aware verification component that validates fixes survive\nsystem execution cycles (cron jobs, scheduled tasks, server restarts, watch-mode rebuilds).\nMany bugs only manifest after a system completes its next cycle — a server that passes an\nimmediate health check may crash on its next hot-reload, a cron fix may break on the next\nscheduled invocation, or a build-watch process may fail on the next file-change trigger.\nTraditional verification checks the system once, immediately after a change. Cycle-aware\nverification adds a temporal dimension: it performs a baseline check, waits for the system\nto complete its next execution cycle, then re-checks. A fix is only considered valid if the\nsystem survives both the immediate check and the post-cycle check.\nThe module also provides pre-flight analysis to scan files for dangerous patterns before\nchanges are applied, catching destructive commands (rm -rf, kill -9, etc.) before they\ncan do damage.\nThe module exposes four surfaces:\n- `createPreflightAnalysis(config)` — factory that builds a shell task to grep for\n  dangerous patterns in a target file.\n- `cycleAwareVerificationTask` — standalone `defineTask` descriptor (kind: 'shell') that\n  performs baseline check, waits for a cycle, then re-checks in a single shell invocation.\n- `createCycleAwareVerification(config)` — factory that returns separate baseline and\n  post-cycle task definitions for fine-grained manual control.\n- `createPostCycleSurvivalCheck(config)` — factory that builds a single post-cycle\n  survival check task with baked-in URL, cycle interval, and expected status.",
    "libraryPath": "library/processes/shared/cycle-aware-verification.js",
    "example": "```js\nimport {\n  cycleAwareVerificationTask,\n  createCycleAwareVerification,\n  createPreflightAnalysis,\n  createPostCycleSurvivalCheck,\n} from './cycle-aware-verification.js';\n// Standalone task usage (single shell invocation):\nconst result = await ctx.task(cycleAwareVerificationTask, {\n  url: 'http://localhost:3000/api/health',\n  cycleIntervalMs: 60000,\n  expectedStatus: 200,\n});\n// Factory usage (separate baseline + post-cycle tasks):\nconst { baselineTask, postCycleTask } = createCycleAwareVerification({\n  healthCheck: { url: 'http://localhost:3000/api/health', timeout: 5000 },\n  cycleIntervalMs: 300000,\n});\nconst baseline = await ctx.task(baselineTask, {});\nconst postCycle = await ctx.task(postCycleTask, {});\n// Pre-flight analysis:\nconst preflight = createPreflightAnalysis({ timeout: 5000 });\nconst scan = await ctx.task(preflight, { filePath: 'scripts/deploy.sh' });\n// Post-cycle survival check:\nconst survivalTask = createPostCycleSurvivalCheck({\n  url: 'http://localhost:8080/health',\n  cycleIntervalMs: 120000,\n});\nconst survived = await ctx.task(survivalTask, {});\n```"
  },
  "outgoingEdges": [
    {
      "from": "lib-process:shared--cycle-aware-verification",
      "to": "skill-area:code-review-practice",
      "kind": "lib_requires_skill_area",
      "attributes": {
        "weight": 1
      }
    },
    {
      "from": "lib-process:shared--cycle-aware-verification",
      "to": "skill-area:e2e-testing",
      "kind": "lib_requires_skill_area",
      "attributes": {
        "weight": 0.7
      }
    },
    {
      "from": "lib-process:shared--cycle-aware-verification",
      "to": "topic:test-driven-development",
      "kind": "lib_covers_topic",
      "attributes": {
        "weight": 1
      }
    },
    {
      "from": "lib-process:shared--cycle-aware-verification",
      "to": "topic:code-review-best-practices",
      "kind": "lib_covers_topic",
      "attributes": {
        "weight": 0.7
      }
    },
    {
      "from": "lib-process:shared--cycle-aware-verification",
      "to": "domain:software-engineering",
      "kind": "lib_applies_to_domain",
      "attributes": {
        "weight": 1
      }
    },
    {
      "from": "lib-process:shared--cycle-aware-verification",
      "to": "role:backend-engineer",
      "kind": "lib_involves_role",
      "attributes": {
        "weight": 1
      }
    },
    {
      "from": "lib-process:shared--cycle-aware-verification",
      "to": "role:tech-lead",
      "kind": "lib_involves_role",
      "attributes": {
        "weight": 0.7
      }
    },
    {
      "from": "lib-process:shared--cycle-aware-verification",
      "to": "role:qa-engineer",
      "kind": "lib_involves_role",
      "attributes": {
        "weight": 0.5
      }
    },
    {
      "from": "lib-process:shared--cycle-aware-verification",
      "to": "workflow:code-review",
      "kind": "lib_implements_workflow",
      "attributes": {
        "weight": 1
      }
    },
    {
      "from": "lib-process:shared--cycle-aware-verification",
      "to": "workflow:feature-development",
      "kind": "lib_implements_workflow",
      "attributes": {
        "weight": 0.7
      }
    },
    {
      "from": "lib-process:shared--cycle-aware-verification",
      "to": "workflow:release-management",
      "kind": "lib_implements_workflow",
      "attributes": {
        "weight": 0.5
      }
    }
  ],
  "incomingEdges": []
}

Shortcuts

Back to overview
Open graph tab