added
This commit is contained in:
1 parent
614d235bbe
commit
1e52a733d1
29 files changed
+728
-66
No files matched your search
@@ -43,6 +43,7 @@ repository-name/
|
||||
│
|
||||
├── README.md
|
||||
├── AUTHOR.md
|
||||
├── repository-variables.json
|
||||
├── repository.json
|
||||
├── LICENSE
|
||||
├── CHANGELOG.md
|
||||
@@ -119,6 +120,7 @@ The following root files should normally exist in every public repository:
|
||||
```text
|
||||
README.md
|
||||
AUTHOR.md
|
||||
repository-variables.json
|
||||
repository.json
|
||||
LICENSE
|
||||
CHANGELOG.md
|
||||
@@ -261,7 +263,47 @@ It should state:
|
||||
|
||||
Confirm these values with the user at the beginning of repository creation or restructuring. If an existing `AUTHOR.md` is present, present its values for confirmation rather than silently inheriting them.
|
||||
|
||||
Keep `AUTHOR.md`, `repository.json`, `CITATION.cff`, and `LICENSE` aligned. Never leave a source-template author attached to a derived repository unless that attribution remains accurate.
|
||||
Keep `repository-variables.json`, `AUTHOR.md`, `repository.json`,
|
||||
`CITATION.cff`, and `LICENSE` aligned. Never leave a source-template author
|
||||
attached to a derived repository unless that attribution remains accurate.
|
||||
|
||||
---
|
||||
|
||||
## `repository-variables.json`
|
||||
|
||||
### Purpose
|
||||
|
||||
Stores verified stable inputs that repository-structure skills and future
|
||||
maintainers can reuse without repeatedly asking for the same facts.
|
||||
|
||||
Every supported repository profile should include this file. It should contain:
|
||||
|
||||
* Repository profile.
|
||||
* Author or authors.
|
||||
* Publisher and maintainer.
|
||||
* Stable repository ID, name, title, canonical URL, and organization when
|
||||
applicable.
|
||||
* License and license-file path.
|
||||
* Repository-skill defaults, including approval and preservation behavior.
|
||||
* Verification source and date.
|
||||
|
||||
### Rules
|
||||
|
||||
Read this file before an identity and publication round. Treat its values as
|
||||
defaults only when a verification source and date are present. Ask about values
|
||||
that are missing, conflicting, explicitly unverified, or overridden by the
|
||||
user.
|
||||
|
||||
Keep dynamic release values such as the current version out of this file; their
|
||||
authoritative sources remain `VERSION`, `repository.json`, `CITATION.cff`, and
|
||||
`CHANGELOG.md`.
|
||||
|
||||
When verified identity, repository, or rights values change, update
|
||||
`repository-variables.json`, `AUTHOR.md`, `repository.json`, `CITATION.cff`, and
|
||||
`LICENSE` together.
|
||||
|
||||
Use `templates/repository-variables.json.template` and validate against
|
||||
`schemas/repository-variables.schema.json`.
|
||||
|
||||
---
|
||||
|
||||
@@ -449,7 +491,9 @@ Do not include comments, trailing commas, Markdown, or JSON5 syntax.
|
||||
"ai_retrieval": {
|
||||
"read_first": [
|
||||
"README.md",
|
||||
"AUTHOR.md"
|
||||
"AUTHOR.md",
|
||||
"repository-variables.json",
|
||||
"repository.json"
|
||||
],
|
||||
"retrieve_as_needed": [],
|
||||
"exclude_by_default": [
|
||||
@@ -901,9 +945,11 @@ Markdown.
|
||||
## Read Order
|
||||
|
||||
1. `README.md`
|
||||
2. `repository.json`
|
||||
3. Relevant files listed in `entrypoints`
|
||||
4. Supporting documentation only as needed
|
||||
2. `AUTHOR.md`
|
||||
3. `repository-variables.json`
|
||||
4. `repository.json`
|
||||
5. Relevant files listed in `entrypoints`
|
||||
6. Supporting documentation only as needed
|
||||
|
||||
## Task Routing
|
||||
|
||||
@@ -1640,6 +1686,7 @@ Required:
|
||||
```text
|
||||
README.md
|
||||
AUTHOR.md
|
||||
repository-variables.json
|
||||
repository.json
|
||||
LICENSE
|
||||
CHANGELOG.md
|
||||
@@ -1668,6 +1715,7 @@ Required:
|
||||
```text
|
||||
README.md
|
||||
AUTHOR.md
|
||||
repository-variables.json
|
||||
repository.json
|
||||
LICENSE
|
||||
CHANGELOG.md
|
||||
@@ -1700,6 +1748,7 @@ Required:
|
||||
```text
|
||||
README.md
|
||||
AUTHOR.md
|
||||
repository-variables.json
|
||||
repository.json
|
||||
LICENSE
|
||||
CHANGELOG.md
|
||||
@@ -1733,6 +1782,7 @@ Required:
|
||||
```text
|
||||
README.md
|
||||
AUTHOR.md
|
||||
repository-variables.json
|
||||
repository.json
|
||||
LICENSE
|
||||
CHANGELOG.md
|
||||
@@ -1912,6 +1962,8 @@ Before publishing a new repository:
|
||||
[ ] Hosting-platform description is complete.
|
||||
[ ] hosting-platform topics are assigned.
|
||||
[ ] README explains the purpose, users, process, inputs, and outputs.
|
||||
[ ] repository-variables.json contains verified identity, repository, rights,
|
||||
profile, workflow defaults, and verification metadata.
|
||||
[ ] AUTHOR.md contains verified author, publisher, maintainer, canonical URL, and adaptation guidance.
|
||||
[ ] repository.json is complete and valid JSON.
|
||||
[ ] repository_id is stable and unique.
|
||||
@@ -1941,6 +1993,7 @@ For the first implementation, every repository should begin with:
|
||||
```text
|
||||
README.md
|
||||
AUTHOR.md
|
||||
repository-variables.json
|
||||
repository.json
|
||||
LICENSE
|
||||
CHANGELOG.md
|
||||
|
||||
Reference in new issue
Block a user