Apache-2.0 Attribution Standard

•
1
•

Automates the application of a comprehensive four-layer Apache-2.0 attribution and licensing model across software repositories.

This skill implements a rigorous, four-layer attribution framework designed to protect intellectual property and ensure legal compliance for Apache-2.0 licensed projects. It goes beyond simple license files by orchestrating the placement of NOTICE files, per-file SPDX headers across multiple programming languages, REUSE.toml configurations for binary assets, and subtle canary markers. Specifically designed for AI-assisted development, it automatically handles AI co-author trailers and ensures that shipped source files remain detectable and legally sound even if individual files are copy-pasted or wholesale repositories are lifted.

Key Features

01Supports cross-language comment styles including Python, TypeScript, Rust, and Markdown.
02Integrates with Build-loop Phase 1 to automatically detect missing attribution layers.
031 GitHub stars
04Implements four-layer protection: NOTICE, per-file SPDX, REUSE.toml, and canary markers.
05Features an idempotent script for safe, repeatable stamping and restamping.
06Automates AI-pair-programming attribution for Claude and OpenAI Codex.

Use Cases

01Preparing a private repository for a public release under the Apache-2.0 license.
02Standardizing licensing headers across a polyglot codebase with mixed file types.
03Protecting code against unauthorized lifting through detectable canary watermarking.