This commit is contained in:
eddiesoehnel committed 2026-07-24 15:14:23 -06:00
1 parent 614d235bbe
commit 1e52a733d1
29 files changed
+728 -66

No files matched your search

+28 -9
View File
@@ -18,16 +18,26 @@ Use `scripts/audit_repository.py` for a read-only baseline and final structural
## Phase 1: Inspect
1. Resolve the target repository and determine whether it is new or existing.
2. Begin with a short identity and publication round. Ask only for values the user has not already supplied:
2. If `repository-variables.json` exists, read it before the identity round.
Treat values with a verification source and date as defaults. Ask only about
missing, conflicting, explicitly unverified, or user-overridden values.
3. Begin with a short identity and publication round. Ask only for values the
user has not already supplied or verified:
- author or authors;
- publisher and maintainer;
- canonical repository URL;
- intended license.
3. If `AUTHOR.md` exists, read it first, present its values for confirmation, and ask only about missing or conflicting facts. Do not silently inherit identity from a template or source repository.
4. For an existing repository, inspect its files, Git status, documentation, manifests, tests, host configuration, and any `AGENTS.md` or equivalent instructions. Preserve unrelated user changes.
5. Infer the most suitable profile: documentation/guide, skill/workflow, software/automation, dataset, or a justified custom minimum.
6. Separate facts found in the repository from assumptions and recommendations.
7. Run the read-only audit when Python is available. Record failures as planning inputs, not as permission to change files.
4. If `AUTHOR.md` exists, read it and compare it with
`repository-variables.json`. Ask only about missing or conflicting facts. Do
not silently inherit identity from a template or source repository.
5. For an existing repository, inspect its files, Git status, documentation,
manifests, tests, host configuration, and any `AGENTS.md` or equivalent
instructions. Preserve unrelated user changes.
6. Infer the most suitable profile: documentation/guide, skill/workflow,
software/automation, dataset, or a justified custom minimum.
7. Separate facts found in the repository from assumptions and recommendations.
8. Run the read-only audit when Python is available. Record failures as
planning inputs, not as permission to change files.
## Phase 2: Write the review plan
@@ -84,14 +94,22 @@ If implementation requires a material departure from the approved plan, update t
- provide scoped agent instructions in the repository's established agent-instruction file;
- index skills, scripts, templates, schemas, data, and examples when they exist.
- create or update `UPDATES.md` for future notes and proposals, while keeping completed versioned changes in `CHANGELOG.md`.
- create `AUTHOR.md` as the canonical human-readable attribution file and keep it aligned with `repository.json`, `CITATION.cff`, and `LICENSE`.
- create `AUTHOR.md` as the canonical human-readable attribution file and
keep it aligned with `repository-variables.json`, `repository.json`,
`CITATION.cff`, and `LICENSE`.
- create or update `repository-variables.json` with verified stable identity,
repository, rights, profile, and workflow defaults; add it to agent read
order before `repository.json`. Omit optional unknown values or use `null`
where the schema permits; never invent an organization.
7. Use placeholders only when the user has not supplied a value and the placeholder is visibly marked. Never invent URLs, maintainers, licenses, security contacts, provenance, or credentials.
8. Do not create commits, branches, remotes, releases, or hosting-platform settings unless the user separately requested them.
## Phase 5: Validate and record
1. Run `scripts/audit_repository.py` with the approved profile.
2. Parse machine-readable files and check version alignment, internal paths, and declared entry points.
2. Parse machine-readable files and check
`repository-variables.json` alignment, version alignment, internal paths, and
declared entry points.
3. Run relevant repository-native tests, linters, schema checks, and link checks that can safely run.
4. Search created examples and receipts for secrets, personal data, and organization-specific residue.
5. Confirm that `UPDATES.md` contains future planning notes only and is not presented as approval or completed work.
@@ -108,7 +126,8 @@ Record the approved revision, actual actions, deviations, commands, results, unr
Report:
- the verified author, publisher, maintainer, canonical URL, and license;
- the verified author, publisher, maintainer, canonical URL, license, and
`repository-variables.json` source;
- the selected profile and resulting entry points;
- created, modified, preserved, moved, and intentionally omitted files;
- validation results and anything not tested;