generated from coulomb/repo-seed
Add railiance-fabric conformance support pack
This commit is contained in:
@@ -10,7 +10,9 @@ import yaml
|
||||
|
||||
GENERATED_NOTICE = "<!-- GENERATED by info_tech_canon; do not edit by hand. -->"
|
||||
RETRIEVAL_ARTIFACT_KINDS = {
|
||||
"capture-criteria",
|
||||
"concept-catalog",
|
||||
"conformance-pack",
|
||||
"consumer-workplan-brief",
|
||||
"evaluation-pack",
|
||||
"evaluation-question-set",
|
||||
@@ -18,12 +20,14 @@ RETRIEVAL_ARTIFACT_KINDS = {
|
||||
"interface-card-expectation",
|
||||
"kernel",
|
||||
"mapping",
|
||||
"mapping-expectation",
|
||||
"model",
|
||||
"model-extension",
|
||||
"pattern",
|
||||
"profile-alignment",
|
||||
"profile",
|
||||
"standard",
|
||||
"visualization-example-set",
|
||||
}
|
||||
CONSUMER_BRIEF_IDS = ("user-engine", "railiance-fabric", "repo-scoping")
|
||||
COMMON_DISTINCTIONS = [
|
||||
@@ -740,6 +744,29 @@ def _render_consumer_brief(consumer_id: str) -> str:
|
||||
"railiance-fabric": "Use the canon to make captured entities and edges cleaner for conformance and visualization.",
|
||||
"repo-scoping": "Compare repo-scoping concepts with canon INTENT, SCOPE, PURPOSES, and interface-card expectations.",
|
||||
}
|
||||
starting_points = {
|
||||
"user-engine": [
|
||||
"evaluations/user-engine/evaluation-pack.yaml",
|
||||
"evaluations/user-engine/questions.yaml",
|
||||
"evaluations/user-engine/interface-card-expectations.yaml",
|
||||
"evaluations/user-engine/small-saas-alignment.yaml",
|
||||
"profiles/small-saas/profile.yaml",
|
||||
],
|
||||
"railiance-fabric": [
|
||||
"evaluations/railiance-fabric/conformance-pack.yaml",
|
||||
"evaluations/railiance-fabric/entity-edge-capture-criteria.yaml",
|
||||
"evaluations/railiance-fabric/mapping-expectations.yaml",
|
||||
"evaluations/railiance-fabric/visualization-examples.yaml",
|
||||
"models/landscape/InfoTechCanonLandscapeModel.md",
|
||||
"models/network/InfoTechCanonNetworkModel.md",
|
||||
],
|
||||
"repo-scoping": [
|
||||
"models/governance/InfoTechCanonPurposeDemandExtension.md",
|
||||
"patterns/intent-scope-purposes.md",
|
||||
"agent/templates/canon-interface-card.template.yaml",
|
||||
"examples/consumer-purpose-portfolio.yaml",
|
||||
],
|
||||
}
|
||||
lines = [
|
||||
"---",
|
||||
f"id: consumer-brief/{consumer_id}",
|
||||
@@ -761,15 +788,19 @@ def _render_consumer_brief(consumer_id: str) -> str:
|
||||
"- `agent/templates/canon-interface-card.template.yaml`",
|
||||
"- `models/governance/InfoTechCanonPurposeDemandExtension.md`",
|
||||
"- `patterns/intent-scope-purposes.md`",
|
||||
"- `evaluations/user-engine/evaluation-pack.yaml`",
|
||||
"- `examples/consumer-purpose-portfolio.yaml`",
|
||||
"- `profiles/small-saas/profile.yaml`",
|
||||
"- `views/by-concept.md`",
|
||||
"",
|
||||
"## Workplan Boundary",
|
||||
"",
|
||||
"Adoption and repo-specific implementation workplans belong in the consumer repository.",
|
||||
]
|
||||
for path in starting_points[consumer_id]:
|
||||
lines.append(f"- `{path}`")
|
||||
lines.extend(
|
||||
[
|
||||
"",
|
||||
"## Workplan Boundary",
|
||||
"",
|
||||
"Adoption and repo-specific implementation workplans belong in the consumer repository.",
|
||||
]
|
||||
)
|
||||
return "\n".join(lines).rstrip() + "\n"
|
||||
|
||||
|
||||
@@ -830,8 +861,12 @@ def _safe_id(value: str) -> str:
|
||||
def _summary_for_artifact(artifact: Any) -> str:
|
||||
if artifact.kind == "profile-artifact":
|
||||
return f"Example artifact for the {artifact.provenance.get('profile', 'unknown')} profile: {artifact.title}."
|
||||
if artifact.kind == "capture-criteria":
|
||||
return f"Criteria for canonical entity and edge capture: {artifact.title}."
|
||||
if artifact.kind == "concept-catalog":
|
||||
return f"Structured candidate concept catalog: {artifact.title}."
|
||||
if artifact.kind == "conformance-pack":
|
||||
return f"Machine-readable canon-side conformance support pack: {artifact.title}."
|
||||
if artifact.kind == "consumer-workplan-brief":
|
||||
return f"Consumer repo workplan seed brief: {artifact.title}."
|
||||
if artifact.kind == "evaluation-pack":
|
||||
@@ -844,12 +879,16 @@ def _summary_for_artifact(artifact: Any) -> str:
|
||||
return f"Expected Canon Interface Card fields and mappings: {artifact.title}."
|
||||
if artifact.kind == "mapping":
|
||||
return f"Mapping artifact connecting canon surfaces: {artifact.title}."
|
||||
if artifact.kind == "mapping-expectation":
|
||||
return f"Expected mappings between consumer graph capture and canon surfaces: {artifact.title}."
|
||||
if artifact.kind == "model-extension":
|
||||
return f"Candidate extension to an existing canon model: {artifact.title}."
|
||||
if artifact.kind == "pattern":
|
||||
return f"Reusable canon pattern: {artifact.title}."
|
||||
if artifact.kind == "profile-alignment":
|
||||
return f"Profile-specific evaluation alignment artifact: {artifact.title}."
|
||||
if artifact.kind == "visualization-example-set":
|
||||
return f"Graph visualization examples and bad-shape corrections: {artifact.title}."
|
||||
if artifact.kind == "profile":
|
||||
return f"Profile that constrains canon artifacts for a practical implementation slice: {artifact.title}."
|
||||
if artifact.kind == "kernel":
|
||||
|
||||
Reference in New Issue
Block a user