Skip to Content

Maturity

Where: Maturity in the sidebar (#/maturity).

Maturity hero with the tier badge, the verified/credited/potential bar, the tooling and behavior bars, two open-gap cards and the Path to gold card.

Maturity answers are we set up correctly, and what would make us better? It reads your most recent completed gap analysis and turns it into a score, a list of what is pulling the score down, and what closing each gap takes. It is part of the core product, separate from Compliance.

What you see

  • An Application picker, shown when more than one Application has been scored. The default, most recent run, shows whichever ran last.
  • A scope line: Scored from app’s EnvironmentProfile. If your other Applications declare their own profiles, it adds that they are not included in this score.
  • Run a new gap analysis → (goes to Gap analyses).

If no gap analysis has completed, the screen says so and offers Run a gap analysis.

The hero

  • The tier badge: bronze below 60%, silver from 60%, gold from 90%.
  • A three-part bar:
    • verified: rows TruStacks has confirmed from evidence. The only part it stands behind.
    • credited: the extra credit from claims it could not check (claims count half).
    • potential: where the score would be if every claim were verified.
  • ▲ / ▼ N pts since last run (or no change since last run), comparing with the previous run of the same Application only. A drop is shown in amber, not red: a score becoming more honest is not a failure.
  • Tooling categories and Behaviors bars, one segment per scored row.
  • A list of any practices: keys in your profile that are not part of the vocabulary. They are not scored; check for a typo.

Open gaps (left)

What’s pulling the score down.

  • One card per unsatisfied tooling category: the category, the rule that requires it, the recommended tool and why. Draft pipeline PR asks the crew to add a tool’s step to the service’s existing CI workflow and opens a proposal (Watch the crew work →). You choose the tool first; the PR adds its step and declares it in environment-profile.yaml, and the card says so before you click. The fix changes nothing else; see What a fix changes.
  • A behaviors card (N behaviors unearned), split three ways:
    • You declared these, and what we found disagrees (disputed);
    • You’ve declared these … and we couldn’t verify them (claimed, counted half; nothing is wrong with them);
    • You have not declared these yet (missing).

If nothing is pulling the score down, the card says everything scored is covered.

  • Your rules, when your overlay rules ask for categories or behaviors the constitution does not: each one with its status and the rules that need it. They are enforced on every proposal, but they are not rows in the score: the rows come from constitution rules alone. An overlay rule’s gap can still lower the status of a constitution row it shares.

Path to gold (right)

What is left, in two voices:

  • Yours: tooling gaps the crew can open PRs for now, and behaviors that need the practice in place and declared by you.
  • Ours: declared rows that count half until TruStacks sees them in your pipeline, rows TruStacks has no way to observe yet (these can only ever count half, and it names them), and the score that closing every gap on the page would actually reach. If that ceiling is below 90%, it says gold is not reachable yet and why.

What a fix changes

Draft pipeline PR here and Draft the fix on Portfolio start the same run: a scoped fix, not a full plan. It closes one gap and changes nothing else.

You choose the tool

Both buttons open the same picker, Draft the fix: <category>. It lists the tools TruStacks can add for that category, with the one the gap analysis recommends pre-selected and marked recommended. It says what merging will do: Merging this PR declares <tool> for <category> in your Stack file and adds its CI step. Draft starts the run; Cancel drafts nothing.

  • One gap, one tool. A fix adds the one tool you picked, never every tool the gap recommends.
  • Only tools every active runner can add. A tool is offered, and accepted, only when every runner connected to your workspace has its curated, pinned action. If each runner could add a tool but they share none, there is nothing to pick, and TruStacks says Your runners are on different versions and don’t share a tool TruStacks can add for <category>. Upgrade them to the same release, then try again. Before any runner has reported its tools, the picker has no list and says TruStacks will add the tool this gap recommends.
  • Your choice is recorded. TruStacks keeps who chose the tool and when, and a Re-run of the fix keeps the same choice.

One pull request: the step and the declaration

The pull request adds the tool’s CI step and declares the tool in environment-profile.yaml, so merging it is the claim, made by you. The runner writes the declaration, not the agent: one entry under the gap’s category, inserted as text so your comments stay. It is marked primary: true only when the category had no tool yet. Anything else in the file (another category, practices, the name, an existing entry) is refused.

  • Already declared: the PR leaves environment-profile.yaml alone and only adds the step.
  • Step already in the workflow: nothing is added to the workflow. The PR says the <tool> step is already present in <workflow> and there is nothing to add, ships only the declaration, and is titled trustacks: declare <tool> (<category>).
  • Stack file not editable here: when environment-profile.yaml lives in another repo, is missing or a symlink, or is laid out in a way the edit can’t handle safely, nothing is written to it. The PR adds the step only and gives the lines to add yourself.
  • GitLab CI and Azure Pipelines: TruStacks can’t yet check those pipelines for the tool’s step, so the PR never claims or declares the tool there. It lists the tool as not added, with that reason, and asks you to review the pipeline change yourself.

The PR names who chose the tool by their display name, never their email address. When there is no display name, it says a workspace owner. The commit message names nobody.

Which workflow it edits

When TruStacks can identify the workflow your service runs, a fix edits that one. It reads the service repo’s CI and looks for the platform-repo workflow it calls (on GitHub Actions, a uses: <owner>/<platform-repo>/.github/workflows/<file>@<ref> line).

Your service repo’s CIThe fix editsThe PR says
Calls exactly one platform workflowThat workflowWhich file calls it, and, if it isn’t ci-<service>.yaml, that the step goes where your pipeline actually runs it
Calls severalNothing. The run stopsThe workflows it calls, and to add the step to the one you want by hand, or call one workflow and retry
Calls none.github/workflows/ci-<service>.yaml (or .yml)Your service repo doesn’t call this workflow yet, with the uses: snippet to add to the service repo, or the step won’t run
Can’t be readci-<service>.yamlThat it couldn’t check which workflow the service calls, and to check that the service calls this one

On GitLab CI and Azure Pipelines the same applies to include: project and template: <file>@<alias>.

What TruStacks enforces

In code, not only in the agent’s instructions:

  • Only that workflow, and the Stack-file entry. The DevOps Engineer may write the one workflow. Any other file (a Helm chart, a Kustomize overlay, an ArgoCD Application, a Dockerfile) is refused, and so is retiring a file. The declaration in environment-profile.yaml is added only after the tool’s step is in the workflow, and is checked again before the PR opens.
  • Only additions. The edited workflow is compared with the original. On GitHub Actions, every top-level key other than jobs stays as it was and none is added, no job is added, every original job keeps its settings, and its original steps are all there, unchanged and in order. A job’s explicit permissions may gain only the scopes the packs of its tool steps declare, at exactly the declared level, and never lose or lower one. A job that inherits the calling job’s grant, with no permissions of its own and none at the top of the workflow, is never given a block; the pull request names what your calling job must grant instead. See Token permissions. On GitLab CI and Azure Pipelines, every original job and step must still be there, unchanged; additions may go anywhere. An edit that changes anything else is sent back to the agent; after 3 refusals the run fails and says why.
  • The step must be there. On GitHub Actions, the fix can’t be submitted until the workflow has a step whose uses: is the tool’s curated, pinned action.
  • Policy still decides. The constitution judges the fix together with the service’s deploy files as they will stand after the merge. It allows a write to environment-profile.yaml only for a fix that declares the tool you chose; every other proposal is still denied that file.

A fix stops, and changes nothing, when:

  • The service has no CI workflow yet. The run says No CI workflow for this service yet and to run a full plan first, naming the paths it looked for. A fix extends a pipeline; it never builds one.
  • The service calls several platform workflows. See the table above.
  • TruStacks has no pinned action for the tool. There is no reviewed step to add. Add the tool to your pipeline by hand, or pick a tool TruStacks curates.
  • TruStacks couldn’t read the platform repo. Retry; nothing was changed.
  • A file the fix needs can’t be read safely: a symlink, a file outside the repo, a file that isn’t UTF-8 text, or one that is too large (200,000 bytes for the workflow, 1 MiB for the deploy files policy reads beside it). The run names the file and the reason. A workflow that is a symlink isn’t used at all, so the run reports that there is no CI workflow.

What the pull request says

Its title reads trustacks: add <tool> (<category>), or trustacks: declare <tool> (<category>) when the step was already there. The body opens with Your choice: <name> chose <tool> for <category> in TruStacks on <date>, and what merging does to environment-profile.yaml. Fix requested follows: the tool added, or the note that the step is already present, then Requested but not added, each with the reason, when a tool couldn’t be added, then which workflow the fix edits and why. The summary leads with Scoped fix: the files that actually changed (a file identical to the platform repo’s is neither listed nor shipped) and the steps added, and states that every existing step, job and trigger is unchanged. The proposal’s Explanation leads the same way.

After you merge

Merging declares the tool, so the category reads claimed (counted half). It reads verified once a gap analysis finds the tool’s pinned step in a workflow in your platform repo; run a new one to see it. Verified means the step is present in that workflow. It doesn’t mean TruStacks has seen the step run. The workflow targeting above is what puts the step in the workflow your service calls.

If your service repo calls that workflow pinned to a commit SHA (or a tag), merging the fix doesn’t change what the service runs yet. Move the service repo’s uses: pin to the merge commit, as for any workflow change, and the new step runs on its next build.

When the PR couldn’t declare the tool (the Stack file is elsewhere, or on GitLab CI and Azure Pipelines), the category stays missing until you declare it yourself.

When a fix fails

Re-run plan, on the error in the proposal’s activity, re-runs the same request as a new proposal. For a fix that means the same fix: the same tool, from the same gap, still scoped. The failed proposal stays as the record. Only a run that ended in an error can be re-run; one that is still going, or that finished, can’t.

While a fix for a gap is in progress, a second one for the same gap is refused, so a double click or a second tab doesn’t open a second PR.

What it means

The score is built from rows. There are two kinds:

  • Tooling categories: do you have the tool? Declared under a category in your profile.
  • Behaviors: do you use it correctly? Five keys under practices:: tests_in_ci, linting_in_ci, manual_promotion_to_prod, non_root_containers and supply_chain_pinning.

Only rows that some constitution rule scores appear in the score; rows only your overlay rules ask for are listed under Your rules instead. Each row has a status:

StatusMeaningWeight
verifiedDeclared, and the evidence confirms it.1.0
claimedDeclared, and there is no evidence either way.0.5
disputedDeclared, and the evidence contradicts it.0
missingNot declared.0

The headline score is the weighted average; the tier comes from it. Evidence comes from what TruStacks can observe: the workflow content in your pipeline (a declared scanner is verified when its step is there) and the constitution’s verdicts on your latest judged proposal (for example whether the workflow has a test step), plus the Code Reviewer’s analysis. Missing evidence never demotes a claim; only contrary evidence does.

The full model, and why it works this way, is in Verified, claimed and disputed and the maturity scoring reference.

What to do here

  1. Start with Open gaps. For a tooling gap, Draft pipeline PR, pick the tool, then review and merge the PR. Merging declares the tool.
  2. For a missing behavior, put the practice in place, then add the line to practices:. For a disputed one, read the note: the evidence disagrees with your claim, so fix the pipeline or remove the claim.
  3. Run a new gap analysis and compare.

Why the score may fall. When TruStacks gains a way to verify a row, or the rules gain a row, a score can drop without anything in your setup changing. That is the score becoming more accurate. The verified segment is the part you can show someone else with confidence.

How it connects

Beta limits

  • Per Application, no roll-up. There is no organization-wide score.
  • Not every category is scored. Several of the twelve tooling categories have no scoring rule yet; declaring them guides the agents but does not move the score.
  • Gold needs a current runner. The ceiling depends on the rule inventory your runner reports. Reports from runs that predate the ceiling calculation show no ceiling and ask you to run a new analysis.
  • Every tooling gap card is labeled missing, even when the underlying status is disputed.
  • A “what we did not check” coverage view is planned, not built.
Last updated on