Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ad7312b65a | ||
|
|
3238e1d809 | ||
|
|
fe4c3509d1 | ||
|
|
8a7dbea852 |
No files matched your search
@@ -2,7 +2,7 @@
|
|||||||
"schema_version": 1,
|
"schema_version": 1,
|
||||||
"diagram_type": "architecture",
|
"diagram_type": "architecture",
|
||||||
"meta": {
|
"meta": {
|
||||||
"title": "TO-BE: Learn before expanding",
|
"title": "TO-BE: Adoption",
|
||||||
"output": "static/diagrams/strategy-adoption-mobile/index.html",
|
"output": "static/diagrams/strategy-adoption-mobile/index.html",
|
||||||
"quality_profile": "showcase",
|
"quality_profile": "showcase",
|
||||||
"legend": {
|
"legend": {
|
||||||
@@ -11,129 +11,136 @@
|
|||||||
},
|
},
|
||||||
"components": [
|
"components": [
|
||||||
{
|
{
|
||||||
"id": "choose",
|
"id": "delivery",
|
||||||
"type": "backend",
|
"type": "backend",
|
||||||
"label": "Choose workflow",
|
"label": "Delivery first",
|
||||||
"sublabel": "Department outcome",
|
"tag": "Understand real work",
|
||||||
|
"sublabel": "Codebase + principles\nSystem logic and tests\nBuilds and packaging\nDeployments + baseline",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
20
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "workflow",
|
||||||
|
"type": "security",
|
||||||
|
"label": "Choose bounded work",
|
||||||
|
"tag": "Team + Product owner",
|
||||||
|
"sublabel": "Define accepted outcome\nData & AI shapes the skill\nQuality sets acceptance\nSecurity clears data",
|
||||||
|
"pos": [
|
||||||
|
40,
|
||||||
|
610
|
||||||
|
],
|
||||||
|
"size": [
|
||||||
|
560,
|
||||||
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "coach",
|
"id": "coach",
|
||||||
"type": "backend",
|
"type": "frontend",
|
||||||
"label": "Coach people",
|
"label": "Practice together",
|
||||||
"sublabel": "Verify + recover",
|
"tag": "Human + AI Agent",
|
||||||
|
"sublabel": "Platform qualifies client\nPeople supports learning\nSelect skill; inspect work\nKeep a manual path",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
140
|
1180
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "canary",
|
"id": "verify",
|
||||||
"type": "backend",
|
"type": "security",
|
||||||
"label": "Run bounded canary",
|
"label": "Accept actual work",
|
||||||
"sublabel": "Qualified skill + client",
|
"tag": "Independent reviewer",
|
||||||
|
"sublabel": "Check artifacts, not calls\nRecognize unsafe inputs\nUse incident routes\nExplain limits + recovery",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
260
|
1750
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "accept",
|
"id": "learn",
|
||||||
"type": "backend",
|
"type": "database",
|
||||||
"label": "Accept real work",
|
"label": "Review the feedback",
|
||||||
"sublabel": "Independent review",
|
"tag": "Owning team",
|
||||||
|
"sublabel": "Collect metrics + friction\nNon-use is useful feedback\nRevise through review\nNo quotas or rankings",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
380
|
2320
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "feedback",
|
|
||||||
"type": "backend",
|
|
||||||
"label": "Review feedback",
|
|
||||||
"sublabel": "Usefulness + non-use",
|
|
||||||
"pos": [
|
|
||||||
20,
|
|
||||||
500
|
|
||||||
],
|
|
||||||
"size": [
|
|
||||||
180,
|
|
||||||
60
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "expand",
|
"id": "expand",
|
||||||
"type": "backend",
|
"type": "cloud",
|
||||||
"label": "Expand or revise",
|
"label": "Expand with evidence",
|
||||||
"sublabel": "Keep a manual path",
|
"tag": "Other SDLC phases",
|
||||||
|
"sublabel": "Later order undecided\nRepeat baseline + topology\nDelivery keeps improving\nNot autonomous authority",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
620
|
2890
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": [
|
"connections": [
|
||||||
{
|
{
|
||||||
"id": "flow-0",
|
"id": "flow-0",
|
||||||
"from": "choose",
|
"from": "delivery",
|
||||||
"to": "coach",
|
"to": "workflow",
|
||||||
"label": "Prepare"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-1",
|
"id": "flow-1",
|
||||||
"from": "coach",
|
"from": "workflow",
|
||||||
"to": "canary",
|
"to": "coach",
|
||||||
"label": "support pilot"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-2",
|
"id": "flow-2",
|
||||||
"from": "canary",
|
"from": "coach",
|
||||||
"to": "accept",
|
"to": "verify",
|
||||||
"label": "Verify"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-3",
|
"id": "flow-3",
|
||||||
"from": "accept",
|
"from": "verify",
|
||||||
"to": "feedback",
|
"to": "learn",
|
||||||
"label": "learn"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-4",
|
"id": "flow-4",
|
||||||
"from": "feedback",
|
"from": "learn",
|
||||||
"to": "expand",
|
"to": "expand",
|
||||||
"label": "decide"
|
"fromSide": "bottom",
|
||||||
},
|
"toSide": "top",
|
||||||
{
|
"route": "straight"
|
||||||
"id": "feedback-loop",
|
|
||||||
"from": "expand",
|
|
||||||
"to": "coach",
|
|
||||||
"label": "Review revision",
|
|
||||||
"variant": "dashed",
|
|
||||||
"fromSide": "right",
|
|
||||||
"toSide": "right"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
"schema_version": 1,
|
"schema_version": 1,
|
||||||
"diagram_type": "architecture",
|
"diagram_type": "architecture",
|
||||||
"meta": {
|
"meta": {
|
||||||
"title": "TO-BE: Learn before expanding",
|
"title": "TO-BE: Adoption",
|
||||||
"output": "static/diagrams/strategy-adoption/index.html",
|
"output": "static/diagrams/strategy-adoption/index.html",
|
||||||
"quality_profile": "showcase",
|
"quality_profile": "showcase",
|
||||||
"legend": {
|
"legend": {
|
||||||
@@ -11,129 +11,136 @@
|
|||||||
},
|
},
|
||||||
"components": [
|
"components": [
|
||||||
{
|
{
|
||||||
"id": "choose",
|
"id": "delivery",
|
||||||
"type": "backend",
|
"type": "backend",
|
||||||
"label": "Choose workflow",
|
"label": "Delivery first",
|
||||||
"sublabel": "Department outcome",
|
"tag": "Understand real work",
|
||||||
|
"sublabel": "Codebase + principles\nSystem logic and tests\nBuilds and packaging\nDeployments + baseline",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
20
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "workflow",
|
||||||
|
"type": "security",
|
||||||
|
"label": "Choose bounded work",
|
||||||
|
"tag": "Team + Product owner",
|
||||||
|
"sublabel": "Define accepted outcome\nData & AI shapes the skill\nQuality sets acceptance\nSecurity clears data",
|
||||||
|
"pos": [
|
||||||
|
700,
|
||||||
|
40
|
||||||
|
],
|
||||||
|
"size": [
|
||||||
|
560,
|
||||||
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "coach",
|
"id": "coach",
|
||||||
"type": "backend",
|
"type": "frontend",
|
||||||
"label": "Coach people",
|
"label": "Practice together",
|
||||||
"sublabel": "Verify + recover",
|
"tag": "Human + AI Agent",
|
||||||
|
"sublabel": "Platform qualifies client\nPeople supports learning\nSelect skill; inspect work\nKeep a manual path",
|
||||||
"pos": [
|
"pos": [
|
||||||
260,
|
1360,
|
||||||
20
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "canary",
|
"id": "verify",
|
||||||
"type": "backend",
|
"type": "security",
|
||||||
"label": "Run bounded canary",
|
"label": "Accept actual work",
|
||||||
"sublabel": "Qualified skill + client",
|
"tag": "Independent reviewer",
|
||||||
|
"sublabel": "Check artifacts, not calls\nRecognize unsafe inputs\nUse incident routes\nExplain limits + recovery",
|
||||||
"pos": [
|
"pos": [
|
||||||
260,
|
1360,
|
||||||
150
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "accept",
|
"id": "learn",
|
||||||
"type": "backend",
|
"type": "database",
|
||||||
"label": "Accept real work",
|
"label": "Review the feedback",
|
||||||
"sublabel": "Independent review",
|
"tag": "Owning team",
|
||||||
|
"sublabel": "Collect metrics + friction\nNon-use is useful feedback\nRevise through review\nNo quotas or rankings",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
700,
|
||||||
150
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "feedback",
|
|
||||||
"type": "backend",
|
|
||||||
"label": "Review feedback",
|
|
||||||
"sublabel": "Usefulness + non-use",
|
|
||||||
"pos": [
|
|
||||||
20,
|
|
||||||
280
|
|
||||||
],
|
|
||||||
"size": [
|
|
||||||
180,
|
|
||||||
60
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "expand",
|
"id": "expand",
|
||||||
"type": "backend",
|
"type": "cloud",
|
||||||
"label": "Expand or revise",
|
"label": "Expand with evidence",
|
||||||
"sublabel": "Keep a manual path",
|
"tag": "Other SDLC phases",
|
||||||
|
"sublabel": "Later order undecided\nRepeat baseline + topology\nDelivery keeps improving\nNot autonomous authority",
|
||||||
"pos": [
|
"pos": [
|
||||||
260,
|
40,
|
||||||
280
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": [
|
"connections": [
|
||||||
{
|
{
|
||||||
"id": "flow-0",
|
"id": "flow-0",
|
||||||
"from": "choose",
|
"from": "delivery",
|
||||||
"to": "coach",
|
"to": "workflow",
|
||||||
"label": "Prepare"
|
"fromSide": "right",
|
||||||
|
"toSide": "left",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-1",
|
"id": "flow-1",
|
||||||
"from": "coach",
|
"from": "workflow",
|
||||||
"to": "canary",
|
"to": "coach",
|
||||||
"label": "support pilot"
|
"fromSide": "right",
|
||||||
|
"toSide": "left",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-2",
|
"id": "flow-2",
|
||||||
"from": "canary",
|
"from": "coach",
|
||||||
"to": "accept",
|
"to": "verify",
|
||||||
"label": "Verify"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-3",
|
"id": "flow-3",
|
||||||
"from": "accept",
|
"from": "verify",
|
||||||
"to": "feedback",
|
"to": "learn",
|
||||||
"label": "learn"
|
"fromSide": "left",
|
||||||
|
"toSide": "right",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-4",
|
"id": "flow-4",
|
||||||
"from": "feedback",
|
"from": "learn",
|
||||||
"to": "expand",
|
"to": "expand",
|
||||||
"label": "decide"
|
"fromSide": "left",
|
||||||
},
|
"toSide": "right",
|
||||||
{
|
"route": "straight"
|
||||||
"id": "feedback-loop",
|
|
||||||
"from": "expand",
|
|
||||||
"to": "coach",
|
|
||||||
"label": "Review revision",
|
|
||||||
"variant": "dashed",
|
|
||||||
"fromSide": "right",
|
|
||||||
"toSide": "right"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
"schema_version": 1,
|
"schema_version": 1,
|
||||||
"diagram_type": "architecture",
|
"diagram_type": "architecture",
|
||||||
"meta": {
|
"meta": {
|
||||||
"title": "TO-BE: Independent approval",
|
"title": "TO-BE: Governance",
|
||||||
"output": "static/diagrams/strategy-governance-mobile/index.html",
|
"output": "static/diagrams/strategy-governance-mobile/index.html",
|
||||||
"quality_profile": "showcase",
|
"quality_profile": "showcase",
|
||||||
"legend": {
|
"legend": {
|
||||||
@@ -12,86 +12,92 @@
|
|||||||
"components": [
|
"components": [
|
||||||
{
|
{
|
||||||
"id": "owner",
|
"id": "owner",
|
||||||
"type": "security",
|
"type": "backend",
|
||||||
"label": "Owner proposes",
|
"label": "Propose a skill",
|
||||||
"sublabel": "Existing accountable team",
|
"tag": "Owning team",
|
||||||
|
"sublabel": "Problem + intended users\nData and authority scope\nSKILL.md + dependencies\nTestable outcome",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
20
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "review",
|
"id": "review",
|
||||||
"type": "security",
|
"type": "security",
|
||||||
"label": "Independent review",
|
"label": "Independent review",
|
||||||
"sublabel": "Quality + risk evidence",
|
"tag": "Quality + Security",
|
||||||
|
"sublabel": "Evaluate useful outcomes\nCheck risk boundaries\nAuthor is not sole approver\nRecord revision evidence",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
140
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "canary",
|
"id": "canary",
|
||||||
"type": "security",
|
"type": "frontend",
|
||||||
"label": "Bounded canary",
|
"label": "Qualify real use",
|
||||||
"sublabel": "Qualified client path",
|
"tag": "Human + AI Agent",
|
||||||
|
"sublabel": "Test exact client build\nRun a bounded canary\nInspect work independently\nNo failed mandatory gate",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
260
|
1180
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "approve",
|
"id": "approve",
|
||||||
"type": "security",
|
"type": "security",
|
||||||
"label": "Approve revision",
|
"label": "Approve exact scope",
|
||||||
"sublabel": "Exact digest + scope",
|
"tag": "Accountable approvers",
|
||||||
|
"sublabel": "Bind approval to digest\nPermitted uses + expiry\nExceptions cannot bypass\nprotected controls",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
380
|
1750
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "publish",
|
"id": "publish",
|
||||||
"type": "security",
|
"type": "database",
|
||||||
"label": "Publish bundle",
|
"label": "Version the bundle",
|
||||||
"sublabel": "Data & AI catalog",
|
"tag": "Data & AI catalog",
|
||||||
|
"sublabel": "Pin skill + adapter\nand dependency revisions\nRecord approval evidence\nKeep last-known-good",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
500
|
2320
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "distribute",
|
"id": "distribute",
|
||||||
"type": "security",
|
"type": "cloud",
|
||||||
"label": "Verify effective state",
|
"label": "Verify loaded state",
|
||||||
"sublabel": "Platform & IT",
|
"tag": "Platform & IT",
|
||||||
|
"sublabel": "Stage and check digest\nRead effective revision\nTest open-session reload\nRevoke unsafe revisions",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
620
|
2890
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -100,31 +106,41 @@
|
|||||||
"id": "flow-0",
|
"id": "flow-0",
|
||||||
"from": "owner",
|
"from": "owner",
|
||||||
"to": "review",
|
"to": "review",
|
||||||
"label": "submit"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-1",
|
"id": "flow-1",
|
||||||
"from": "review",
|
"from": "review",
|
||||||
"to": "canary",
|
"to": "canary",
|
||||||
"label": "qualify"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-2",
|
"id": "flow-2",
|
||||||
"from": "canary",
|
"from": "canary",
|
||||||
"to": "approve",
|
"to": "approve",
|
||||||
"label": "Accept"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-3",
|
"id": "flow-3",
|
||||||
"from": "approve",
|
"from": "approve",
|
||||||
"to": "publish",
|
"to": "publish",
|
||||||
"label": "record approval"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-4",
|
"id": "flow-4",
|
||||||
"from": "publish",
|
"from": "publish",
|
||||||
"to": "distribute",
|
"to": "distribute",
|
||||||
"label": "Deliver"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
"schema_version": 1,
|
"schema_version": 1,
|
||||||
"diagram_type": "architecture",
|
"diagram_type": "architecture",
|
||||||
"meta": {
|
"meta": {
|
||||||
"title": "TO-BE: Independent approval",
|
"title": "TO-BE: Governance",
|
||||||
"output": "static/diagrams/strategy-governance/index.html",
|
"output": "static/diagrams/strategy-governance/index.html",
|
||||||
"quality_profile": "showcase",
|
"quality_profile": "showcase",
|
||||||
"legend": {
|
"legend": {
|
||||||
@@ -12,86 +12,92 @@
|
|||||||
"components": [
|
"components": [
|
||||||
{
|
{
|
||||||
"id": "owner",
|
"id": "owner",
|
||||||
"type": "security",
|
"type": "backend",
|
||||||
"label": "Owner proposes",
|
"label": "Propose a skill",
|
||||||
"sublabel": "Existing accountable team",
|
"tag": "Owning team",
|
||||||
|
"sublabel": "Problem + intended users\nData and authority scope\nSKILL.md + dependencies\nTestable outcome",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
20
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "review",
|
"id": "review",
|
||||||
"type": "security",
|
"type": "security",
|
||||||
"label": "Independent review",
|
"label": "Independent review",
|
||||||
"sublabel": "Quality + risk evidence",
|
"tag": "Quality + Security",
|
||||||
|
"sublabel": "Evaluate useful outcomes\nCheck risk boundaries\nAuthor is not sole approver\nRecord revision evidence",
|
||||||
"pos": [
|
"pos": [
|
||||||
260,
|
700,
|
||||||
20
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "canary",
|
"id": "canary",
|
||||||
"type": "security",
|
"type": "frontend",
|
||||||
"label": "Bounded canary",
|
"label": "Qualify real use",
|
||||||
"sublabel": "Qualified client path",
|
"tag": "Human + AI Agent",
|
||||||
|
"sublabel": "Test exact client build\nRun a bounded canary\nInspect work independently\nNo failed mandatory gate",
|
||||||
"pos": [
|
"pos": [
|
||||||
260,
|
1360,
|
||||||
150
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "approve",
|
"id": "approve",
|
||||||
"type": "security",
|
"type": "security",
|
||||||
"label": "Approve revision",
|
"label": "Approve exact scope",
|
||||||
"sublabel": "Exact digest + scope",
|
"tag": "Accountable approvers",
|
||||||
|
"sublabel": "Bind approval to digest\nPermitted uses + expiry\nExceptions cannot bypass\nprotected controls",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
1360,
|
||||||
150
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "publish",
|
"id": "publish",
|
||||||
"type": "security",
|
"type": "database",
|
||||||
"label": "Publish bundle",
|
"label": "Version the bundle",
|
||||||
"sublabel": "Data & AI catalog",
|
"tag": "Data & AI catalog",
|
||||||
|
"sublabel": "Pin skill + adapter\nand dependency revisions\nRecord approval evidence\nKeep last-known-good",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
700,
|
||||||
280
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "distribute",
|
"id": "distribute",
|
||||||
"type": "security",
|
"type": "cloud",
|
||||||
"label": "Verify effective state",
|
"label": "Verify loaded state",
|
||||||
"sublabel": "Platform & IT",
|
"tag": "Platform & IT",
|
||||||
|
"sublabel": "Stage and check digest\nRead effective revision\nTest open-session reload\nRevoke unsafe revisions",
|
||||||
"pos": [
|
"pos": [
|
||||||
260,
|
40,
|
||||||
280
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -100,31 +106,41 @@
|
|||||||
"id": "flow-0",
|
"id": "flow-0",
|
||||||
"from": "owner",
|
"from": "owner",
|
||||||
"to": "review",
|
"to": "review",
|
||||||
"label": "submit"
|
"fromSide": "right",
|
||||||
|
"toSide": "left",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-1",
|
"id": "flow-1",
|
||||||
"from": "review",
|
"from": "review",
|
||||||
"to": "canary",
|
"to": "canary",
|
||||||
"label": "qualify"
|
"fromSide": "right",
|
||||||
|
"toSide": "left",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-2",
|
"id": "flow-2",
|
||||||
"from": "canary",
|
"from": "canary",
|
||||||
"to": "approve",
|
"to": "approve",
|
||||||
"label": "Accept"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-3",
|
"id": "flow-3",
|
||||||
"from": "approve",
|
"from": "approve",
|
||||||
"to": "publish",
|
"to": "publish",
|
||||||
"label": "record approval"
|
"fromSide": "left",
|
||||||
|
"toSide": "right",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-4",
|
"id": "flow-4",
|
||||||
"from": "publish",
|
"from": "publish",
|
||||||
"to": "distribute",
|
"to": "distribute",
|
||||||
"label": "Deliver"
|
"fromSide": "left",
|
||||||
|
"toSide": "right",
|
||||||
|
"route": "straight"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
"schema_version": 1,
|
"schema_version": 1,
|
||||||
"diagram_type": "architecture",
|
"diagram_type": "architecture",
|
||||||
"meta": {
|
"meta": {
|
||||||
"title": "TO-BE: Maintain trust over time",
|
"title": "TO-BE: Maintenance",
|
||||||
"output": "static/diagrams/strategy-maintenance-mobile/index.html",
|
"output": "static/diagrams/strategy-maintenance-mobile/index.html",
|
||||||
"quality_profile": "showcase",
|
"quality_profile": "showcase",
|
||||||
"legend": {
|
"legend": {
|
||||||
@@ -12,86 +12,92 @@
|
|||||||
"components": [
|
"components": [
|
||||||
{
|
{
|
||||||
"id": "monitor",
|
"id": "monitor",
|
||||||
"type": "backend",
|
"type": "database",
|
||||||
"label": "Monitor skills",
|
"label": "Watch for change",
|
||||||
"sublabel": "Usefulness + safety",
|
"tag": "Data & AI + owners",
|
||||||
|
"sublabel": "Review usefulness + safety\nDue dates and feedback\nModel / client / tool drift\nFailures trigger early review",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
20
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "triage",
|
"id": "triage",
|
||||||
"type": "backend",
|
"type": "backend",
|
||||||
"label": "Triage changes",
|
"label": "Triage the evidence",
|
||||||
"sublabel": "Owner + risk review",
|
"tag": "Owner + Quality",
|
||||||
|
"sublabel": "Reproduce the failure\nKeep artifact / client IDs\nAdd sanitized regressions\nAssess business effects",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
140
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "contain",
|
||||||
|
"type": "security",
|
||||||
|
"label": "If unsafe: contain",
|
||||||
|
"tag": "Security + Platform",
|
||||||
|
"sublabel": "Revoke authority\nQuarantine revision\nRestore known-good bundle\nVerify effective state",
|
||||||
|
"pos": [
|
||||||
|
40,
|
||||||
|
1180
|
||||||
|
],
|
||||||
|
"size": [
|
||||||
|
560,
|
||||||
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "correct",
|
"id": "correct",
|
||||||
"type": "backend",
|
"type": "backend",
|
||||||
"label": "Correct and test",
|
"label": "Create a new revision",
|
||||||
"sublabel": "Independent regression",
|
"tag": "Owning team",
|
||||||
|
"sublabel": "Correct skill + dependencies\nIndependent tests / review\nRequalify client + model\nNo automatic reinstatement",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
260
|
1750
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "decision",
|
"id": "approve",
|
||||||
"type": "backend",
|
"type": "security",
|
||||||
"label": "Approve or hold",
|
"label": "Authorize restart",
|
||||||
"sublabel": "Exact revised bundle",
|
"tag": "Accountable human",
|
||||||
|
"sublabel": "Require regression evidence\nVerify rollback / revocation\nApprove exact new revision\nCanary before wider use",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
380
|
2320
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "promote",
|
"id": "retire",
|
||||||
"type": "backend",
|
"type": "cloud",
|
||||||
"label": "Promote safely",
|
"label": "Retire when obsolete",
|
||||||
"sublabel": "Verify state + monitor",
|
"tag": "Data & AI + Platform",
|
||||||
|
"sublabel": "Deprecate with migration\nRetire: no new invocation\nTrack revoked versions\nHistory stays in metrics",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
500
|
2890
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "observe",
|
|
||||||
"type": "backend",
|
|
||||||
"label": "Quarantine / rollback",
|
|
||||||
"sublabel": "Revoke unsafe revision",
|
|
||||||
"pos": [
|
|
||||||
20,
|
|
||||||
620
|
|
||||||
],
|
|
||||||
"size": [
|
|
||||||
180,
|
|
||||||
60
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -100,42 +106,41 @@
|
|||||||
"id": "flow-0",
|
"id": "flow-0",
|
||||||
"from": "monitor",
|
"from": "monitor",
|
||||||
"to": "triage",
|
"to": "triage",
|
||||||
"label": "Detect"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-1",
|
"id": "flow-1",
|
||||||
"from": "triage",
|
"from": "triage",
|
||||||
"to": "correct",
|
"to": "contain",
|
||||||
"label": "scope correction"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-2",
|
"id": "flow-2",
|
||||||
"from": "correct",
|
"from": "contain",
|
||||||
"to": "decision",
|
"to": "correct",
|
||||||
"label": "Prove"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-3",
|
"id": "flow-3",
|
||||||
"from": "decision",
|
"from": "correct",
|
||||||
"to": "promote",
|
"to": "approve",
|
||||||
"label": "authorize"
|
"fromSide": "bottom",
|
||||||
},
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
{
|
|
||||||
"id": "unsafe",
|
|
||||||
"from": "triage",
|
|
||||||
"to": "observe",
|
|
||||||
"label": "Unsafe",
|
|
||||||
"variant": "security",
|
|
||||||
"fromSide": "right",
|
|
||||||
"toSide": "right"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "review-loop",
|
"id": "flow-4",
|
||||||
"from": "observe",
|
"from": "approve",
|
||||||
"to": "correct",
|
"to": "retire",
|
||||||
"label": "Requalify",
|
"fromSide": "bottom",
|
||||||
"variant": "dashed"
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
"schema_version": 1,
|
"schema_version": 1,
|
||||||
"diagram_type": "architecture",
|
"diagram_type": "architecture",
|
||||||
"meta": {
|
"meta": {
|
||||||
"title": "TO-BE: Maintain trust over time",
|
"title": "TO-BE: Maintenance",
|
||||||
"output": "static/diagrams/strategy-maintenance/index.html",
|
"output": "static/diagrams/strategy-maintenance/index.html",
|
||||||
"quality_profile": "showcase",
|
"quality_profile": "showcase",
|
||||||
"legend": {
|
"legend": {
|
||||||
@@ -12,86 +12,92 @@
|
|||||||
"components": [
|
"components": [
|
||||||
{
|
{
|
||||||
"id": "monitor",
|
"id": "monitor",
|
||||||
"type": "backend",
|
"type": "database",
|
||||||
"label": "Monitor skills",
|
"label": "Watch for change",
|
||||||
"sublabel": "Usefulness + safety",
|
"tag": "Data & AI + owners",
|
||||||
|
"sublabel": "Review usefulness + safety\nDue dates and feedback\nModel / client / tool drift\nFailures trigger early review",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
20
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "triage",
|
"id": "triage",
|
||||||
"type": "backend",
|
"type": "backend",
|
||||||
"label": "Triage changes",
|
"label": "Triage the evidence",
|
||||||
"sublabel": "Owner + risk review",
|
"tag": "Owner + Quality",
|
||||||
|
"sublabel": "Reproduce the failure\nKeep artifact / client IDs\nAdd sanitized regressions\nAssess business effects",
|
||||||
"pos": [
|
"pos": [
|
||||||
260,
|
700,
|
||||||
20
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "contain",
|
||||||
|
"type": "security",
|
||||||
|
"label": "If unsafe: contain",
|
||||||
|
"tag": "Security + Platform",
|
||||||
|
"sublabel": "Revoke authority\nQuarantine revision\nRestore known-good bundle\nVerify effective state",
|
||||||
|
"pos": [
|
||||||
|
1360,
|
||||||
|
40
|
||||||
|
],
|
||||||
|
"size": [
|
||||||
|
560,
|
||||||
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "correct",
|
"id": "correct",
|
||||||
"type": "backend",
|
"type": "backend",
|
||||||
"label": "Correct and test",
|
"label": "Create a new revision",
|
||||||
"sublabel": "Independent regression",
|
"tag": "Owning team",
|
||||||
|
"sublabel": "Correct skill + dependencies\nIndependent tests / review\nRequalify client + model\nNo automatic reinstatement",
|
||||||
"pos": [
|
"pos": [
|
||||||
260,
|
1360,
|
||||||
150
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "decision",
|
"id": "approve",
|
||||||
"type": "backend",
|
"type": "security",
|
||||||
"label": "Approve or hold",
|
"label": "Authorize restart",
|
||||||
"sublabel": "Exact revised bundle",
|
"tag": "Accountable human",
|
||||||
|
"sublabel": "Require regression evidence\nVerify rollback / revocation\nApprove exact new revision\nCanary before wider use",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
700,
|
||||||
150
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "promote",
|
"id": "retire",
|
||||||
"type": "backend",
|
"type": "cloud",
|
||||||
"label": "Promote safely",
|
"label": "Retire when obsolete",
|
||||||
"sublabel": "Verify state + monitor",
|
"tag": "Data & AI + Platform",
|
||||||
|
"sublabel": "Deprecate with migration\nRetire: no new invocation\nTrack revoked versions\nHistory stays in metrics",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
280
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "observe",
|
|
||||||
"type": "backend",
|
|
||||||
"label": "Quarantine / rollback",
|
|
||||||
"sublabel": "Revoke unsafe revision",
|
|
||||||
"pos": [
|
|
||||||
260,
|
|
||||||
280
|
|
||||||
],
|
|
||||||
"size": [
|
|
||||||
180,
|
|
||||||
60
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -100,42 +106,41 @@
|
|||||||
"id": "flow-0",
|
"id": "flow-0",
|
||||||
"from": "monitor",
|
"from": "monitor",
|
||||||
"to": "triage",
|
"to": "triage",
|
||||||
"label": "Detect"
|
"fromSide": "right",
|
||||||
|
"toSide": "left",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-1",
|
"id": "flow-1",
|
||||||
"from": "triage",
|
"from": "triage",
|
||||||
"to": "correct",
|
"to": "contain",
|
||||||
"label": "scope correction"
|
"fromSide": "right",
|
||||||
|
"toSide": "left",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-2",
|
"id": "flow-2",
|
||||||
"from": "correct",
|
"from": "contain",
|
||||||
"to": "decision",
|
"to": "correct",
|
||||||
"label": "Prove"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-3",
|
"id": "flow-3",
|
||||||
"from": "decision",
|
"from": "correct",
|
||||||
"to": "promote",
|
"to": "approve",
|
||||||
"label": "authorize"
|
"fromSide": "left",
|
||||||
},
|
"toSide": "right",
|
||||||
|
"route": "straight"
|
||||||
{
|
|
||||||
"id": "unsafe",
|
|
||||||
"from": "triage",
|
|
||||||
"to": "observe",
|
|
||||||
"label": "Unsafe",
|
|
||||||
"variant": "security",
|
|
||||||
"fromSide": "right",
|
|
||||||
"toSide": "right"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "review-loop",
|
"id": "flow-4",
|
||||||
"from": "observe",
|
"from": "approve",
|
||||||
"to": "correct",
|
"to": "retire",
|
||||||
"label": "Requalify",
|
"fromSide": "left",
|
||||||
"variant": "dashed"
|
"toSide": "right",
|
||||||
|
"route": "straight"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
"schema_version": 1,
|
"schema_version": 1,
|
||||||
"diagram_type": "architecture",
|
"diagram_type": "architecture",
|
||||||
"meta": {
|
"meta": {
|
||||||
"title": "TO-BE: Measure skills adoption",
|
"title": "Recommended collection plan: Measurement",
|
||||||
"output": "static/diagrams/strategy-measurement-mobile/index.html",
|
"output": "static/diagrams/strategy-measurement-mobile/index.html",
|
||||||
"quality_profile": "showcase",
|
"quality_profile": "showcase",
|
||||||
"legend": {
|
"legend": {
|
||||||
@@ -11,120 +11,95 @@
|
|||||||
},
|
},
|
||||||
"components": [
|
"components": [
|
||||||
{
|
{
|
||||||
"id": "collect",
|
"id": "baseline",
|
||||||
"type": "backend",
|
"type": "backend",
|
||||||
"label": "Establish baseline",
|
"label": "Establish baseline",
|
||||||
"sublabel": "Current workflow",
|
"tag": "Comparable workflow",
|
||||||
|
"sublabel": "Join task / PR / CI IDs\nAgree acceptance + window\nRecord revision and client\nKeep unknowns visible",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
20
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "validate",
|
"id": "success",
|
||||||
"type": "backend",
|
"type": "frontend",
|
||||||
"label": "Join evidence",
|
"label": "Accepted outcomes",
|
||||||
"sublabel": "Tasks / versions / costs",
|
"tag": "Quality · weekly",
|
||||||
|
"sublabel": "Tracker: starts + acceptance\nAccepted / eligible starts\nwith ended window × 100\nKeep failed, stopped, unknown\nShow outcome coverage",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
140
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "calculate",
|
"id": "quality",
|
||||||
"type": "backend",
|
"type": "security",
|
||||||
"label": "Measure the pilot",
|
"label": "Escaped quality",
|
||||||
"sublabel": "Outcomes / quality",
|
"tag": "Quality · monthly",
|
||||||
|
"sublabel": "PRs + linked defect records\nAffected / followed-up\naccepted changes × 100\nCount each change once\nMissing links ≠ clean",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
260
|
1180
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "balance",
|
"id": "cost",
|
||||||
"type": "backend",
|
"type": "cloud",
|
||||||
"label": "Report together",
|
"label": "Cost per outcome",
|
||||||
"sublabel": "Cost / confidence / gaps",
|
"tag": "Finance · monthly",
|
||||||
|
"sublabel": "Invoices + review minutes\nAll costs / accepted tasks\nSame matured start cohort\nFailed work + licenses too\nMissing buckets = partial",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
380
|
1750
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "weigh",
|
"id": "confidence",
|
||||||
"type": "backend",
|
"type": "frontend",
|
||||||
"label": "Broader adoption",
|
"label": "Verification confidence",
|
||||||
"sublabel": "Availability + use",
|
"tag": "People · each cycle",
|
||||||
|
"sublabel": "Anonymous 1–5 survey\nSum of valid scores / replies\nShow spread; response rate:\nreplies / invitations × 100\nProtect small cohorts",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
500
|
2320
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "decide",
|
"id": "monitor",
|
||||||
"type": "backend",
|
"type": "database",
|
||||||
"label": "Ongoing monitoring",
|
"label": "Ongoing monitoring",
|
||||||
"sublabel": "Review + maintenance",
|
"tag": "Catalog + cohort report",
|
||||||
|
"sublabel": "Catalog + cohort records\nTrack support, use, reviews\nCompare with baseline\nShow counts + coverage\nZero denominator = N/A",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
620
|
2890
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": [
|
"connections": []
|
||||||
{
|
|
||||||
"id": "flow-0",
|
|
||||||
"from": "collect",
|
|
||||||
"to": "validate",
|
|
||||||
"label": "prepare"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "flow-1",
|
|
||||||
"from": "validate",
|
|
||||||
"to": "calculate",
|
|
||||||
"label": "collect"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "flow-2",
|
|
||||||
"from": "calculate",
|
|
||||||
"to": "balance",
|
|
||||||
"label": "calculate"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "flow-3",
|
|
||||||
"from": "balance",
|
|
||||||
"to": "weigh",
|
|
||||||
"label": "extend"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "flow-4",
|
|
||||||
"from": "weigh",
|
|
||||||
"to": "decide",
|
|
||||||
"label": "repeat"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
"schema_version": 1,
|
"schema_version": 1,
|
||||||
"diagram_type": "architecture",
|
"diagram_type": "architecture",
|
||||||
"meta": {
|
"meta": {
|
||||||
"title": "TO-BE: Measure skills adoption",
|
"title": "Recommended collection plan: Measurement",
|
||||||
"output": "static/diagrams/strategy-measurement/index.html",
|
"output": "static/diagrams/strategy-measurement/index.html",
|
||||||
"quality_profile": "showcase",
|
"quality_profile": "showcase",
|
||||||
"legend": {
|
"legend": {
|
||||||
@@ -11,120 +11,95 @@
|
|||||||
},
|
},
|
||||||
"components": [
|
"components": [
|
||||||
{
|
{
|
||||||
"id": "collect",
|
"id": "baseline",
|
||||||
"type": "backend",
|
"type": "backend",
|
||||||
"label": "Establish baseline",
|
"label": "Establish baseline",
|
||||||
"sublabel": "Current workflow",
|
"tag": "Comparable workflow",
|
||||||
|
"sublabel": "Join task / PR / CI IDs\nAgree acceptance + window\nRecord revision and client\nKeep unknowns visible",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
20
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "validate",
|
"id": "success",
|
||||||
"type": "backend",
|
"type": "frontend",
|
||||||
"label": "Join evidence",
|
"label": "Accepted outcomes",
|
||||||
"sublabel": "Tasks / versions / costs",
|
"tag": "Quality · weekly",
|
||||||
|
"sublabel": "Tracker: starts + acceptance\nAccepted / eligible starts\nwith ended window × 100\nKeep failed, stopped, unknown\nShow outcome coverage",
|
||||||
"pos": [
|
"pos": [
|
||||||
260,
|
700,
|
||||||
20
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "calculate",
|
"id": "quality",
|
||||||
"type": "backend",
|
"type": "security",
|
||||||
"label": "Measure the pilot",
|
"label": "Escaped quality",
|
||||||
"sublabel": "Outcomes / quality",
|
"tag": "Quality · monthly",
|
||||||
|
"sublabel": "PRs + linked defect records\nAffected / followed-up\naccepted changes × 100\nCount each change once\nMissing links ≠ clean",
|
||||||
"pos": [
|
"pos": [
|
||||||
260,
|
1360,
|
||||||
150
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "balance",
|
"id": "cost",
|
||||||
"type": "backend",
|
"type": "cloud",
|
||||||
"label": "Report together",
|
"label": "Cost per outcome",
|
||||||
"sublabel": "Cost / confidence / gaps",
|
"tag": "Finance · monthly",
|
||||||
|
"sublabel": "Invoices + review minutes\nAll costs / accepted tasks\nSame matured start cohort\nFailed work + licenses too\nMissing buckets = partial",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
1360,
|
||||||
150
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "weigh",
|
"id": "confidence",
|
||||||
"type": "backend",
|
"type": "frontend",
|
||||||
"label": "Broader adoption",
|
"label": "Verification confidence",
|
||||||
"sublabel": "Availability + use",
|
"tag": "People · each cycle",
|
||||||
|
"sublabel": "Anonymous 1–5 survey\nSum of valid scores / replies\nShow spread; response rate:\nreplies / invitations × 100\nProtect small cohorts",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
700,
|
||||||
280
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "decide",
|
"id": "monitor",
|
||||||
"type": "backend",
|
"type": "database",
|
||||||
"label": "Ongoing monitoring",
|
"label": "Ongoing monitoring",
|
||||||
"sublabel": "Review + maintenance",
|
"tag": "Catalog + cohort report",
|
||||||
|
"sublabel": "Catalog + cohort records\nTrack support, use, reviews\nCompare with baseline\nShow counts + coverage\nZero denominator = N/A",
|
||||||
"pos": [
|
"pos": [
|
||||||
260,
|
40,
|
||||||
280
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": [
|
"connections": []
|
||||||
{
|
|
||||||
"id": "flow-0",
|
|
||||||
"from": "collect",
|
|
||||||
"to": "validate",
|
|
||||||
"label": "prepare"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "flow-1",
|
|
||||||
"from": "validate",
|
|
||||||
"to": "calculate",
|
|
||||||
"label": "collect"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "flow-2",
|
|
||||||
"from": "calculate",
|
|
||||||
"to": "balance",
|
|
||||||
"label": "calculate"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "flow-3",
|
|
||||||
"from": "balance",
|
|
||||||
"to": "weigh",
|
|
||||||
"label": "extend"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "flow-4",
|
|
||||||
"from": "weigh",
|
|
||||||
"to": "decide",
|
|
||||||
"label": "repeat"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
"schema_version": 1,
|
"schema_version": 1,
|
||||||
"diagram_type": "architecture",
|
"diagram_type": "architecture",
|
||||||
"meta": {
|
"meta": {
|
||||||
"title": "TO-BE: Risk-tiered qualification",
|
"title": "TO-BE: Quality",
|
||||||
"output": "static/diagrams/strategy-quality-mobile/index.html",
|
"output": "static/diagrams/strategy-quality-mobile/index.html",
|
||||||
"quality_profile": "showcase",
|
"quality_profile": "showcase",
|
||||||
"legend": {
|
"legend": {
|
||||||
@@ -13,85 +13,91 @@
|
|||||||
{
|
{
|
||||||
"id": "risk",
|
"id": "risk",
|
||||||
"type": "security",
|
"type": "security",
|
||||||
"label": "Classify risk",
|
"label": "Define the envelope",
|
||||||
"sublabel": "R1 / R2 / R3",
|
"tag": "Owner + reviewers",
|
||||||
|
"sublabel": "R1: nonsensitive drafting\nR2: code / customer work\nR3: human-authorized\nAgree acceptance rules",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
20
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "plan",
|
"id": "compare",
|
||||||
"type": "security",
|
"type": "backend",
|
||||||
"label": "Agree evaluation",
|
"label": "Compare three paths",
|
||||||
"sublabel": "Task mix + thresholds",
|
"tag": "Same starting artifacts",
|
||||||
|
"sublabel": "No skill / approved / new\nPositive + negative cases\nRepeat trials per client\nKeep failed attempts",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
140
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "trial",
|
"id": "inspect",
|
||||||
"type": "security",
|
"type": "frontend",
|
||||||
"label": "Repeat trials",
|
"label": "Inspect the outcome",
|
||||||
"sublabel": "Candidate vs approved",
|
"tag": "Independent evidence",
|
||||||
|
"sublabel": "Right skill selected?\nProcedure safe?\nArtifact checks pass?\nUseful workflow result?",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
260
|
1180
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "verify",
|
|
||||||
"type": "security",
|
|
||||||
"label": "Verify artifacts",
|
|
||||||
"sublabel": "Independent checks",
|
|
||||||
"pos": [
|
|
||||||
20,
|
|
||||||
380
|
|
||||||
],
|
|
||||||
"size": [
|
|
||||||
180,
|
|
||||||
60
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "gate",
|
"id": "gate",
|
||||||
"type": "security",
|
"type": "security",
|
||||||
"label": "All gates pass?",
|
"label": "Every gate must pass",
|
||||||
"sublabel": "Safety cannot be traded",
|
"tag": "Quality Engineering",
|
||||||
|
"sublabel": "Safety + authorization\nSchema + provenance\nCritical effect blocks\nMissing coverage blocks",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
500
|
1750
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "promote",
|
"id": "canary",
|
||||||
"type": "security",
|
"type": "cloud",
|
||||||
"label": "Promote or hold",
|
"label": "Test bounded work",
|
||||||
"sublabel": "Owner decision",
|
"tag": "Human + AI Agent",
|
||||||
|
"sublabel": "Qualified client + model\nHuman judges usefulness\nShow counts / uncertainty\nEvidence before promotion",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
620
|
2320
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "improve",
|
||||||
|
"type": "database",
|
||||||
|
"label": "Feed the next revision",
|
||||||
|
"tag": "Owning team",
|
||||||
|
"sublabel": "Failures to regression set\nReview corrections\nMaterial client/model drift\ntriggers requalification",
|
||||||
|
"pos": [
|
||||||
|
40,
|
||||||
|
2890
|
||||||
|
],
|
||||||
|
"size": [
|
||||||
|
560,
|
||||||
|
440
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -99,32 +105,42 @@
|
|||||||
{
|
{
|
||||||
"id": "flow-0",
|
"id": "flow-0",
|
||||||
"from": "risk",
|
"from": "risk",
|
||||||
"to": "plan",
|
"to": "compare",
|
||||||
"label": "Scope"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-1",
|
"id": "flow-1",
|
||||||
"from": "plan",
|
"from": "compare",
|
||||||
"to": "trial",
|
"to": "inspect",
|
||||||
"label": "freeze plan"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-2",
|
"id": "flow-2",
|
||||||
"from": "trial",
|
"from": "inspect",
|
||||||
"to": "verify",
|
"to": "gate",
|
||||||
"label": "Assess"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-3",
|
"id": "flow-3",
|
||||||
"from": "verify",
|
"from": "gate",
|
||||||
"to": "gate",
|
"to": "canary",
|
||||||
"label": "review evidence"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-4",
|
"id": "flow-4",
|
||||||
"from": "gate",
|
"from": "canary",
|
||||||
"to": "promote",
|
"to": "improve",
|
||||||
"label": "decide"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
"schema_version": 1,
|
"schema_version": 1,
|
||||||
"diagram_type": "architecture",
|
"diagram_type": "architecture",
|
||||||
"meta": {
|
"meta": {
|
||||||
"title": "TO-BE: Risk-tiered qualification",
|
"title": "TO-BE: Quality",
|
||||||
"output": "static/diagrams/strategy-quality/index.html",
|
"output": "static/diagrams/strategy-quality/index.html",
|
||||||
"quality_profile": "showcase",
|
"quality_profile": "showcase",
|
||||||
"legend": {
|
"legend": {
|
||||||
@@ -13,85 +13,91 @@
|
|||||||
{
|
{
|
||||||
"id": "risk",
|
"id": "risk",
|
||||||
"type": "security",
|
"type": "security",
|
||||||
"label": "Classify risk",
|
"label": "Define the envelope",
|
||||||
"sublabel": "R1 / R2 / R3",
|
"tag": "Owner + reviewers",
|
||||||
|
"sublabel": "R1: nonsensitive drafting\nR2: code / customer work\nR3: human-authorized\nAgree acceptance rules",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
40,
|
||||||
20
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "plan",
|
"id": "compare",
|
||||||
"type": "security",
|
"type": "backend",
|
||||||
"label": "Agree evaluation",
|
"label": "Compare three paths",
|
||||||
"sublabel": "Task mix + thresholds",
|
"tag": "Same starting artifacts",
|
||||||
|
"sublabel": "No skill / approved / new\nPositive + negative cases\nRepeat trials per client\nKeep failed attempts",
|
||||||
"pos": [
|
"pos": [
|
||||||
260,
|
700,
|
||||||
20
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "trial",
|
"id": "inspect",
|
||||||
"type": "security",
|
"type": "frontend",
|
||||||
"label": "Repeat trials",
|
"label": "Inspect the outcome",
|
||||||
"sublabel": "Candidate vs approved",
|
"tag": "Independent evidence",
|
||||||
|
"sublabel": "Right skill selected?\nProcedure safe?\nArtifact checks pass?\nUseful workflow result?",
|
||||||
"pos": [
|
"pos": [
|
||||||
260,
|
1360,
|
||||||
150
|
40
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "verify",
|
|
||||||
"type": "security",
|
|
||||||
"label": "Verify artifacts",
|
|
||||||
"sublabel": "Independent checks",
|
|
||||||
"pos": [
|
|
||||||
20,
|
|
||||||
150
|
|
||||||
],
|
|
||||||
"size": [
|
|
||||||
180,
|
|
||||||
60
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "gate",
|
"id": "gate",
|
||||||
"type": "security",
|
"type": "security",
|
||||||
"label": "All gates pass?",
|
"label": "Every gate must pass",
|
||||||
"sublabel": "Safety cannot be traded",
|
"tag": "Quality Engineering",
|
||||||
|
"sublabel": "Safety + authorization\nSchema + provenance\nCritical effect blocks\nMissing coverage blocks",
|
||||||
"pos": [
|
"pos": [
|
||||||
20,
|
1360,
|
||||||
280
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "promote",
|
"id": "canary",
|
||||||
"type": "security",
|
"type": "cloud",
|
||||||
"label": "Promote or hold",
|
"label": "Test bounded work",
|
||||||
"sublabel": "Owner decision",
|
"tag": "Human + AI Agent",
|
||||||
|
"sublabel": "Qualified client + model\nHuman judges usefulness\nShow counts / uncertainty\nEvidence before promotion",
|
||||||
"pos": [
|
"pos": [
|
||||||
260,
|
700,
|
||||||
280
|
610
|
||||||
],
|
],
|
||||||
"size": [
|
"size": [
|
||||||
180,
|
560,
|
||||||
60
|
440
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "improve",
|
||||||
|
"type": "database",
|
||||||
|
"label": "Feed the next revision",
|
||||||
|
"tag": "Owning team",
|
||||||
|
"sublabel": "Failures to regression set\nReview corrections\nMaterial client/model drift\ntriggers requalification",
|
||||||
|
"pos": [
|
||||||
|
40,
|
||||||
|
610
|
||||||
|
],
|
||||||
|
"size": [
|
||||||
|
560,
|
||||||
|
440
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -99,32 +105,42 @@
|
|||||||
{
|
{
|
||||||
"id": "flow-0",
|
"id": "flow-0",
|
||||||
"from": "risk",
|
"from": "risk",
|
||||||
"to": "plan",
|
"to": "compare",
|
||||||
"label": "Scope"
|
"fromSide": "right",
|
||||||
|
"toSide": "left",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-1",
|
"id": "flow-1",
|
||||||
"from": "plan",
|
"from": "compare",
|
||||||
"to": "trial",
|
"to": "inspect",
|
||||||
"label": "freeze plan"
|
"fromSide": "right",
|
||||||
|
"toSide": "left",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-2",
|
"id": "flow-2",
|
||||||
"from": "trial",
|
"from": "inspect",
|
||||||
"to": "verify",
|
"to": "gate",
|
||||||
"label": "Assess"
|
"fromSide": "bottom",
|
||||||
|
"toSide": "top",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-3",
|
"id": "flow-3",
|
||||||
"from": "verify",
|
"from": "gate",
|
||||||
"to": "gate",
|
"to": "canary",
|
||||||
"label": "review evidence"
|
"fromSide": "left",
|
||||||
|
"toSide": "right",
|
||||||
|
"route": "straight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "flow-4",
|
"id": "flow-4",
|
||||||
"from": "gate",
|
"from": "canary",
|
||||||
"to": "promote",
|
"to": "improve",
|
||||||
"label": "decide"
|
"fromSide": "left",
|
||||||
|
"toSide": "right",
|
||||||
|
"route": "straight"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
id: measurement
|
id: measurement
|
||||||
title: Skills Measurement
|
title: Skills Measurement
|
||||||
sidebar_label: Skills Measurement
|
sidebar_label: Measurement
|
||||||
description: Which KPIs to collect during skills adoption, where the evidence comes from, how to calculate them and when to report.
|
description: Which KPIs to collect during skills adoption, where the evidence comes from, how to calculate them and when to report.
|
||||||
hide_table_of_contents: true
|
hide_table_of_contents: true
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -68,6 +68,6 @@ Stage 2 builds on proven skills, measurements and working practices—not permis
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
**Next:** [Return to the strategy destination →](./target-operating-model.mdx)
|
**Next:** [Stage - 01 - Skills Adoption →](./stage-01-skills-adoption.mdx)
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -44,6 +44,6 @@ Owner ratification is required before adoption. Review earlier after incidents o
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
**Next:** [Use exit evidence to choose the next rollout stage →](./roadmap.mdx)
|
**Next:** [Stage - 02 - Autonomous Agent →](./stage-02-autonomous-agent.mdx)
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
id: stage-01-skills-adoption
|
||||||
|
title: Stage - 01 - Skills Adoption
|
||||||
|
description: Build proven skills and measurable working practices through human and AI Agent collaboration, starting with Delivery.
|
||||||
|
hide_table_of_contents: true
|
||||||
|
---
|
||||||
|
|
||||||
|
<div className="strategy-content">
|
||||||
|
|
||||||
|
**Human + AI Agent → proven skills and working practices → future Autonomous Agent.**
|
||||||
|
|
||||||
|
This first stage of the [Roadmap](./roadmap.mdx) standardizes skills in real human + AI Agent work. It builds the foundation for [Target](./target-operating-model.mdx), while people direct the work, verify outcomes and improve the skills.
|
||||||
|
|
||||||
|
## Delivery first
|
||||||
|
|
||||||
|
Start with the engineering path: codebase structure and existing principles → system-logic source → tests → builds and packaging → deployments. Understand actual practices, tooling, controls and problems before changing them.
|
||||||
|
|
||||||
|
Adoption then extends to other SDLC phases; their order is not yet decided. Delivery keeps improving as adoption expands.
|
||||||
|
|
||||||
|
## Repeat within each phase
|
||||||
|
|
||||||
|
**Understand the current situation → establish KPIs and a baseline → engineer skills topology → use skills in real work → collect metrics and feedback → understand the new current situation → repeat.**
|
||||||
|
|
||||||
|
Skills topology connects what skills exist, how they relate, when they are used and how they work together. Compare accepted outcomes, quality, cost and review effort with the baseline; use friction and feedback to revise the skills and working practices. These are repeating steps within each phase, not additional roadmap stages.
|
||||||
|
|
||||||
|
## Put the foundation into practice
|
||||||
|
|
||||||
|
- [Governance](./skills-governance.mdx) — define ownership, authority and approval of skills.
|
||||||
|
- [Quality](./skills-quality.mdx) — qualify skills and verify their outcomes before wider use.
|
||||||
|
- [Adoption](./skills-adoption.mdx) — coach bounded workflows with a supported client and a manual path.
|
||||||
|
- [Measurement](./measurement.mdx) — establish KPIs, collect evidence and compare outcomes with the baseline.
|
||||||
|
- [Maintenance](./skills-maintenance.mdx) — review feedback, control versions and recover from unsafe updates.
|
||||||
|
|
||||||
|
Proven skills, measurements and working practices support [Stage - 02 - Autonomous Agent](./stage-02-autonomous-agent.mdx); adoption alone does not grant autonomous execution authority.
|
||||||
|
|
||||||
|
</div>
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
id: stage-02-autonomous-agent
|
||||||
|
title: Stage - 02 - Autonomous Agent
|
||||||
|
description: Introduce the future Autonomous Agent on proven skills and measured practices while humans retain direction and review.
|
||||||
|
hide_table_of_contents: true
|
||||||
|
---
|
||||||
|
|
||||||
|
<div className="strategy-content">
|
||||||
|
|
||||||
|
**Proven skills and measured practices → future Autonomous Agent → human-directed SDLC.**
|
||||||
|
|
||||||
|
This future stage of the [Roadmap](./roadmap.mdx) builds on [Stage - 01 - Skills Adoption](./stage-01-skills-adoption.mdx). The destination is [Target](./target-operating-model.mdx): an Autonomous Agent that executes and governs the SDLC cycle, with humans retaining direction and review.
|
||||||
|
|
||||||
|
## Build on what has been proven
|
||||||
|
|
||||||
|
Carry forward proven skills, measurements and working practices from real human + AI Agent work. The skills foundation provides [governance](./skills-governance.mdx), [quality checks](./skills-quality.mdx), [adoption feedback](./skills-adoption.mdx), [measurement](./measurement.mdx) and [maintenance](./skills-maintenance.mdx); it is not permission to expand authority automatically.
|
||||||
|
|
||||||
|
## Introduce authority deliberately
|
||||||
|
|
||||||
|
Establish reliable observation and evidence assembly, then proposing and routing work, before granting scoped execution authority. The Roadmap describes recommended controls and hold conditions, including exact-artifact approvals, independent review, recovery and human takeover. Sensitive decisions remain human; missing evidence never means permission.
|
||||||
|
|
||||||
|
This is future direction, not deployed autonomy, agreed delivery dates or approved KPI thresholds. The transition depends on reviewed evidence and explicit authority decisions, not adoption volume alone.
|
||||||
|
|
||||||
|
</div>
|
||||||
@@ -162,6 +162,6 @@ Success means accepted outcomes with maintained quality, controlled risk and und
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
**Next:** [Decide who owns and approves each skill →](./skills-governance.mdx)
|
**Next:** [Follow the Roadmap toward Target →](./roadmap.mdx)
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
+1
-1
@@ -15,7 +15,7 @@
|
|||||||
"verify:build": "node scripts/verify.mjs --build",
|
"verify:build": "node scripts/verify.mjs --build",
|
||||||
"diagrams:build": "node scripts/build-diagrams.mjs",
|
"diagrams:build": "node scripts/build-diagrams.mjs",
|
||||||
"test": "node --test scripts/*.test.mjs",
|
"test": "node --test scripts/*.test.mjs",
|
||||||
"test:browser": "node scripts/browser/strategy-story.cjs && node scripts/browser/inline-controls.cjs && node scripts/browser/sdlc-cycle.cjs && node scripts/browser/target-midpoints.cjs && node scripts/browser/skills-measurement.cjs && node scripts/browser/roadmap.cjs && node scripts/browser/roadmap-timeline.cjs",
|
"test:browser": "node scripts/browser/skills-stories.cjs && node scripts/browser/strategy-navigation.cjs && node scripts/browser/strategy-story.cjs && node scripts/browser/inline-controls.cjs && node scripts/browser/sdlc-cycle.cjs && node scripts/browser/target-midpoints.cjs && node scripts/browser/skills-measurement.cjs && node scripts/browser/roadmap.cjs && node scripts/browser/roadmap-timeline.cjs",
|
||||||
"kpi:example": "node scripts/ai-kpi.mjs"
|
"kpi:example": "node scripts/ai-kpi.mjs"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -125,9 +125,9 @@ const fs = require('node:fs');
|
|||||||
await page.screenshot({path:`${output}/${width}.png`, fullPage:true});
|
await page.screenshot({path:`${output}/${width}.png`, fullPage:true});
|
||||||
await frame.locator('#btn-theme').click(); await theme('dark');
|
await frame.locator('#btn-theme').click(); await theme('dark');
|
||||||
// Exercise keyboard navigation without racing the portal's smooth scroll.
|
// Exercise keyboard navigation without racing the portal's smooth scroll.
|
||||||
await page.locator('.strategy-content a[href$="/strategy/skills-governance/"]').filter({visible:true}).focus();
|
await page.locator('.strategy-content a[href$="/strategy/roadmap/"]').filter({visible:true}).focus();
|
||||||
await page.keyboard.press('Enter');
|
await page.keyboard.press('Enter');
|
||||||
await page.waitForURL('**/strategy/skills-governance/');
|
await page.waitForURL('**/strategy/roadmap/');
|
||||||
await page.goBack({waitUntil:'domcontentloaded'});
|
await page.goBack({waitUntil:'domcontentloaded'});
|
||||||
await page.waitForURL('**/strategy/target-operating-model/');
|
await page.waitForURL('**/strategy/target-operating-model/');
|
||||||
await page.getByRole('heading', {name:'Target operating model', exact:true, level:1}).waitFor();
|
await page.getByRole('heading', {name:'Target operating model', exact:true, level:1}).waitFor();
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ const fs = require('node:fs');
|
|||||||
if (width < 700) await page.getByRole('button', {name:'Toggle navigation bar'}).click();
|
if (width < 700) await page.getByRole('button', {name:'Toggle navigation bar'}).click();
|
||||||
const menu = page.locator('.theme-doc-sidebar-menu .menu__link').filter({visible:true});
|
const menu = page.locator('.theme-doc-sidebar-menu .menu__link').filter({visible:true});
|
||||||
await menu.first().waitFor({state:'visible'});
|
await menu.first().waitFor({state:'visible'});
|
||||||
assert.deepEqual(await menu.allTextContents(), ['Target', 'Roadmap', 'Skills governance', 'Skills quality', 'Skills adoption', 'Skills Measurement', 'Skills maintenance']);
|
assert.deepEqual(await menu.allTextContents(), ['Target', 'Roadmap', 'Stage - 01 - Skills Adoption', 'Stage - 02 - Autonomous Agent']);
|
||||||
assert((await menu.nth(0).getAttribute('href')).endsWith('/strategy/target-operating-model/'));
|
assert((await menu.nth(0).getAttribute('href')).endsWith('/strategy/target-operating-model/'));
|
||||||
assert((await menu.nth(1).getAttribute('href')).endsWith('/strategy/roadmap/'));
|
assert((await menu.nth(1).getAttribute('href')).endsWith('/strategy/roadmap/'));
|
||||||
assert.equal(await menu.filter({hasText:/^Target$/}).count(), 1);
|
assert.equal(await menu.filter({hasText:/^Target$/}).count(), 1);
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ const fs = require('node:fs');
|
|||||||
if (width < 700) await page.getByRole('button', {name:'Toggle navigation bar'}).click();
|
if (width < 700) await page.getByRole('button', {name:'Toggle navigation bar'}).click();
|
||||||
const menu = page.locator('.theme-doc-sidebar-menu .menu__link').filter({visible:true});
|
const menu = page.locator('.theme-doc-sidebar-menu .menu__link').filter({visible:true});
|
||||||
await menu.first().waitFor({state:'visible'});
|
await menu.first().waitFor({state:'visible'});
|
||||||
assert.deepEqual(await menu.allTextContents(), ['Target','Roadmap','Skills governance','Skills quality','Skills adoption','Skills Measurement','Skills maintenance']);
|
assert.deepEqual(await menu.allTextContents(), ['Target','Roadmap','Stage - 01 - Skills Adoption','Governance','Quality','Adoption','Measurement','Maintenance','Stage - 02 - Autonomous Agent']);
|
||||||
if (width < 700) await page.getByRole('button', {name:'Close navigation bar'}).click();
|
if (width < 700) await page.getByRole('button', {name:'Close navigation bar'}).click();
|
||||||
const panel = page.locator('.archify-panel--story');
|
const panel = page.locator('.archify-panel--story');
|
||||||
const iframe = panel.locator(width > 700 ? '.story-desktop' : '.story-mobile');
|
const iframe = panel.locator(width > 700 ? '.story-desktop' : '.story-mobile');
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
const {chromium}=require('playwright');
|
||||||
|
const fs=require('node:fs');
|
||||||
|
const assert=require('node:assert/strict');
|
||||||
|
(async()=>{
|
||||||
|
const base=process.argv[2]||'http://127.0.0.1:4173';
|
||||||
|
const out=`.cache/skills-${process.argv[3]||'candidate'}`;fs.mkdirSync(out,{recursive:true});
|
||||||
|
const browser=await chromium.launch({executablePath:process.env.PLAYWRIGHT_CHROMIUM_EXECUTABLE,args:['--no-sandbox']}); const results=[];
|
||||||
|
try {
|
||||||
|
for(const topic of ['governance','quality','adoption','measurement','maintenance']) for(const width of [1440,1024,390,320]) {
|
||||||
|
const page=await browser.newPage({viewport:{width,height:900},colorScheme:'light'});const errors=[];page.on('pageerror',e=>errors.push(e.message));
|
||||||
|
const route=topic==='measurement'?topic:`skills-${topic}`;
|
||||||
|
assert.equal((await page.goto(`${base}/eldorado-v1/documentation/strategy/${route}/`,{waitUntil:'networkidle'})).status(),200);
|
||||||
|
const panel=page.locator('.archify-panel--skills');assert.equal(await panel.count(),1);
|
||||||
|
const iframe=panel.locator(width>700?'.story-desktop':'.story-mobile');await iframe.scrollIntoViewIfNeeded();
|
||||||
|
const frame=await(await iframe.elementHandle()).contentFrame();await frame.locator('svg[role="img"]').waitFor();
|
||||||
|
const geometry=await frame.locator('svg[role="img"]').evaluate(svg=>{
|
||||||
|
const nodes=[...svg.querySelectorAll('g[data-node-id]')];const issues=[];let min=Infinity;
|
||||||
|
for(const n of nodes){const rect=n.querySelector('rect').getBBox();for(const t of n.querySelectorAll('text')){
|
||||||
|
const b=t.getBBox();min=Math.min(min,parseFloat(getComputedStyle(t).fontSize)*t.getScreenCTM().a);
|
||||||
|
if(b.x<rect.x||b.y<rect.y||b.x+b.width>rect.x+rect.width||b.y+b.height>rect.y+rect.height)issues.push(n.id+':'+t.textContent);
|
||||||
|
}}
|
||||||
|
return {nodes:nodes.length,min,issues,width:innerWidth,svgWidth:svg.getBoundingClientRect().width};
|
||||||
|
});
|
||||||
|
assert.equal(geometry.nodes,6);assert.deepEqual(geometry.issues,[]);assert(geometry.min>=10,JSON.stringify(geometry));
|
||||||
|
for(const theme of ['light','dark']){
|
||||||
|
if(await frame.locator('html').getAttribute('data-theme')!==theme)await frame.locator('#btn-theme').click();
|
||||||
|
await page.waitForFunction(t=>document.documentElement.dataset.theme===t,theme);
|
||||||
|
await panel.scrollIntoViewIfNeeded();await page.screenshot({path:`${out}/${topic}-${width}-${theme}-inline.png`});
|
||||||
|
const open=panel.getByRole('button',{name:/^Expand /});await open.click();const close=panel.getByRole('button',{name:'Close full-screen diagram',exact:true});await close.waitFor({state:'visible'});
|
||||||
|
const expanded=await(await panel.locator('dialog iframe').elementHandle()).contentFrame();await expanded.locator('svg[role="img"]').waitFor();
|
||||||
|
assert((await expanded.url()).includes(width<=700?`${topic}-mobile/`:`${topic}/`));
|
||||||
|
await page.screenshot({path:`${out}/${topic}-${width}-${theme}-fullscreen.png`});
|
||||||
|
if(width<=700){await page.setViewportSize({width,height:480});assert(await panel.locator('dialog').evaluate(n=>n.scrollHeight>n.clientHeight));await panel.locator('dialog').evaluate(n=>n.scrollTop=n.scrollHeight);await page.screenshot({path:`${out}/${topic}-${width}-${theme}-short-bottom.png`});await page.setViewportSize({width,height:900});}
|
||||||
|
await close.focus();await page.keyboard.press('Escape');assert(await open.evaluate(n=>n===document.activeElement));
|
||||||
|
}
|
||||||
|
await frame.locator('#btn-preset').click();await frame.locator('[data-preset-value="blueprint"]').click();
|
||||||
|
await frame.locator('#btn-preset').click();await frame.locator('[data-preset-value="classic"]').click();
|
||||||
|
await frame.locator('#btn-export').click();const [download]=await Promise.all([page.waitForEvent('download'),frame.locator('[data-format="svg"]').click()]);assert.equal(await download.failure(),null);
|
||||||
|
await download.saveAs(`${out}/${topic}-${width}.svg`);assert(fs.readFileSync(`${out}/${topic}-${width}.svg`,'utf8').includes('eldorado-skills-typography'));
|
||||||
|
assert(!await page.evaluate(()=>document.documentElement.scrollWidth>innerWidth));assert.deepEqual(errors,[]);
|
||||||
|
results.push({topic,width,geometry,controls:true,export:true,themes:true,fullscreen:true});fs.writeFileSync(`${out}/results.json`,JSON.stringify(results,null,2));await page.close();
|
||||||
|
}
|
||||||
|
console.log(`PASS ${results.length} Skills story contexts: geometry, themes, controls, exports, fullscreen and short-phone scrolling`);
|
||||||
|
}finally{await browser.close();}
|
||||||
|
})().catch(e=>{console.error(e);process.exitCode=1});
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
const {chromium} = require('playwright');
|
||||||
|
const assert = require('node:assert/strict');
|
||||||
|
const fs = require('node:fs');
|
||||||
|
(async () => {
|
||||||
|
const base = process.argv[2] || 'http://127.0.0.1:4173';
|
||||||
|
const output = `.cache/strategy-navigation-${process.argv[3] || 'local'}`;
|
||||||
|
fs.mkdirSync(output, {recursive:true});
|
||||||
|
const prefix = '/eldorado-v1/documentation/strategy/';
|
||||||
|
const first = 'Stage - 01 - Skills Adoption';
|
||||||
|
const second = 'Stage - 02 - Autonomous Agent';
|
||||||
|
const topics = ['Governance','Quality','Adoption','Measurement','Maintenance'];
|
||||||
|
const ids = ['target-operating-model','roadmap','stage-01-skills-adoption','skills-governance','skills-quality','skills-adoption','measurement','skills-maintenance','stage-02-autonomous-agent'];
|
||||||
|
const titles = ['Target','Roadmap',first,'Skills governance','Skills quality','Skills adoption','Skills Measurement','Skills maintenance',second];
|
||||||
|
const browser = await chromium.launch({headless:true, executablePath:process.env.PLAYWRIGHT_CHROMIUM_EXECUTABLE, args:['--no-sandbox']});
|
||||||
|
const results = [];
|
||||||
|
try {
|
||||||
|
for (const width of [1440,1024,390,320]) {
|
||||||
|
const context = await browser.newContext({viewport:{width,height:900}, colorScheme:'light'});
|
||||||
|
try {
|
||||||
|
const page = await context.newPage();
|
||||||
|
const errors = [];
|
||||||
|
page.on('pageerror', error => errors.push(error.message));
|
||||||
|
const openMenu = async () => {
|
||||||
|
if (width < 997) await page.getByRole('button', {name:'Toggle navigation bar'}).click();
|
||||||
|
const menu = page.locator('.theme-doc-sidebar-menu').filter({visible:true});
|
||||||
|
await menu.locator('.menu__link').first().waitFor({state:'visible'});
|
||||||
|
return menu;
|
||||||
|
};
|
||||||
|
const closeMenu = async () => {
|
||||||
|
if (width < 997) await page.getByRole('button', {name:'Close navigation bar'}).click();
|
||||||
|
};
|
||||||
|
assert.equal((await page.goto(`${base}${prefix}roadmap/`, {waitUntil:'networkidle'})).status(), 200);
|
||||||
|
let menu = await openMenu();
|
||||||
|
const visibleLabels = () => menu.locator('.menu__link').filter({visible:true}).allTextContents();
|
||||||
|
assert.deepEqual(await visibleLabels(), ['Target','Roadmap',first,second]);
|
||||||
|
const category = menu.locator('.theme-doc-sidebar-item-category').filter({has:page.getByRole('link', {name:first, exact:true})});
|
||||||
|
const caret = category.locator('button.menu__caret');
|
||||||
|
await caret.click();
|
||||||
|
await category.getByRole('link', {name:'Governance', exact:true}).waitFor({state:'visible'});
|
||||||
|
assert.deepEqual(await visibleLabels(), ['Target','Roadmap',first,...topics,second]);
|
||||||
|
assert.deepEqual(await category.locator('ul .menu__link').allTextContents(), topics);
|
||||||
|
await page.screenshot({path:`${output}/${width}-expanded.png`, animations:'disabled'});
|
||||||
|
await caret.click();
|
||||||
|
await category.getByRole('link', {name:'Governance', exact:true}).waitFor({state:'hidden'});
|
||||||
|
assert.deepEqual(await visibleLabels(), ['Target','Roadmap',first,second]);
|
||||||
|
await menu.getByRole('link', {name:first, exact:true}).click();
|
||||||
|
await page.waitForURL(`${base}${prefix}stage-01-skills-adoption/`);
|
||||||
|
await page.getByRole('heading', {level:1, name:first, exact:true}).waitFor();
|
||||||
|
assert.equal(await page.locator('h1').innerText(), first);
|
||||||
|
assert((await page.locator('article').innerText()).includes('Delivery first'));
|
||||||
|
assert(!await page.evaluate(() => document.documentElement.scrollWidth > innerWidth));
|
||||||
|
await page.screenshot({path:`${output}/${width}-stage-01.png`, fullPage:true, animations:'disabled'});
|
||||||
|
for (const [index, id] of ids.entries()) {
|
||||||
|
assert.equal((await page.goto(`${base}${prefix}${id}/`, {waitUntil:'networkidle'})).status(), 200);
|
||||||
|
assert.equal(new URL(page.url()).pathname, `${prefix}${id}/`);
|
||||||
|
// Target has a longer canonical page heading but keeps its short navigation label.
|
||||||
|
if (index) assert.equal(await page.locator('h1').innerText(), titles[index]);
|
||||||
|
else assert((await page.locator('h1').innerText()).includes('Target'));
|
||||||
|
const prev = page.locator('.pagination-nav__link--prev');
|
||||||
|
const next = page.locator('.pagination-nav__link--next');
|
||||||
|
if (index) assert.equal(await prev.getAttribute('href'), `${prefix}${ids[index-1]}/`);
|
||||||
|
else assert.equal(await prev.count(), 0);
|
||||||
|
if (index < ids.length-1) assert.equal(await next.getAttribute('href'), `${prefix}${ids[index+1]}/`);
|
||||||
|
else assert.equal(await next.count(), 0);
|
||||||
|
if (index >= 3 && index <= 7) {
|
||||||
|
assert.equal(await page.locator('.breadcrumbs a').filter({hasText:first}).getAttribute('href'), `${prefix}stage-01-skills-adoption/`);
|
||||||
|
menu = await openMenu();
|
||||||
|
assert.deepEqual(await visibleLabels(), ['Target','Roadmap',first,...topics,second]);
|
||||||
|
await closeMenu();
|
||||||
|
}
|
||||||
|
assert(!await page.evaluate(() => document.documentElement.scrollWidth > innerWidth), `${width}: overflow on ${id}`);
|
||||||
|
}
|
||||||
|
assert((await page.locator('article').innerText()).includes('not deployed autonomy'));
|
||||||
|
await page.screenshot({path:`${output}/${width}-stage-02.png`, fullPage:true, animations:'disabled'});
|
||||||
|
assert.deepEqual(errors, []);
|
||||||
|
results.push({width, routes:ids.length, linkedCategory:true, expandCollapse:true, nesting:true, breadcrumbs:true, pagination:true, overflow:false, errors});
|
||||||
|
fs.writeFileSync(`${output}/results.json`, JSON.stringify(results,null,2));
|
||||||
|
} finally {await context.close();}
|
||||||
|
}
|
||||||
|
assert.equal(results.length, 4);
|
||||||
|
console.log('PASS: 4 desktop/mobile viewports; all 9 routes; linked category, expand/collapse, unique nested labels, breadcrumbs, next/previous and no overflow/errors');
|
||||||
|
} finally {await browser.close();}
|
||||||
|
})().catch(error => {console.error(error); process.exitCode = 1;});
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
import {readdirSync, readFileSync, writeFileSync, mkdirSync, copyFileSync, renameSync, rmSync} from 'node:fs';
|
import {readdirSync, readFileSync, writeFileSync, mkdirSync, copyFileSync, renameSync, rmSync} from 'node:fs';
|
||||||
import {join} from 'node:path';
|
import {join} from 'node:path';
|
||||||
import {execFileSync} from 'node:child_process';
|
import {execFileSync} from 'node:child_process';
|
||||||
|
import {skillsViewer, isSkillsStory} from './skills-viewer.mjs';
|
||||||
import {roadmapViewer} from './roadmap-viewer.mjs';
|
import {roadmapViewer} from './roadmap-viewer.mjs';
|
||||||
import {targetRouting} from './target-routing.mjs';
|
import {targetRouting} from './target-routing.mjs';
|
||||||
import {createHash} from 'node:crypto';
|
import {createHash} from 'node:crypto';
|
||||||
@@ -27,11 +28,12 @@ for (const file of readdirSync('diagrams').sort()) {
|
|||||||
if (spec.diagram_type !== type || spec.meta.output !== output) throw new Error(`Diagram type/output mismatch: ${file}`);
|
if (spec.diagram_type !== type || spec.meta.output !== output) throw new Error(`Diagram type/output mismatch: ${file}`);
|
||||||
const run = args => execFileSync(process.execPath,[cli,...args],{stdio:'inherit',env:{...process.env,ARCHIFY_UPDATE_CHECK_DISABLED:'1'}});
|
const run = args => execFileSync(process.execPath,[cli,...args],{stdio:'inherit',env:{...process.env,ARCHIFY_UPDATE_CHECK_DISABLED:'1'}});
|
||||||
const roadmap = /^strategy-roadmap(?:-(?:adoption|loop))?(?:-mobile)?$/.test(name);
|
const roadmap = /^strategy-roadmap(?:-(?:adoption|loop))?(?:-mobile)?$/.test(name);
|
||||||
if (roadmap) {
|
const skills = isSkillsStory(name);
|
||||||
|
if (roadmap || skills) {
|
||||||
// Native renderer validates schema and compiles layout. Check readability
|
// Native renderer validates schema and compiles layout. Check readability
|
||||||
// after multiline typography, not upstream's single-line preview.
|
// after multiline typography, not upstream's single-line preview.
|
||||||
execFileSync(process.execPath, ['vendor/archify/renderers/workflow/render-workflow.mjs', input, output], {stdio:'inherit', env:{...process.env, ARCHIFY_UPDATE_CHECK_DISABLED:'1'}});
|
execFileSync(process.execPath, [`vendor/archify/renderers/${type}/render-${type}.mjs`, input, output], {stdio:'inherit', env:{...process.env, ARCHIFY_UPDATE_CHECK_DISABLED:'1'}});
|
||||||
writeFileSync(output, roadmapViewer(readFileSync(output, 'utf8'), spec));
|
writeFileSync(output, (skills ? skillsViewer : roadmapViewer)(readFileSync(output, 'utf8'), spec));
|
||||||
run(['check',output,'--json']);
|
run(['check',output,'--json']);
|
||||||
} else {
|
} else {
|
||||||
run(['validate',type,input,'--quality','showcase','--json']);
|
run(['validate',type,input,'--quality','showcase','--json']);
|
||||||
@@ -61,13 +63,13 @@ for (const file of readdirSync('diagrams').sort()) {
|
|||||||
}
|
}
|
||||||
writeFileSync(output, viewer.replace('</head>', `<style id="eldorado-inline-controls">${inlineStyles}</style><style id="eldorado-cycle-labels">${storyStyles}</style></head>`)
|
writeFileSync(output, viewer.replace('</head>', `<style id="eldorado-inline-controls">${inlineStyles}</style><style id="eldorado-cycle-labels">${storyStyles}</style></head>`)
|
||||||
.replace('</body>', `<script>${themeBridge}</script></body>`));
|
.replace('</body>', `<script>${themeBridge}</script></body>`));
|
||||||
if (roadmap) {
|
if (roadmap || skills) {
|
||||||
// This is a portal receipt, not upstream deliver provenance: formatting
|
// This is a portal receipt, not upstream deliver provenance: formatting
|
||||||
// happens between the native schema/layout compiler and artifact checker.
|
// happens between the native schema/layout compiler and artifact checker.
|
||||||
const hash = path => createHash('sha256').update(readFileSync(path)).digest('hex');
|
const hash = path => createHash('sha256').update(readFileSync(path)).digest('hex');
|
||||||
const checked = JSON.parse(execFileSync(process.execPath, [cli,'check',output,'--json'], {encoding:'utf8', env:{...process.env, ARCHIFY_UPDATE_CHECK_DISABLED:'1'}}));
|
const checked = JSON.parse(execFileSync(process.execPath, [cli,'check',output,'--json'], {encoding:'utf8', env:{...process.env, ARCHIFY_UPDATE_CHECK_DISABLED:'1'}}));
|
||||||
if (!checked.ok || checked.composition?.status !== 'pass') throw new Error('Roadmap final artifact failed');
|
if (!checked.ok || checked.composition?.status !== 'pass') throw new Error('Story final artifact failed');
|
||||||
writeFileSync(`.cache/archify/${name}.portal.json`, JSON.stringify({source:input, sourceSha256:hash(input), adapterSha256:hash('scripts/roadmap-viewer.mjs'), artifactSha256:hash(output), checker:checked}, null, 2));
|
writeFileSync(`.cache/archify/${name}.portal.json`, JSON.stringify({source:input, sourceSha256:hash(input), adapterSha256:hash(skills ? 'scripts/skills-viewer.mjs' : 'scripts/roadmap-viewer.mjs'), artifactSha256:hash(output), checker:checked}, null, 2));
|
||||||
} else {
|
} else {
|
||||||
renameSync(`static/diagrams/${name}/index.delivery.json`, `.cache/archify/${name}.delivery.json`);
|
renameSync(`static/diagrams/${name}/index.delivery.json`, `.cache/archify/${name}.delivery.json`);
|
||||||
if (name === 'strategy-target') {
|
if (name === 'strategy-target') {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const read = p => readFileSync(p, 'utf8');
|
|||||||
const stages = ['Scope', 'Architecture', 'UI/UX', 'Planning', 'Delivery', 'UAT', 'Security', 'Releases'];
|
const stages = ['Scope', 'Architecture', 'UI/UX', 'Planning', 'Delivery', 'UAT', 'Security', 'Releases'];
|
||||||
|
|
||||||
test('Strategy opens at the canonical autonomous lifecycle', () => {
|
test('Strategy opens at the canonical autonomous lifecycle', () => {
|
||||||
assert.match(read('sidebars/strategy.ts'), /strategySidebar: \['target-operating-model', 'roadmap'/);
|
assert.match(read('sidebars/strategy.ts'), /strategySidebar:\s*\[\s*'target-operating-model',\s*'roadmap'/);
|
||||||
assert.match(read('docs/strategy/target-operating-model.mdx'), /^sidebar_label: Target$/m);
|
assert.match(read('docs/strategy/target-operating-model.mdx'), /^sidebar_label: Target$/m);
|
||||||
for (const id of ['target-operating-model']) {
|
for (const id of ['target-operating-model']) {
|
||||||
const page = read(`docs/strategy/${id}.mdx`);
|
const page = read(`docs/strategy/${id}.mdx`);
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ const read = path => readFileSync(path, 'utf8');
|
|||||||
|
|
||||||
test('Skills Measurement is an open adoption collection plan, not a hidden catalogue', () => {
|
test('Skills Measurement is an open adoption collection plan, not a hidden catalogue', () => {
|
||||||
const page = read('docs/strategy/measurement.mdx');
|
const page = read('docs/strategy/measurement.mdx');
|
||||||
assert.match(page, /title: Skills Measurement\nsidebar_label: Skills Measurement/);
|
assert.match(page, /title: Skills Measurement\nsidebar_label: Measurement/);
|
||||||
for (const heading of ['Establish the baseline', 'Measure the pilot', 'Extend collection as adoption grows', 'Keep the collection running']) assert(page.includes(heading), heading);
|
for (const heading of ['Establish the baseline', 'Measure the pilot', 'Extend collection as adoption grows', 'Keep the collection running']) assert(page.includes(heading), heading);
|
||||||
assert(!page.includes('<details>'));
|
assert(!page.includes('<details>'));
|
||||||
assert(page.includes('./reference/measurement-contracts.mdx'));
|
assert(page.includes('./reference/measurement-contracts.mdx'));
|
||||||
|
|||||||
@@ -0,0 +1,48 @@
|
|||||||
|
import {test} from 'node:test';
|
||||||
|
import assert from 'node:assert/strict';
|
||||||
|
import {readFileSync, mkdtempSync, rmSync} from 'node:fs';
|
||||||
|
import {tmpdir} from 'node:os';
|
||||||
|
import {join} from 'node:path';
|
||||||
|
import {execFileSync} from 'node:child_process';
|
||||||
|
import {skillsViewer,isSkillsStory} from './skills-viewer.mjs';
|
||||||
|
const read = p => readFileSync(p,'utf8');
|
||||||
|
const topics = ['governance','quality','adoption','measurement','maintenance'];
|
||||||
|
test('all six Skills Adoption pages account for exactly five diagrams and ten sources',()=>{
|
||||||
|
let count=0;
|
||||||
|
for(const route of ['stage-01-skills-adoption',...topics.map(t=>t==='measurement'?t:`skills-${t}`)]){
|
||||||
|
const diagrams=[...read(`docs/strategy/${route}.mdx`).matchAll(/<ArchifyDiagram name="([^"]+)"/g)];
|
||||||
|
assert.equal(diagrams.length,route.startsWith('stage-')?0:1);
|
||||||
|
for(const [,name] of diagrams){assert(isSkillsStory(name));for(const suffix of ['','-mobile'])JSON.parse(read(`diagrams/${name}${suffix}.architecture.json`));count++;}
|
||||||
|
}
|
||||||
|
assert.equal(count,5);assert(!isSkillsStory('strategy-target'));assert(!isSkillsStory('strategy-roadmap'));
|
||||||
|
});
|
||||||
|
for(const topic of topics) test(`${topic}: rich native source, wide desktop, mobile parity and checked adapter`,()=>{
|
||||||
|
const name=`strategy-${topic}`;const desktop=JSON.parse(read(`diagrams/${name}.architecture.json`));
|
||||||
|
const mobile=JSON.parse(read(`diagrams/${name}-mobile.architecture.json`));
|
||||||
|
const semantic = d=>d.components.map(({pos,size,...n})=>n);
|
||||||
|
assert.deepEqual(semantic(desktop),semantic(mobile));
|
||||||
|
assert.equal(new Set(desktop.components.map(n=>n.pos[0])).size,3);
|
||||||
|
assert.equal(new Set(mobile.components.map(n=>n.pos[0])).size,1);
|
||||||
|
for(const n of desktop.components){assert(n.tag);assert(n.sublabel.split('\n').length>=4);}
|
||||||
|
const dir=mkdtempSync(join(tmpdir(),'skills-viewer-'));
|
||||||
|
try{
|
||||||
|
const path=join(dir,'native.html');
|
||||||
|
execFileSync(process.execPath,['vendor/archify/renderers/architecture/render-architecture.mjs',`diagrams/${name}.architecture.json`,path]);
|
||||||
|
const native=read(path);const html=skillsViewer(native,desktop);
|
||||||
|
assert.equal((html.match(/<g\b[^>]*data-node-id=/g)||[]).length,6);
|
||||||
|
assert.equal((html.match(/<text data-node-label=/g)||[]).length,0); // Adapter uses explicit position before semantic attributes.
|
||||||
|
assert.equal((html.match(/data-node-label=""/g)||[]).length,6);
|
||||||
|
assert(html.includes('eldorado-skills-typography'));
|
||||||
|
assert.throws(()=>skillsViewer(native.replace('data-node-id="'+desktop.components[0].id+'"','data-node-id="missing"'),desktop));
|
||||||
|
const bad=structuredClone(desktop);bad.components[0].sublabel='not a full story';assert.throws(()=>skillsViewer(native,bad));
|
||||||
|
}finally{rmSync(dir,{recursive:true,force:true});}
|
||||||
|
});
|
||||||
|
test('domain contracts retain human authority, honest measures and Delivery-first rollout',()=>{
|
||||||
|
const text=t=>read(`diagrams/strategy-${t}.architecture.json`);
|
||||||
|
assert(text('governance').includes('Author is not sole approver'));
|
||||||
|
assert(text('quality').includes('Critical effect blocks'));
|
||||||
|
assert(text('adoption').includes('Delivery first')&&text('adoption').includes('Later order undecided'));
|
||||||
|
assert(text('adoption').includes('No quotas or rankings'));
|
||||||
|
for(const marker of ['Tracker:','Invoices + review minutes','linked defect records','Anonymous 1–5 survey','Missing buckets = partial','Zero denominator = N/A'])assert(text('measurement').includes(marker),marker);
|
||||||
|
assert(text('maintenance').includes('No automatic reinstatement'));
|
||||||
|
});
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
// Keep native geometry, metadata, routing and exports; enrich only typography.
|
||||||
|
export const isSkillsStory = name => /^strategy-(governance|quality|adoption|measurement|maintenance)(-mobile)?$/.test(name);
|
||||||
|
const escape = text => text.replaceAll('&', '&').replaceAll('<', '<').replaceAll('>', '>').replaceAll('"', '"');
|
||||||
|
export function skillsViewer(html, spec) {
|
||||||
|
if (spec.diagram_type !== 'architecture' || spec.components.length !== 6) throw new Error('Skills story contract drift');
|
||||||
|
for (const node of spec.components) {
|
||||||
|
const pattern = new RegExp(`<g\\b[^>]*data-node-id="${node.id}"[^>]*>[\\s\\S]*?<text data-node-label=[\\s\\S]*?</g>`);
|
||||||
|
const match = html.match(pattern);
|
||||||
|
if (!match) throw new Error(`Missing Skills node: ${node.id}`);
|
||||||
|
const original = match[0];
|
||||||
|
const rectangles = [...original.matchAll(/<rect\b[^>]*class="c-[^"]+"[^>]*\/>/g)];
|
||||||
|
if (rectangles.length !== 2) throw new Error('Skills shape contract drift');
|
||||||
|
const [x,y] = node.pos;
|
||||||
|
const lines = node.sublabel.split('\n');
|
||||||
|
if ((lines.length < 4 || lines.length > 5) || lines.some(line => line.length > 29) || node.label.length > 25) throw new Error(`Skills copy exceeds capacity: ${node.id}`);
|
||||||
|
const text = (value, top, size, attrs) => `<text x="${x+28}" y="${y+top}" font-size="${size}" ${attrs}>${escape(value)}</text>`;
|
||||||
|
const content = text(node.tag, 52, 36, 'class="t-muted" data-detail="context"')
|
||||||
|
+ text(node.label, 118, 42, 'class="t-primary" data-node-label="" font-weight="700"')
|
||||||
|
+ lines.map((line,i) => text(line, 190+i*46, 36, 'class="t-primary" data-detail="context"')).join('');
|
||||||
|
const prefix = original.slice(0,rectangles[1].index+rectangles[1][0].length).replaceAll('rx="6"','rx="0"');
|
||||||
|
html = html.replace(original,prefix+content+'</g>');
|
||||||
|
}
|
||||||
|
const roots = [...html.matchAll(/<svg\b[^>]*role="img"[^>]*>/g)];
|
||||||
|
if (roots.length !== 1) throw new Error('Skills SVG contract drift');
|
||||||
|
const width = Math.max(...spec.components.map(n=>n.pos[0]+n.size[0]))+40;
|
||||||
|
const height = Math.max(...spec.components.map(n=>n.pos[1]+n.size[1]))+40;
|
||||||
|
const root = roots[0][0].replace(/viewBox="[^"]*"/,`viewBox="0 0 ${width} ${height}"`);
|
||||||
|
// Embedded in SVG so downloaded files retain typography without the viewer.
|
||||||
|
html = html.replace(roots[0][0],root+`<style id="eldorado-skills-typography">
|
||||||
|
[data-node-id] text {font-family:Arial,sans-serif;}
|
||||||
|
.c-grid {opacity:0;}
|
||||||
|
[data-node-id] > rect:not(.c-mask) {stroke-width:3;}
|
||||||
|
</style>`);
|
||||||
|
return html;
|
||||||
|
}
|
||||||
@@ -1,17 +1,46 @@
|
|||||||
import {test} from 'node:test';
|
import {test} from 'node:test';
|
||||||
import assert from 'node:assert/strict';
|
import assert from 'node:assert/strict';
|
||||||
import {readFileSync, existsSync} from 'node:fs';
|
import {readFileSync, existsSync} from 'node:fs';
|
||||||
|
import {runInNewContext} from 'node:vm';
|
||||||
|
import ts from 'typescript';
|
||||||
const read = p => readFileSync(p, 'utf8');
|
const read = p => readFileSync(p, 'utf8');
|
||||||
|
|
||||||
test('Strategy has one canonical Target, then Roadmap, without a landing menu duplicate', () => {
|
test('Strategy has Target, Roadmap, a linked Skills Adoption category and Autonomous Agent', () => {
|
||||||
const sidebar = read('sidebars/strategy.ts').split('strategySidebar: [')[1].split(']')[0];
|
const compiled = ts.transpileModule(read('sidebars/strategy.ts'), {compilerOptions:{module:ts.ModuleKind.CommonJS}}).outputText;
|
||||||
const ids = [...sidebar.matchAll(/'([^']+)'/g)].map(match => match[1]);
|
const sandbox = {exports:{}};
|
||||||
assert.deepEqual(ids, ['target-operating-model', 'roadmap', 'skills-governance', 'skills-quality', 'skills-adoption', 'measurement', 'skills-maintenance']);
|
runInNewContext(compiled, sandbox);
|
||||||
assert.equal(ids.filter(id => id === 'target-operating-model').length, 1);
|
const sidebar = JSON.parse(JSON.stringify(sandbox.exports.default.strategySidebar));
|
||||||
|
assert.deepEqual(sidebar, ['target-operating-model', 'roadmap', {
|
||||||
|
type:'category', label:'Stage - 01 - Skills Adoption',
|
||||||
|
link:{type:'doc', id:'stage-01-skills-adoption'}, collapsed:true,
|
||||||
|
items:[
|
||||||
|
{type:'doc', id:'skills-governance', label:'Governance'},
|
||||||
|
{type:'doc', id:'skills-quality', label:'Quality'},
|
||||||
|
{type:'doc', id:'skills-adoption', label:'Adoption'},
|
||||||
|
{type:'doc', id:'measurement', label:'Measurement'},
|
||||||
|
{type:'doc', id:'skills-maintenance', label:'Maintenance'},
|
||||||
|
],
|
||||||
|
}, 'stage-02-autonomous-agent']);
|
||||||
assert.match(read('docs/strategy/target-operating-model.mdx'), /^sidebar_label: Target$/m);
|
assert.match(read('docs/strategy/target-operating-model.mdx'), /^sidebar_label: Target$/m);
|
||||||
assert.match(read('docusaurus.config.ts'), /type: 'docSidebar', docsPluginId: 'strategy', sidebarId: 'strategySidebar', label: 'Strategy'/);
|
assert.match(read('docusaurus.config.ts'), /type: 'docSidebar', docsPluginId: 'strategy', sidebarId: 'strategySidebar', label: 'Strategy'/);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test('stage overviews explain the foundation and future without replacing topic content', () => {
|
||||||
|
const first = read('docs/strategy/stage-01-skills-adoption.mdx');
|
||||||
|
const second = read('docs/strategy/stage-02-autonomous-agent.mdx');
|
||||||
|
for (const [id, title, page] of [
|
||||||
|
['stage-01-skills-adoption', 'Stage - 01 - Skills Adoption', first],
|
||||||
|
['stage-02-autonomous-agent', 'Stage - 02 - Autonomous Agent', second],
|
||||||
|
]) {
|
||||||
|
assert(page.includes(`id: ${id}\ntitle: ${title}`));
|
||||||
|
for (const link of ['./roadmap.mdx', './target-operating-model.mdx']) assert(page.includes(link));
|
||||||
|
}
|
||||||
|
for (const id of ['skills-governance','skills-quality','skills-adoption','measurement','skills-maintenance']) assert(first.includes(`./${id}.mdx`));
|
||||||
|
for (const marker of ['human + AI Agent','Delivery first','order is not yet decided','KPIs','baseline','topology','feedback','new current situation']) assert(first.includes(marker), marker);
|
||||||
|
for (const marker of ['future','proven skills','measurements','working practices','direction and review','not deployed autonomy','approved KPI thresholds']) assert(second.includes(marker), marker);
|
||||||
|
assert.match(read('docs/strategy/measurement.mdx'), /^title: Skills Measurement\nsidebar_label: Measurement$/m);
|
||||||
|
});
|
||||||
|
|
||||||
test('old Strategy entry redirects to Target instead of maintaining a second document', () => {
|
test('old Strategy entry redirects to Target instead of maintaining a second document', () => {
|
||||||
assert(!existsSync('docs/strategy/index.mdx'));
|
assert(!existsSync('docs/strategy/index.mdx'));
|
||||||
assert.match(read('docusaurus.config.ts'), /'@docusaurus\/plugin-client-redirects'/);
|
assert.match(read('docusaurus.config.ts'), /'@docusaurus\/plugin-client-redirects'/);
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ test('mobile story diagrams preserve the same nodes and directed relationships',
|
|||||||
assert(desktop.components.length >= 5 && desktop.components.length <= (name === 'strategy-target' ? 18 : 7), name);
|
assert(desktop.components.length >= 5 && desktop.components.length <= (name === 'strategy-target' ? 18 : 7), name);
|
||||||
const semantic = d => ({nodes:d.components.map(({pos,size,...n})=>n),edges:d.connections.map(({fromSide,toSide,route,via,labelAt,...e})=>e)});
|
const semantic = d => ({nodes:d.components.map(({pos,size,...n})=>n),edges:d.connections.map(({fromSide,toSide,route,via,labelAt,...e})=>e)});
|
||||||
assert.deepEqual(semantic(desktop), semantic(mobile), name);
|
assert.deepEqual(semantic(desktop), semantic(mobile), name);
|
||||||
assert(desktop.connections.every(e => (e.label || e.id.startsWith('govern-')) && e.from !== e.to), name);
|
assert(desktop.connections.every(e => (e.label || e.id.startsWith('govern-') || /^strategy-(governance|quality|adoption|maintenance)$/.test(name)) && e.from !== e.to), name);
|
||||||
assert.equal(desktop.meta.legend.mode, 'hidden');
|
assert.equal(desktop.meta.legend.mode, 'hidden');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -3,9 +3,10 @@ import assert from 'node:assert/strict';
|
|||||||
import {readFileSync, readdirSync} from 'node:fs';
|
import {readFileSync, readdirSync} from 'node:fs';
|
||||||
const read = p => readFileSync(p, 'utf8');
|
const read = p => readFileSync(p, 'utf8');
|
||||||
const model = JSON.parse(read('research/ai-adoption/strategy-model.json'));
|
const model = JSON.parse(read('research/ai-adoption/strategy-model.json'));
|
||||||
test('seven canonical strategy pages preserve target boundary and separate evidence', () => {
|
test('seven existing strategy pages and two stage overviews preserve canonical routes', () => {
|
||||||
assert.equal(model.pages.length, 7);
|
assert.equal(model.pages.length, 7);
|
||||||
assert.equal(readdirSync('docs/strategy').filter(p => p.endsWith('.mdx')).length, 7);
|
assert.deepEqual(readdirSync('docs/strategy').filter(p => p.endsWith('.mdx')).sort(),
|
||||||
|
[...model.pages.map(({id}) => `${id}.mdx`), 'stage-01-skills-adoption.mdx', 'stage-02-autonomous-agent.mdx'].sort());
|
||||||
for (const {id} of model.pages) {
|
for (const {id} of model.pages) {
|
||||||
const page = read(`docs/strategy/${id}.mdx`);
|
const page = read(`docs/strategy/${id}.mdx`);
|
||||||
assert(page.includes(`id: ${id}`));
|
assert(page.includes(`id: ${id}`));
|
||||||
|
|||||||
+7
-2
@@ -21,10 +21,15 @@ if (process.argv.includes('--build')) {
|
|||||||
const redirect = read('build/strategy/index.html');
|
const redirect = read('build/strategy/index.html');
|
||||||
assert(redirect.includes('/eldorado-v1/documentation/strategy/target-operating-model/'));
|
assert(redirect.includes('/eldorado-v1/documentation/strategy/target-operating-model/'));
|
||||||
assert(redirect.includes('window.location.href') && redirect.includes('http-equiv="refresh"') && !redirect.includes('archify-panel'), 'Landing must redirect, not duplicate Target');
|
assert(redirect.includes('window.location.href') && redirect.includes('http-equiv="refresh"') && !redirect.includes('archify-panel'), 'Landing must redirect, not duplicate Target');
|
||||||
for (const {id, title} of model.pages) {
|
const strategyPages = [...model.pages,
|
||||||
|
{id:'stage-01-skills-adoption', title:'Stage - 01 - Skills Adoption'},
|
||||||
|
{id:'stage-02-autonomous-agent', title:'Stage - 02 - Autonomous Agent'},
|
||||||
|
];
|
||||||
|
for (const {id, title} of strategyPages) {
|
||||||
const route = `strategy/${id === 'index' ? '' : `${id}/`}index.html`;
|
const route = `strategy/${id === 'index' ? '' : `${id}/`}index.html`;
|
||||||
const page = read(join('build',route));
|
const page = read(join('build',route));
|
||||||
assert(page.includes(title) && page.includes('Target operating model'), route);
|
assert(page.includes(title), route);
|
||||||
|
if (!id.startsWith('stage-')) assert(page.includes('Target operating model'), route);
|
||||||
assert(indexes.includes(title), `Missing indexed Strategy page: ${id}`);
|
assert(indexes.includes(title), `Missing indexed Strategy page: ${id}`);
|
||||||
for (const match of page.matchAll(/href="(\/eldorado-v1\/documentation\/[^"?#]*)/g)) {
|
for (const match of page.matchAll(/href="(\/eldorado-v1\/documentation\/[^"?#]*)/g)) {
|
||||||
const local = decodeURIComponent(match[1].replace('/eldorado-v1/documentation/',''));
|
const local = decodeURIComponent(match[1].replace('/eldorado-v1/documentation/',''));
|
||||||
|
|||||||
+20
-1
@@ -1,2 +1,21 @@
|
|||||||
import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
|
import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
|
||||||
export default {strategySidebar: ['target-operating-model', 'roadmap', 'skills-governance', 'skills-quality', 'skills-adoption', 'measurement', 'skills-maintenance']} satisfies SidebarsConfig;
|
export default {
|
||||||
|
strategySidebar: [
|
||||||
|
'target-operating-model',
|
||||||
|
'roadmap',
|
||||||
|
{
|
||||||
|
type: 'category',
|
||||||
|
label: 'Stage - 01 - Skills Adoption',
|
||||||
|
link: {type: 'doc', id: 'stage-01-skills-adoption'},
|
||||||
|
collapsed: true,
|
||||||
|
items: [
|
||||||
|
{type: 'doc', id: 'skills-governance', label: 'Governance'},
|
||||||
|
{type: 'doc', id: 'skills-quality', label: 'Quality'},
|
||||||
|
{type: 'doc', id: 'skills-adoption', label: 'Adoption'},
|
||||||
|
{type: 'doc', id: 'measurement', label: 'Measurement'},
|
||||||
|
{type: 'doc', id: 'skills-maintenance', label: 'Maintenance'},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
'stage-02-autonomous-agent',
|
||||||
|
],
|
||||||
|
} satisfies SidebarsConfig;
|
||||||
@@ -12,14 +12,15 @@ export default function ArchifyDiagram({name, title, compact = false, story = fa
|
|||||||
const headingId = useId();
|
const headingId = useId();
|
||||||
const [expanded, setExpanded] = useState(false);
|
const [expanded, setExpanded] = useState(false);
|
||||||
const [narrowRoadmap, setNarrowRoadmap] = useState(false);
|
const [narrowRoadmap, setNarrowRoadmap] = useState(false);
|
||||||
|
const skillsStory = /^strategy-(governance|quality|adoption|measurement|maintenance)$/.test(name);
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!name.startsWith('strategy-roadmap')) return;
|
if (!name.startsWith('strategy-roadmap') && !skillsStory) return;
|
||||||
const media = window.matchMedia('(max-width: 999px)');
|
const media = window.matchMedia(skillsStory ? '(max-width: 700px)' : '(max-width: 999px)');
|
||||||
const update = () => setNarrowRoadmap(media.matches);
|
const update = () => setNarrowRoadmap(media.matches);
|
||||||
update();
|
update();
|
||||||
media.addEventListener('change', update);
|
media.addEventListener('change', update);
|
||||||
return () => media.removeEventListener('change', update);
|
return () => media.removeEventListener('change', update);
|
||||||
}, [name]);
|
}, [name, skillsStory]);
|
||||||
const {colorMode, setColorMode} = useColorMode();
|
const {colorMode, setColorMode} = useColorMode();
|
||||||
const initialTheme = useRef(colorMode);
|
const initialTheme = useRef(colorMode);
|
||||||
const desktop = useRef<HTMLIFrameElement>(null);
|
const desktop = useRef<HTMLIFrameElement>(null);
|
||||||
@@ -66,7 +67,7 @@ export default function ArchifyDiagram({name, title, compact = false, story = fa
|
|||||||
return () => {document.body.style.overflow = previousOverflow;};
|
return () => {document.body.style.overflow = previousOverflow;};
|
||||||
}, [expanded]);
|
}, [expanded]);
|
||||||
const close = () => {dialog.current?.close();};
|
const close = () => {dialog.current?.close();};
|
||||||
return <section className={`archify-panel${compact ? ' archify-panel--compact' : ''}${story ? ' archify-panel--story' : ''}`} data-diagram={name} aria-label={title}>
|
return <section className={`archify-panel${compact ? ' archify-panel--compact' : ''}${story ? ' archify-panel--story' : ''}${skillsStory ? ' archify-panel--skills' : ''}`} data-diagram={name} aria-label={title}>
|
||||||
<div className="archify-toolbar"><button ref={opener} type="button" className="archify-expand" aria-label={`Expand ${title}`} title="Expand diagram" onClick={() => setExpanded(true)}><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" aria-hidden="true"><path d="M8 3H3v5M16 3h5v5M21 16v5h-5M8 21H3v-5" /></svg></button></div>
|
<div className="archify-toolbar"><button ref={opener} type="button" className="archify-expand" aria-label={`Expand ${title}`} title="Expand diagram" onClick={() => setExpanded(true)}><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" aria-hidden="true"><path d="M8 3H3v5M16 3h5v5M21 16v5h-5M8 21H3v-5" /></svg></button></div>
|
||||||
{story ? <>
|
{story ? <>
|
||||||
<iframe className="story-desktop" ref={desktop} onLoad={() => syncTheme(desktop.current)} src={`${source}?embed=1&theme=${initialTheme.current}`} title={title} sandbox="allow-scripts allow-downloads" loading="lazy" referrerPolicy="no-referrer" />
|
<iframe className="story-desktop" ref={desktop} onLoad={() => syncTheme(desktop.current)} src={`${source}?embed=1&theme=${initialTheme.current}`} title={title} sandbox="allow-scripts allow-downloads" loading="lazy" referrerPolicy="no-referrer" />
|
||||||
@@ -74,7 +75,7 @@ export default function ArchifyDiagram({name, title, compact = false, story = fa
|
|||||||
</> : <iframe ref={desktop} onLoad={() => syncTheme(desktop.current)} src={`${source}?theme=${initialTheme.current}`} title={title} sandbox="allow-scripts allow-downloads" loading="lazy" referrerPolicy="no-referrer" />}
|
</> : <iframe ref={desktop} onLoad={() => syncTheme(desktop.current)} src={`${source}?theme=${initialTheme.current}`} title={title} sandbox="allow-scripts allow-downloads" loading="lazy" referrerPolicy="no-referrer" />}
|
||||||
<dialog ref={dialog} className="archify-modal" aria-labelledby={headingId} onClose={() => {setExpanded(false); opener.current?.focus();}}>
|
<dialog ref={dialog} className="archify-modal" aria-labelledby={headingId} onClose={() => {setExpanded(false); opener.current?.focus();}}>
|
||||||
<div className="archify-modal-toolbar"><strong id={headingId}>{title}</strong><button type="button" onClick={close} autoFocus aria-label="Close full-screen diagram"><span aria-hidden="true">×</span></button></div>
|
<div className="archify-modal-toolbar"><strong id={headingId}>{title}</strong><button type="button" onClick={close} autoFocus aria-label="Close full-screen diagram"><span aria-hidden="true">×</span></button></div>
|
||||||
{expanded && <iframe ref={fullscreen} onLoad={() => syncTheme(fullscreen.current)} src={`${narrowRoadmap ? mobileSource : source}?${name.startsWith('strategy-roadmap') ? 'embed=1&' : ''}theme=${initialTheme.current}`} title={`${title} — expanded`} sandbox="allow-scripts allow-downloads" referrerPolicy="no-referrer" />}
|
{expanded && <iframe ref={fullscreen} onLoad={() => syncTheme(fullscreen.current)} src={`${narrowRoadmap ? mobileSource : source}?${name.startsWith('strategy-roadmap') || skillsStory ? 'embed=1&' : ''}theme=${initialTheme.current}`} title={`${title} — expanded`} sandbox="allow-scripts allow-downloads" referrerPolicy="no-referrer" />}
|
||||||
</dialog>
|
</dialog>
|
||||||
</section>;
|
</section>;
|
||||||
}
|
}
|
||||||
@@ -152,3 +152,17 @@ a:focus-visible, button:focus-visible {outline: 3px solid #b88719; outline-offse
|
|||||||
[data-diagram^="strategy-roadmap"] .archify-modal iframe {flex: none; height: var(--roadmap-height); min-height: var(--roadmap-height);}
|
[data-diagram^="strategy-roadmap"] .archify-modal iframe {flex: none; height: var(--roadmap-height); min-height: var(--roadmap-height);}
|
||||||
}
|
}
|
||||||
@media (prefers-reduced-motion: reduce) {.start-card {transition: none;} .start-card:hover {transform: none;}}
|
@media (prefers-reduced-motion: reduce) {.start-card {transition: none;} .start-card:hover {transform: none;}}
|
||||||
|
|
||||||
|
/* Skills Adoption alone uses the full reading column, not a narrow preview. */
|
||||||
|
.theme-doc-markdown:has(.archify-panel--skills) {max-width: none;}
|
||||||
|
.archify-panel--story.archify-panel--skills {max-width: none;}
|
||||||
|
.archify-panel--story.archify-panel--skills > .story-desktop {aspect-ratio: auto; min-height: 460px; height: calc((100vw - 364px) * .56 + 72px); max-height: 720px;}
|
||||||
|
@media (max-width: 996px) and (min-width: 701px) {
|
||||||
|
.archify-panel--story.archify-panel--skills > .story-desktop {height: calc(100vw * .56 + 72px);}
|
||||||
|
}
|
||||||
|
@media (max-width: 700px) {
|
||||||
|
.archify-panel--story.archify-panel--skills > .story-mobile {aspect-ratio: auto; height: 1680px; max-width: 400px; margin-inline: auto;}
|
||||||
|
.archify-panel--skills .archify-modal {overflow-y: auto; overscroll-behavior: contain;}
|
||||||
|
.archify-panel--skills .archify-modal-toolbar {position: sticky; top: 0; z-index: 1; flex-shrink: 0; background: var(--surface);}
|
||||||
|
.archify-panel--skills .archify-modal iframe {flex: none; height: 1900px; min-height: 1900px;}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user