Command Dependency Matrix
Complete dependency map for all 28 G-Cloud Kit workflow commands (30 total including init and pages), showing what each command reads, writes, and requires. The kit targets G-Cloud 15 (RM1557.15).
Project Files Read by Each Command
R = Required (command will error, or report a blocking finding, without it) | o = Optional (reads if present, proceeds without)
lot-questions is the file for the service's lot group: lot-questions-1.md (Lots 1a/1b), lot-questions-2.md (2a/2b) or lot-questions-3.md (Lot 3).
| Command | supplier-profile | social-value | lot-questions | declaration | service-design | sdd | pricing | security | tender-intel | template |
|---|---|---|---|---|---|---|---|---|---|---|
| supplier-profile | supplier-profile-template | |||||||||
| social-value | R | social-value-template | ||||||||
| lot-questions | R | o | o | o | o | o | lot-questions-template | |||
| declaration | R | o | o | o | declaration-template | |||||
| service-design | R | service-design-template | ||||||||
| sdd-lot1a | R | o | R | sdd-lot1-template | ||||||
| sdd-lot1b | R | o | R | sdd-lot1-template | ||||||
| sdd-lot2a | R | o | R | sdd-lot2-template | ||||||
| sdd-lot2b | R | o | R | sdd-lot2-template | ||||||
| sdd-lot3 | R | o | R | sdd-lot3-template | ||||||
| pricing | R | R | o | o | o | pricing-template | ||||
| security | R | o | R | o | security-template | |||||
| review | R | R | R | R | R | R | R | R | review-template | |
| compare | R | o | o | o | ||||||
| tenders | o | R | o | tenders-template | ||||||
| submission-pack | R | R | R | R | R | R | R | R | ||
| story | R | o | o | o | o | o | o | o | story-template | |
| sales | sales-analysis-template | |||||||||
| marketplace-data | ||||||||||
| customer | ||||||||||
| targets | o | |||||||||
| marketing | R | R | o | marketing-template | ||||||
| customize | ||||||||||
| plan | o | o | o | o | o | o | o | o | plan-template | |
| health | o | o | o | o | o | o | o | o | ||
| diagram | o | R | o | |||||||
| dpia | R | R | R | o | dpia-template | |||||
| presentation | R | o | R | o | o | presentation-template |
Notes on the table:
- Every command that writes a document also reads its own previous version on a re-run (an SDD command its
sdd.md,pricingitspricing.md, and so on). Those self-reads are not marked. - pricing also reads the
pricing.mdof the supplier's other services in the same lot, so lot-wide figures (the Lot 1a/1b framework discount, the Lot 2a/2b discount bands) stay the same across services. For Lot 3 it owns the supplier's one rate card,services/supplier/rate-card.md, and reads the role levels every Lot 3 service's design and SDD need. sdd-lot3 reads the card (optional) to mark which of its role levels are on it, but never copies rates, so the two don't depend on each other in a circle; review and submission-pack require the card for a Lot 3 service. - lot-questions reads every service's design, SDD, security and pricing documents to find the lots bid for and the evidence for its answers.
- service-design checks whether
social-value.md, the lot questions and the declaration exist, only to list the next steps; it doesn't read them. tender-intel=services/{NNN}-{name}/tender-intel.md, produced by/gcloud-kit:tenders. Every consumer reads it as a soft dependency — it enriches the output when present and is silently skipped when absent.
Reference Data Read by Each Command
| Command | framework-questions | lot-3-rate-card | benchmarks | compliance-fw | spend-data | urns | merges |
|---|---|---|---|---|---|---|---|
| social-value | R | ||||||
| lot-questions | R | ||||||
| declaration | R | ||||||
| service-design | R | o | |||||
| sdd-lot1a, sdd-lot1b, sdd-lot2a, sdd-lot2b | R | ||||||
| sdd-lot3 | R | R | R | ||||
| pricing | R | R | |||||
| security | R | R | |||||
| review | R | R | |||||
| compare | o | ||||||
| marketplace-data | o | ||||||
| sales | R | ||||||
| customer | R | R | |||||
| targets | R | R | o | ||||
| dpia | R |
framework-questions=skills/gcloud-framework/references/framework-questions.md(the G-Cloud 15 overview) and the per-lot files inreferences/g-cloud-15/. Each command reads only the files it needs: the SDD commands their lot's service questions andcategories.md; lot-questions the lot questions for the lot group; social-valuesocial-value-model.mdanddeclaration.md; declarationdeclaration.md; service-designcategories.md; security the lot's service questions and lot questions; review the overview plus the service's lot files.lot-3-rate-card=skills/ddat-rate-card/references/lot-3-rate-card.md: the DDaT job families, roles and role levels for Lot 3 rate cards (Lot 3 services only for service-design and review). It replaces the SFIA reference the Lot 3 SDD used to read;sfia-skills.mdis kept only as a secondary role-to-skills mapping.benchmarks=data/gcloud15-rate-benchmarks.csv.gz,data/gcloud15-discount-benchmarks.csv.gz,data/gcloud15-category-benchmarks.csv.gzanddata/benchmarks-metadata.json, built from the G-Cloud 15 listings. sdd-lot3 reads only the rate benchmarks. compare reads the category benchmarks to rank the service's categories; marketplace-data reads them and the metadata's market summary when there's no local scrape run.compliance-fw=skills/cloud-security/references/compliance-frameworks.md.spend-data,urnsandmerges=data/gcloud-spend-data.csv.gz,data/ccs-customer-urns.csv.gzanddata/ccs-customer-merges.csv.gz: historical spend published by CCS (now GCA), and GCA's current Customer URN List and its merges.
Files Written by Each Command
| Command | Output |
|---|---|
| supplier-profile | services/supplier/supplier-profile.md |
| social-value | services/supplier/social-value.md |
| lot-questions | services/supplier/lot-questions-{1,2,3}.md, one per lot group bid for |
| declaration | services/supplier/declaration.md |
| service-design | services/{NNN}-{name}/service-design.md (records the lot: 1a, 1b, 2a, 2b or 3) |
| sdd-lot1a | services/{name}/sdd.md |
| sdd-lot1b | services/{name}/sdd.md |
| sdd-lot2a | services/{name}/sdd.md |
| sdd-lot2b | services/{name}/sdd.md |
| sdd-lot3 | services/{name}/sdd.md |
| pricing | services/{name}/pricing.md; for Lot 3 also services/supplier/rate-card.md, one card for every Lot 3 service |
| security | services/{name}/security.md |
| review | services/{name}/review-report.md |
| compare | services/{name}/competitor-analysis.md |
| tenders | services/{name}/tender-intel.md |
| submission-pack | services/{name}/submission/{checklist,submission-guide,answers-export}.md, and once per bid services/supplier/submission/bid-answers.md |
| story | SUBMISSION-STORY.md |
| sales | .gcloud/market-analysis/sales-analysis.md |
| marketplace-data | .gcloud/market-analysis/marketplace-stats.md, services/{name}/market-analysis/{competitors,keywords}.md |
| customer | Console output only |
| targets | Console/file output |
| marketing | services/{name}/marketing/{press-release,social-media,blog-post,email-templates,content-calendar}.md |
| customize | .gcloud/templates/{name}-template.md |
| plan | SUBMISSION-PLAN.md |
| health | Console + docs/health.json |
| diagram | services/{name}/diagrams.md |
| dpia | services/{name}/dpia.md |
| presentation | PRESENTATION.md (portfolio) or services/{name}/presentation.md (per-service) |
Command Dependency Chain
supplier-profile ──┬──→ social-value (supplier level, once per bid)
│
└──→ service-design ──┬──→ sdd-lot1a / 1b / 2a / 2b / 3 ──┬──→ pricing
│ ├──→ security
│ ├──→ compare (optional SDD + tender-intel)
│ ├──→ tenders (optional SDD) ┄┄→ feeds pricing/compare/targets
│ ├──→ marketing (optional SDD)
│ ├──→ dpia (requires SDD + security optional)
│ └──→ presentation (requires SDD)
│
├──→ diagram (requires design, optional SDD)
│
│ sdd-lot* + security + pricing ──→ lot-questions ──→ declaration
│ (every service in the lot group) (once per lot (records the
│ group) lots bid for)
│
└──→ review ──→ submission-pack
(reads all, (requires all, including social-value,
supplier lot-questions and declaration)
level too)
story ─────────── scans all artifacts after the profile exists
Scans existing (no hard requirements):
plan ──────────── scans all artifacts, generates timeline
health ────────── scans all artifacts, checks completeness
Independent (no project file dependencies):
customize ─────── copies plugin templates to .gcloud/templates/
sales ─────────── uses spend-data CSV only
marketplace-data ─ uses external marketplace dataset
customer ───────── uses URN + merge CSVs only
targets ────────── uses URN + spend-data CSVs (optionally enriched by tender-intel)
The recommended order is supplier-profile → social-value → service-design → sdd-lot* → pricing and security → lot-questions → declaration → review → submission-pack. The lot questions come after the services: their award criteria (user support, data location, penetration testing, data sanitisation, staff security) repeat each service's SDD and security answers and must agree with every service in the lot, and the Lot 1a/1b quality answers draw on the same documents. The declaration follows, because it records the lots bid for.
Key Observations
- supplier-profile is the root dependency — 21 of 28 workflow commands read it, and 17 require it.
- service-design is the second gate — all per-service commands require it, and it records the lot that picks the SDD command and the lot questions file.
- submission-pack is the strictest — it requires all 8 documents (profile, social value, the lot's lot questions, declaration, design, SDD, pricing, security).
- Five commands are fully independent (customize, sales, marketplace-data, customer, targets) and two are scan-only (plan, health) — they can run at any time.
- social-value, lot-questions and declaration are supplier-level: each is written once per bid and shared by every service. Lot questions are written once per lot group (1a/1b, 2a/2b, 3).
- sdd-lot3 and pricing read the Lot 3 DDaT rate card reference (
lot-3-rate-card.md) and the bundled day-rate benchmarks; pricing also reads the discount benchmarks for Lots 2a/2b. - framework-questions.md and its
g-cloud-15/files are read by review, the five SDD commands, lot-questions, social-value, declaration, security and service-design. - dpia is the most context-rich per-service command after review — it reads 4 artifacts plus the compliance-frameworks reference.
- presentation works at both portfolio and per-service level.
- tenders is a producer whose
tender-intel.mdartefact is a soft input to pricing (awarded-value price anchor), compare (real competitor award evidence), and targets (live award-active buyers) — each degrades gracefully when it is absent.