src/docs/Modules/Repository-Defaults.md states two things that do not match the PSModule organization or any real module repository. Both were hit while bootstrapping a new module repository from PSModule/Template-PSModule, where the documented contract could not be followed as written.
Wrong custom property name
The "Required repository metadata" section says:
RepoType: Module as the repository custom property.
The organization schema (gh api /orgs/PSModule/properties/schema) has no RepoType property. The property is Type: a required single-select with allowed values Action, Archive, Docs, Framework, FunctionApp, Memory, Module, Other, Template, Workflow, defaulting to Other. Every module repository checked (Domeneshop, Base64, Context, Sodium, Jwt, Toml) has Type=Module; Template-PSModule has Type=Template.
The schema also defines Archive (true/false), Description (string), SubscribeTo (multi-select) and Upstream (url), none of which the page mentions. SubscribeTo is the opt-in for managed-file distribution, so it belongs next to the "Managed file distribution" section on the same page.
Wrong workflow filename
The "Default repository layout" table says:
| .github/workflows/workflow.yml | Reusable Process-PSModule workflow entry point. |
In every real module repository the caller workflow is .github/workflows/Process-PSModule.yml (verified in Template-PSModule, Domeneshop, Base64, Jwt, Toml, Sodium, Context). workflow.yml is the filename of the reusable workflow inside PSModule/Process-PSModule, referenced as uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@<sha>. The row describes the caller file in the module repository, so both the filename and the caller/reusable distinction are wrong.
Expected outcome
- The page names
Type as the required custom property and documents the rest of the organization schema, including SubscribeTo.
- The layout table names the caller workflow
.github/workflows/Process-PSModule.yml and makes the caller-versus-reusable distinction explicit enough that a reader or agent cannot repeat the mistake.
- The layout table stops disagreeing with the "Required common files" table on the same page.
Note: PR #96 renames this page to Repository-Standard.md and carries both errors forward, so the same corrections need to land there too.
src/docs/Modules/Repository-Defaults.mdstates two things that do not match the PSModule organization or any real module repository. Both were hit while bootstrapping a new module repository fromPSModule/Template-PSModule, where the documented contract could not be followed as written.Wrong custom property name
The "Required repository metadata" section says:
The organization schema (
gh api /orgs/PSModule/properties/schema) has noRepoTypeproperty. The property isType: a required single-select with allowed valuesAction,Archive,Docs,Framework,FunctionApp,Memory,Module,Other,Template,Workflow, defaulting toOther. Every module repository checked (Domeneshop,Base64,Context,Sodium,Jwt,Toml) hasType=Module;Template-PSModulehasType=Template.The schema also defines
Archive(true/false),Description(string),SubscribeTo(multi-select) andUpstream(url), none of which the page mentions.SubscribeTois the opt-in for managed-file distribution, so it belongs next to the "Managed file distribution" section on the same page.Wrong workflow filename
The "Default repository layout" table says:
In every real module repository the caller workflow is
.github/workflows/Process-PSModule.yml(verified inTemplate-PSModule,Domeneshop,Base64,Jwt,Toml,Sodium,Context).workflow.ymlis the filename of the reusable workflow insidePSModule/Process-PSModule, referenced asuses: PSModule/Process-PSModule/.github/workflows/workflow.yml@<sha>. The row describes the caller file in the module repository, so both the filename and the caller/reusable distinction are wrong.Expected outcome
Typeas the required custom property and documents the rest of the organization schema, includingSubscribeTo..github/workflows/Process-PSModule.ymland makes the caller-versus-reusable distinction explicit enough that a reader or agent cannot repeat the mistake.Note: PR #96 renames this page to
Repository-Standard.mdand carries both errors forward, so the same corrections need to land there too.