← LeaderboardThe Skill Leaderboard

git-submodule-release-archive-coverage

Compare delivered source-release member hashes with a required inventory captured from each exact pinned Git submodule commit.

Published by sickn33 ↗sickn33/agentic-awesome-skills

Try your first task

A source-grounded starter task has not been verified for this skill yet.

SKILL.md

name: git-submodule-release-archive-coveragedescription: "Compare delivered source-release member hashes with a required inventory captured from each exact pinned Git submodule commit."category: developmentrisk: safesource: selfsource_type: selfdate_added: "2026-12-02"author: Koushik-Katkamtags: [git, archive, release]

Git Submodule Release Archive Coverage

Overview

Verify that a release artifact contains required submodule files at their expected paths and with their expected SHA-256 digests. Preserve an explicit gap when the pinned submodule evidence is absent. The result applies to the supplied evidence and the selected profile.

When to Use

  • Use when a source archive must include required files from a pinned submodule, including a release built from a bare superproject.
  • Review committed path compatibility independently when the contents are present but a checkout might still be unsafe.

Prerequisites

Supply a mode-160000 gitlink inventory, each required file inventory from that exact commit, and a trusted producer's archive member digest inventory. The harness uses Python 3.12 and its standard library. Use the verification reference for the input contract and runnable block.

How It Works

1. Establish the inputs

Record the superproject commit and bind every required submodule path to the object ID in its gitlink. Prepare the required member names from an independent local copy of the pinned submodule commit.

2. Perform the task

Compare the approved required names with the archive inventory under the pinned path. Check exact case and SHA-256. Treat the required file list as delivery policy.

3. Verify the result

Report missing inventories, wrong inventory commits, absent members and mismatched digests separately. Preserve the source identity of every inventory when handing the report to a reviewer.

Examples

A superproject archive contains the vendor directory but omits the submodule's required needed.txt. The illustrative expected result is required_member_missing at the exact member path. Run python -I verify.py --self-test on the extracted reference. Audit the selected fixture or evidence with python -I verify.py --audit evidence.json.

Limitations

  • The harness consumes manifests. Archive parsing, archive inventories from untrusted bytes and archive extraction are outside this profile.
  • The result establishes agreement for the supplied required members. It does not prove a source archive or a gitlink is authenticated.
  • Git defines the gitlink commit reference. Required contents and SHA-256 inventory coverage are project policy.

Safety and side effects

Use approved local inputs. No submodule initialization, network fetch, extraction, checkout, or change to an archive is needed.

Sources and related skills