docs: resolve Vale prose and spelling findings

This commit is contained in:
sam committed 2026-11-28 01:32:50 +11:00
1 parent 59d85e197f
commit 5505bef5ee
6 files changed
+15 -13

No files matched your search

@@ -5,12 +5,14 @@
(?i)carina
(?i)confirmers?
(?i)fulfilment
(?i)glassmorphism
(?i)passkeys?
(?i)reapprovals?
(?i)redemptions?
(?i)retags?
(?i)undispatched
(?i)unpushed
(?i)wordmarks?
(?i)worktrees?
# Proper nouns, tools, and exact-case technical terms
+7 -7
View File
@@ -11,10 +11,10 @@ web
Archie's audience comes in two stages.
1. **Now: the solo operator.** An infrastructure or IT operations engineer who
runs their own estate of VMs, containers and on-prem hosts, self-hosts
Archie, and wants day-2 operations handled without babysitting: disks filling
up, alerts firing, routine maintenance. They use the dashboard on desktop and
phone, and talk to Archie through chat channels.
runs their own estate of VMs, containers and on-prem hosts and self-hosts
Archie. They want day-2 operations handled without babysitting: disks
filling up, alerts firing, routine maintenance. They use the dashboard on
desktop and phone, and talk to Archie through chat channels.
2. **Next: the IT operations team.** A team inside an organisation where an
application owner (recorded in the CMDB) approves production changes on the
servers that belong to their application. Governance, audit and risk
@@ -27,9 +27,9 @@ webhook, a schedule, a chat message, an issue), works out what it means, decides
what to do, and does the work through an agent. It judges every action before
the action runs, and delivers the result wherever it needs review or action.
Success: an operator connects a source and Archie notices events, acts without
being asked when it is allowed to, and calls the operator in only when policy or
risk requires it, with an explanation of what it found and did.
Success: an operator connects a source and Archie notices events, acting without
being asked when allowed. It calls the operator in only when policy or risk
requires it, explaining what it found and did.
The loop is Hears, Understands, Decides, Defines, Does, Delivers. The platform
around it Governs, Reports, Assesses, Manages Risk and Invokes Policy.
+2 -2
View File
@@ -54,7 +54,7 @@ const validCustomOrgPolicy = `permit(principal, action, resource) when {
action == Archie::Action::"approve"
};`
// TestBundleYAMLRoundTripAndAutonomyExclusion guards YAML serialization of
// TestBundleYAMLRoundTripAndAutonomyExclusion guards YAML serialisation of
// Bundle and proves earned-autonomy fields are absent from the schema and
// rejected on unmarshal.
func TestBundleYAMLRoundTripAndAutonomyExclusion(t *testing.T) {
@@ -246,7 +246,7 @@ func TestParseBundleRejectsInvalidInputs(t *testing.T) {
}
// TestDiffBundleDeterministic guards deterministic sorting, Empty(), Format(),
// and line-ending normalization in DiffBundle.
// and line-ending normalisation in DiffBundle.
func TestDiffBundleDeterministic(t *testing.T) {
current := Bundle{
SchemaVersion: BundleSchemaVersion,
@@ -22,8 +22,8 @@ var (
ErrInvalidPolicy = errors.New("the update policy is manual or auto")
)
// Accept returns the grants an operator accepts for a version that declared
// declared. They may be fewer than declared and never more.
// Accept returns the grants an operator accepts from a version's declared
// set. They may be fewer than declared and never more.
func Accept(declared, grants Grants) (Grants, error) {
grants = grants.Normalised()
if !declared.Normalised().Covers(grants) {
+1 -1
View File
@@ -151,7 +151,7 @@ func (f *fakeSyncer) EnsureMembership(_ context.Context, m Membership) error {
}
// TestGroupClaimRoleMapping guards OIDC group extraction, highest-privilege role
// selection, and org membership synchronization during OIDC sign-in.
// selection, and org membership synchronisation during OIDC sign-in.
func TestGroupClaimRoleMapping(t *testing.T) {
roleMap := map[string]Role{
"org-viewers": RoleViewer,
+1 -1
View File
@@ -248,7 +248,7 @@ func actionInput(s actionSettings) (jsontext.Value, error) {
}
// ranStep is what a step reports for the action it was judged for: the same
// shape whether or not an approval covered it, so a later step reads
// shape whether an approval covered it, so a later step reads
// steps.<id>.result either way.
func ranStep(level string, out approvalOutcome) StepResult {
return StepResult{