Complete Notarius reference compatibility audit
This commit is contained in:
@@ -23,7 +23,7 @@ different contract.
|
|||||||
| 5 | Resolve references in extract and bind fingerprints, resume, and metadata to their identities. | Completed |
|
| 5 | Resolve references in extract and bind fingerprints, resume, and metadata to their identities. | Completed |
|
||||||
| 6 | Prove assembled extraction lifecycle and downstream invalidation behavior. | Completed |
|
| 6 | Prove assembled extraction lifecycle and downstream invalidation behavior. | Completed |
|
||||||
| 7 | Update canonical documentation and maintained examples for the completed feature. | Completed |
|
| 7 | Update canonical documentation and maintained examples for the completed feature. | Completed |
|
||||||
| 8 | Perform compatibility, quality, and repository-wide closure validation. | Pending |
|
| 8 | Perform compatibility, quality, and repository-wide closure validation. | Completed |
|
||||||
|
|
||||||
## Governing Decisions
|
## Governing Decisions
|
||||||
|
|
||||||
|
|||||||
@@ -177,9 +177,24 @@ func (prepareStage) Run(ctx context.Context, env *Env, m *manifest.Manifest) (*S
|
|||||||
preparedConfigFiles := []preparedConfigFile{
|
preparedConfigFiles := []preparedConfigFile{
|
||||||
{kind: "speakers", src: speakersSrc, dst: filepath.Join(paths.InputsDir, "speakers.yml"), source: speakersInput.Source},
|
{kind: "speakers", src: speakersSrc, dst: filepath.Join(paths.InputsDir, "speakers.yml"), source: speakersInput.Source},
|
||||||
{kind: "autocorrect", src: autocorrectSrc, dst: filepath.Join(paths.InputsDir, "autocorrect.yml"), source: autocorrectInput.Source},
|
{kind: "autocorrect", src: autocorrectSrc, dst: filepath.Join(paths.InputsDir, "autocorrect.yml"), source: autocorrectInput.Source},
|
||||||
{kind: "glossary", src: glossarySrc, dst: filepath.Join(paths.InputsDir, "glossary.yml"), source: glossaryInput.Source},
|
}
|
||||||
{kind: "players", src: playersSrc, dst: filepath.Join(paths.InputsDir, "players.yml"), source: playersInput.Source},
|
for _, prepared := range []struct {
|
||||||
{kind: "party", src: partySrc, dst: filepath.Join(paths.InputsDir, "party.yml"), source: partyInput.Source},
|
sourceID string
|
||||||
|
input config.ResolvedInputFile
|
||||||
|
src string
|
||||||
|
}{
|
||||||
|
{sourceID: artifactpolicy.SourceInputGlossary, input: glossaryInput, src: glossarySrc},
|
||||||
|
{sourceID: artifactpolicy.SourceInputPlayers, input: playersInput, src: playersSrc},
|
||||||
|
{sourceID: artifactpolicy.SourceInputParty, input: partyInput, src: partySrc},
|
||||||
|
} {
|
||||||
|
descriptor, ok := artifactpolicy.DescribePreparedInputSource(prepared.sourceID)
|
||||||
|
if !ok {
|
||||||
|
return nil, fmt.Errorf("prepare: prepared-input descriptor %q is unavailable", prepared.sourceID)
|
||||||
|
}
|
||||||
|
preparedConfigFiles = append(preparedConfigFiles, preparedConfigFile{
|
||||||
|
kind: descriptor.ManifestKind, src: prepared.src,
|
||||||
|
dst: filepath.Join(paths.InputsDir, descriptor.Filename), source: prepared.input.Source,
|
||||||
|
})
|
||||||
}
|
}
|
||||||
spellDescriptor, ok := artifactpolicy.DescribePreparedInputSource(artifactpolicy.SourceInputSpellCatalog)
|
spellDescriptor, ok := artifactpolicy.DescribePreparedInputSource(artifactpolicy.SourceInputSpellCatalog)
|
||||||
if !ok {
|
if !ok {
|
||||||
|
|||||||
Reference in New Issue
Block a user