# Git Submodule Init Active URL & Config Copy Plan Reconstructor

> Git Submodule Init Active URL & Config Copy Plan Reconstructor is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-04).

Reconstructs the fully-typed submodule init selection, active URL resolution, and local configuration copy plan, then verifies the result against a canonical SHA256 claim.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-12/git250-submodule-init-active-url-update-config-copy-plan?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/git-submodule-init-active-url-config-copy-plan-reconstructor-e149c9a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2kqcP3aTNsbEvEZLvihmo

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability git-submodule-init-active-url-config-copy-plan-reconstructor-e149c9a2 -d '<json body>'
```

Example prompt: Reconstruct the submodule init selection and config copy plan for my repo with default remote URL 'https://github.com/myorg/base.git', two modules named 'lib' and 'tools', and selected paths ['lib'], then verify the result against SHA256 claim 'abc123...'

## When to prefer this

Use this endpoint when you need to deterministically verify that a git submodule init selection, URL resolution, and local config copy plan matches a known SHA256 canonical claim — particularly in CI/CD pipelines, audit workflows, or reproducibility checks where you need cryptographic confirmation of the submodule configuration state.

## Known failure modes

- SHA256 claim mismatch — reconstructed plan does not match the provided hash
- Invalid module name format — names must match ^[A-Za-z_][A-Za-z0-9_.-]*$
- Path format violation — paths must match the allowed pattern
- Exceeding 24 modules or 24 selected paths limit
- Null or missing required fields such as default_remote_url or gitSubmodule.data
- Malformed update strategy enum — must be one of checkout, merge, rebase, or none

## How this service works

Reconstruct submodule init selection and exact local configuration copy plan. Reconstruct the fully typed result and compare its complete canonical SHA256 claim.

## Output

Returns the fully-typed reconstructed submodule init selection result, the resolved active URLs for each module, the local configuration copy plan, and a comparison outcome indicating whether the result matches the provided SHA256 canonical claim.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "$defs": {
    "s0": {
     "type": "string",
     "pattern": "^[A-Za-z0-9_.-]+(?:/[A-Za-z0-9_.-]+)*$",
     "maxLength": 128,
     "minLength": 1
    },
    "s1": {
     "anyOf": [
      {
       "type": "null"
      },
      {
       "type": "string",
       "maxLength": 512,
       "minLength": 1
      }
     ]
    },
    "s2": {
     "anyOf": [
      {
       "type": "null"
      },
      {
       "enum": [
        "checkout",
        "merge",
        "rebase",
        "none"
       ]
      }
     ]
    },
    "s3": {
     "anyOf": [
      {
       "type": "null"
      },
      {
       "$ref": "#/properties/input/properties/body/properties/artifact/%24defs/s4"
      }
     ]
    },
    "s4": {
     "type": "array",
     "items": {
      "$ref": "#/properties/input/properties/body/properties/artifact/%24defs/s0"
     },
     "maxItems": 24,
     "minItems": 0
    }
   },
   "required": [
    "gitSubmodule"
   ],
   "properties": {
    "gitSubmodule": {
     "type": "object",
     "required": [
      "data",
      "claim"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "default_remote_url",
        "modules",
        "global_active_paths",
        "selected_paths"
       ],
       "properties": {
        "modules": {
         "type": "array",
         "items": {
          "type": "object",
          "required": [
           "name",
           "path",
           "source_url",
           "source_update",
           "local_url",
           "local_update",
           "local_active"
          ],
          "properties": {
           "name": {
            "type": "string",
            "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
            "maxLength": 48,
            "minLength": 1
           },
           "path": {
            "$ref": "#/properties/input/properties/body/properties/artifact/%24defs/s0"
           },
           "local_url": {
            "$ref": "#/properties/input/properties/body/properties/artifact/%24defs/s1"
           },
           "source_url": {
            "$ref": "#/properties/input/properties/body/properties/artifact/%24defs/s1"
           },
           "local_active": {
            "anyOf": [
             {
              "type": "null"
             },
             {
              "type": "boolean"
             }
            ]
           },
           "local_update": {
            "$ref": "#/properties/input/p
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/git-submodule-init-active-url-config-copy-plan-reconstructor-e149c9a2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
