← Todas las specs de agentes

Contrato del agente

ck-git

Provider-neutral agent that manages git as a devops surface (integrate, publish, and future prune/tag/release) with evidence-based approval gates.

Input

Campos requeridos

  • requested_action
  • repository
  • source
  • destination
  • remote
  • declared_scope
  • expected_old_remote_oid
  • expected_new_local_oid
  • approval
  • lifecycle
  • fetch
  • git
  • gitnexus
  • sentrux
  • verification
remote
  • name
  • ref
approval
  • authorized_action
  • reason_codes
  • repository
  • source
  • destination
  • remote
  • declared_scope
  • expected_old_remote_oid
  • expected_new_local_oid
lifecycle
  • phase
lifecycle_phases
  • pre_merge
  • post_merge
  • post_publish
  • aborted
fetch
  • current
git
  • force_push_requested
  • remote_advanced
  • destination_aligned_with_remote
  • unrelated_changes
  • source_has_changes
  • semantic_conflict
  • conflict_free
  • scope_matches
  • secret_scan_clean
  • artifacts_expected
  • source_integrated
  • local_destination_oid
  • remote_destination_oid
gitnexus
  • risk
  • index_current
sentrux
  • status
verification
  • passed
  • post_merge_passed

Estados y secciones de output

terminal_states
  • ready
  • approval_required
  • blocked
  • merged_local
  • published
  • no_change
  • aborted
policy_decision_fields
  • status
  • risk
  • reasons
  • permitted_actions
  • approval_action
  • approval_requirement
required_fields
  • repository
  • source
  • destination
  • remote
  • fetch
  • git
  • gitnexus
  • sentrux
  • verification
  • risk
  • lifecycle
  • approval
  • performed_actions
  • pending_action

Comportamiento e invariantes

actions
  • assess
  • prepare
  • merge_local
  • publish
  • abort
policy_responsibility
deterministic_authorization_only
agent_responsibility
collect_normalized_evidence_and_render_full_result
provider_dependencies
false
command_execution
false

Capacidades

Capacidades requeridas

filesystem.read
Inspect repository instructions and configuration.
shell.execute
Run bounded, non-interactive repository commands.
git.inspect
Read branches, worktrees, commits, diffs, conflicts, and remotes.
git.remote.fetch
Refresh remote-tracking references before comparison.
git.local.integrate
Commit or merge locally when policy authorizes it.
git.remote.publish
Publish only after explicit human approval.
quality.sentrux
Run quality analysis and parse its result.
code-intelligence.gitnexus
Query impact and changed execution flows.
verification.repository
Discover and run scope-appropriate checks.
approval.request
Stop and obtain explicit human authorization.

Capacidades opcionales

Nada declarado

Entradas de runtime

Entrada canónica

agent.md

Adaptadores

claude-code
adapters/claude-code.md
codex
adapters/codex.toml

JSON completo del contrato validado

JSON completo del contrato validado
{
  "role": "deterministic-hybrid-integration-policy",
  "input": {
    "required": [
      "requested_action",
      "repository",
      "source",
      "destination",
      "remote",
      "declared_scope",
      "expected_old_remote_oid",
      "expected_new_local_oid",
      "approval",
      "lifecycle",
      "fetch",
      "git",
      "gitnexus",
      "sentrux",
      "verification"
    ],
    "remote": [
      "name",
      "ref"
    ],
    "approval": [
      "authorized_action",
      "reason_codes",
      "repository",
      "source",
      "destination",
      "remote",
      "declared_scope",
      "expected_old_remote_oid",
      "expected_new_local_oid"
    ],
    "lifecycle": [
      "phase"
    ],
    "lifecycle_phases": [
      "pre_merge",
      "post_merge",
      "post_publish",
      "aborted"
    ],
    "fetch": [
      "current"
    ],
    "git": [
      "force_push_requested",
      "remote_advanced",
      "destination_aligned_with_remote",
      "unrelated_changes",
      "source_has_changes",
      "semantic_conflict",
      "conflict_free",
      "scope_matches",
      "secret_scan_clean",
      "artifacts_expected",
      "source_integrated",
      "local_destination_oid",
      "remote_destination_oid"
    ],
    "gitnexus": [
      "risk",
      "index_current"
    ],
    "sentrux": [
      "status"
    ],
    "verification": [
      "passed",
      "post_merge_passed"
    ]
  },
  "output": {
    "terminal_states": [
      "ready",
      "approval_required",
      "blocked",
      "merged_local",
      "published",
      "no_change",
      "aborted"
    ],
    "policy_decision_fields": [
      "status",
      "risk",
      "reasons",
      "permitted_actions",
      "approval_action",
      "approval_requirement"
    ],
    "required_fields": [
      "repository",
      "source",
      "destination",
      "remote",
      "fetch",
      "git",
      "gitnexus",
      "sentrux",
      "verification",
      "risk",
      "lifecycle",
      "approval",
      "performed_actions",
      "pending_action"
    ]
  },
  "behavior": {
    "actions": [
      "assess",
      "prepare",
      "merge_local",
      "publish",
      "abort"
    ],
    "policy_responsibility": "deterministic_authorization_only",
    "agent_responsibility": "collect_normalized_evidence_and_render_full_result",
    "provider_dependencies": false,
    "command_execution": false
  }
}