Skip to main content

RuleId

Enum RuleId 

Source
pub enum RuleId {
Show 109 variants CellCarriesOneReference, ComparisonCarriesALegend, VerdictCarriesItsWord, EveryTableIsDated, TablePipesAreEscaped, CitationResolvesToARule, BodyStaysWithinWordCap, FilenameCarriesNoDigit, MergedRecordIsPermanent, RecordIsNotRevised, LandingClassifiesItsTargetFirst, SeededRuleRunsNoCanonCommand, SkillChecksItsHostBeforeItPlans, SkillHasOneOwner, SkillInstallRestoresOnFailure, SkillObeysThePortableFormat, SkillPlansBeforeItActs, StaleSkillIsNotAConflict, InstallSweepsWhatThePayloadDropped, InitializationPreservesProjectContent, InstancesOperateOffline, ManifestIdentifiesEveryOwnedFile, SharedSkillArtifactsHaveOneHome, SkillInstallPreviewsBeforeWriting, SkillUninstallRemovesOnlyWhatItWrote, SkillsArePartOfThePayload, TheDoctorAnswersForTheInstalledSkills, ThePayloadNamesNoOtherProject, ThePayloadNamesNoPlanningTool, ThePayloadRootsAreDeclaredOnce, UpgradeConflictsAreAtomic, UserScopeFilesStayUnrecorded, AuthorInstructionsStayWithinBudget, ChapterStaysWithinLineCap, DocumentStatesThePresent, DocumentUsesStructuralMarkdownOnly, EveryBudgetCarriesAGate, FenceDeclaresALanguage, ProseStaysUnwrapped, DocumentCarriesNoPersonalPath, DocumentOwnsWhatItGoverns, KindPrefixCarriesASlug, ArtifactFilenamesCarryAKindPrefix, CompanionArtifactsShareTheSpecName, SpecStatesThePresent, SpecWinsOverRecord, SpecsAreCentralized, ProhibitionsAreCapped, RequirementCarriesAVerification, RequirementCarriesFiveParts, RuleIdIsUniqueAndSlugged, RuleIdOutlivesItsSentence, SpecStaysWithinLineCap, StatementUsesAnEarsPattern, UnenforcedRulesAreDeclared, VerificationNamesALiveHook, DivergentResultNamesItsDestination, ManualStepEnumeratesItsInteraction, StepFollowsItsProducers, StepIsOneImperativeAction, ExternalFactIsVerifiedUpstream, CitationsLiveInTheReferenceZone, EveryStepCarriesItsCheck, PreconditionsOpenAndVerificationCloses, TheManifestStaysReadable, AgentsBlockStaysManaged, TrackingRegistryStaysValid, BugzillaReportBodyFitsReportWidth, FiledRecordCarriesItsReport, RecordCarriesItsRetirementCondition, RecordCarriesOneFilingState, RecordCarriesOneState, RecordWalksTheMechanism, CaseIdIsASlug, CanonGateIsNotDelivered, ReleasedVersionIsNotReAuthored, TagDerivesFromTheVersionFile, LicenseDeclaresBothHalves, CanonRecordDescribesItsTree, RkPinHasTwoFactsAndOneMover, DeliveredGateSetIsDeclaredOnce, ThirdPartyNoticesTravelWithThePayload, VersionsAreSemanticAndAligned, CompatibilityAdaptersMatchUpstream, ObjectiveCheckMatchesItsUpstreamRule, ExceptionNamesItsReason, MarketingCopyStaysOutOfScope, PlainIsTheDefault, ProtectedContentStaysExact, StrictIsExplicit, StructureSuppliesThePassageMode, SimpleEnglishDependencyIsAvailableOffline, UpstreamPatternIsBinding, UpstreamTermsKeepTheirNames, CommentCitesTheRule, CommentNamesNoRecord, GateMessageCitesTheRule, SpecChangeIsTyped, SpecMayLeadItsCode, SuppressionNamesItsCase, EntryDocumentCitesRuleIds, UnenactedRulesAreTheBacklog, DeclaredDependentExists, PerishableSourceIsRegistered, EntryDeclaresHowToRevalidate, OverdueEntryBlocks, UpstreamCheckDoesNotEditTheTree, UpstreamDerivationPinsARevision, RegistryHasOneReadableShape,
}
Expand description

A domain:rule requirement address defined by a spec.

Variants§

§

CellCarriesOneReference

comparison-docs:a-cell-carries-one-reference

§

ComparisonCarriesALegend

comparison-docs:a-comparison-carries-a-legend

§

VerdictCarriesItsWord

comparison-docs:a-verdict-carries-its-word

§

EveryTableIsDated

comparison-docs:every-table-is-dated

§

TablePipesAreEscaped

comparison-docs:table-pipes-are-escaped

§

CitationResolvesToARule

decision-records:a-citation-resolves-to-a-rule

§

BodyStaysWithinWordCap

decision-records:body-stays-within-350-words

§

FilenameCarriesNoDigit

decision-records:filename-carries-no-digit

§

MergedRecordIsPermanent

decision-records:merged-record-is-permanent

§

RecordIsNotRevised

decision-records:record-is-not-revised

§

LandingClassifiesItsTargetFirst

distribution:a-landing-classifies-its-target-first

§

SeededRuleRunsNoCanonCommand

distribution:a-seeded-rule-runs-no-canon-command

§

SkillChecksItsHostBeforeItPlans

distribution:a-skill-checks-its-host-before-it-plans

§

SkillHasOneOwner

distribution:a-skill-has-one-owner

§

SkillInstallRestoresOnFailure

distribution:a-skill-install-restores-on-failure

§

SkillObeysThePortableFormat

distribution:a-skill-obeys-the-portable-format

§

SkillPlansBeforeItActs

distribution:a-skill-plans-before-it-acts

§

StaleSkillIsNotAConflict

distribution:a-stale-skill-is-not-a-conflict

§

InstallSweepsWhatThePayloadDropped

distribution:an-install-sweeps-what-the-payload-dropped

§

InitializationPreservesProjectContent

distribution:initialization-preserves-project-content

§

InstancesOperateOffline

distribution:instances-operate-offline

§

ManifestIdentifiesEveryOwnedFile

distribution:manifest-identifies-every-owned-file

§

SharedSkillArtifactsHaveOneHome

distribution:shared-skill-artifacts-have-one-home

§

SkillInstallPreviewsBeforeWriting

distribution:skill-install-previews-before-writing

§

SkillUninstallRemovesOnlyWhatItWrote

distribution:skill-uninstall-removes-only-what-it-wrote

§

SkillsArePartOfThePayload

distribution:skills-are-part-of-the-payload

§

TheDoctorAnswersForTheInstalledSkills

distribution:the-doctor-answers-for-the-installed-skills

§

ThePayloadNamesNoOtherProject

distribution:the-payload-names-no-other-project

§

ThePayloadNamesNoPlanningTool

distribution:the-payload-names-no-planning-tool

§

ThePayloadRootsAreDeclaredOnce

distribution:the-payload-roots-are-declared-once

§

UpgradeConflictsAreAtomic

distribution:upgrade-conflicts-are-atomic

§

UserScopeFilesStayUnrecorded

distribution:user-scope-files-stay-unrecorded

§

AuthorInstructionsStayWithinBudget

docs-format:author-instructions-stay-within-budget

§

ChapterStaysWithinLineCap

docs-format:chapter-stays-within-200-lines

§

DocumentStatesThePresent

docs-format:document-states-the-present

§

DocumentUsesStructuralMarkdownOnly

docs-format:document-uses-structural-markdown-only

§

EveryBudgetCarriesAGate

docs-format:every-budget-carries-a-gate

§

FenceDeclaresALanguage

docs-format:fence-declares-a-language

§

ProseStaysUnwrapped

docs-format:prose-stays-unwrapped

§

DocumentCarriesNoPersonalPath

docs-foundations:a-document-carries-no-personal-path

§

DocumentOwnsWhatItGoverns

docs-foundations:a-document-owns-what-it-governs

§

KindPrefixCarriesASlug

docs-foundations:a-kind-prefix-carries-a-slug

§

ArtifactFilenamesCarryAKindPrefix

docs-foundations:artifact-filenames-carry-a-kind-prefix

§

CompanionArtifactsShareTheSpecName

docs-foundations:companion-artifacts-share-the-spec-name

§

SpecStatesThePresent

docs-foundations:spec-states-the-present

§

SpecWinsOverRecord

docs-foundations:spec-wins-over-record

§

SpecsAreCentralized

docs-foundations:specs-are-centralized

§

ProhibitionsAreCapped

docs-specs:prohibitions-are-capped

§

RequirementCarriesAVerification

docs-specs:requirement-carries-a-verification

§

RequirementCarriesFiveParts

docs-specs:requirement-carries-five-parts

§

RuleIdIsUniqueAndSlugged

docs-specs:rule-id-is-unique-and-slugged

§

RuleIdOutlivesItsSentence

docs-specs:rule-id-outlives-its-sentence

§

SpecStaysWithinLineCap

docs-specs:spec-stays-within-300-lines

§

StatementUsesAnEarsPattern

docs-specs:statement-uses-an-ears-pattern

§

UnenforcedRulesAreDeclared

docs-specs:unenforced-rules-are-declared

§

VerificationNamesALiveHook

docs-specs:verification-names-a-live-hook

§

DivergentResultNamesItsDestination

guides:a-divergent-result-names-its-destination

§

ManualStepEnumeratesItsInteraction

guides:a-manual-step-enumerates-its-interaction

§

StepFollowsItsProducers

guides:a-step-follows-its-producers

§

StepIsOneImperativeAction

guides:a-step-is-one-imperative-action

§

ExternalFactIsVerifiedUpstream

guides:an-external-fact-is-verified-upstream

§

CitationsLiveInTheReferenceZone

guides:citations-live-in-the-reference-zone

§

EveryStepCarriesItsCheck

guides:every-step-carries-its-check

§

PreconditionsOpenAndVerificationCloses

guides:preconditions-open-and-verification-closes

§

TheManifestStaysReadable

instance:the-manifest-stays-readable

§

AgentsBlockStaysManaged

instance:the-agents-block-stays-managed

§

TrackingRegistryStaysValid

instance:the-tracking-registry-stays-valid

§

BugzillaReportBodyFitsReportWidth

known-issues:a-bugzilla-report-body-fits-in-79-columns

§

FiledRecordCarriesItsReport

known-issues:a-filed-record-carries-its-report

§

RecordCarriesItsRetirementCondition

known-issues:a-record-carries-its-retirement-condition

§

RecordCarriesOneFilingState

known-issues:a-record-carries-one-filing-state

§

RecordCarriesOneState

known-issues:a-record-carries-one-state

§

RecordWalksTheMechanism

known-issues:a-record-walks-the-mechanism

§

CaseIdIsASlug

known-issues:case-id-is-a-slug

§

CanonGateIsNotDelivered

release:a-canon-gate-is-not-delivered

§

ReleasedVersionIsNotReAuthored

release:a-released-version-is-not-re-authored

§

TagDerivesFromTheVersionFile

release:a-tag-derives-from-the-version-file

§

LicenseDeclaresBothHalves

release:license-declares-both-halves

§

CanonRecordDescribesItsTree

release:the-canon-record-describes-its-tree

§

RkPinHasTwoFactsAndOneMover

release:the-rk-pin-has-two-facts-and-one-mover

§

DeliveredGateSetIsDeclaredOnce

release:the-delivered-gate-set-is-declared-once

§

ThirdPartyNoticesTravelWithThePayload

release:third-party-notices-travel-with-the-payload

§

VersionsAreSemanticAndAligned

release:versions-are-semantic-and-aligned

§

CompatibilityAdaptersMatchUpstream

simple-english:compatibility-adapters-match-upstream

§

ObjectiveCheckMatchesItsUpstreamRule

simple-english:an-objective-check-matches-its-upstream-rule

§

ExceptionNamesItsReason

simple-english:an-exception-names-its-reason

§

MarketingCopyStaysOutOfScope

simple-english:marketing-copy-stays-out-of-scope

§

PlainIsTheDefault

simple-english:plain-is-the-default

§

ProtectedContentStaysExact

simple-english:protected-content-stays-exact

§

StrictIsExplicit

simple-english:strict-is-explicit

§

StructureSuppliesThePassageMode

simple-english:structure-supplies-the-passage-mode

§

SimpleEnglishDependencyIsAvailableOffline

simple-english:the-dependency-is-available-offline

§

UpstreamPatternIsBinding

simple-english:the-upstream-pattern-is-binding

§

UpstreamTermsKeepTheirNames

simple-english:upstream-terms-keep-their-names

§

CommentCitesTheRule

spec-to-code:a-comment-cites-the-rule

§

CommentNamesNoRecord

spec-to-code:a-comment-names-no-record

§

GateMessageCitesTheRule

spec-to-code:a-gate-message-cites-the-rule

§

SpecChangeIsTyped

spec-to-code:a-spec-change-is-typed

§

SpecMayLeadItsCode

spec-to-code:a-spec-may-lead-its-code

§

SuppressionNamesItsCase

spec-to-code:a-suppression-names-its-case

§

EntryDocumentCitesRuleIds

spec-to-code:an-entry-document-cites-rule-ids

§

UnenactedRulesAreTheBacklog

spec-to-code:unenacted-rules-are-the-backlog

§

DeclaredDependentExists

tracking:a-declared-dependent-exists

§

PerishableSourceIsRegistered

tracking:a-perishable-source-is-registered

§

EntryDeclaresHowToRevalidate

tracking:an-entry-declares-how-to-revalidate

§

OverdueEntryBlocks

tracking:an-overdue-entry-blocks

§

UpstreamCheckDoesNotEditTheTree

tracking:an-upstream-check-does-not-edit-the-tree

§

UpstreamDerivationPinsARevision

tracking:an-upstream-derivation-pins-a-revision

§

RegistryHasOneReadableShape

tracking:the-registry-has-one-readable-shape

Implementations§

Source§

impl RuleId

Source

pub const ALL: &'static [Self]

Every rule the specs define, in slug order.

Source

pub const fn as_str(self) -> &'static str

The domain:rule slug pair this variant addresses.

Trait Implementations§

Source§

impl Clone for RuleId

Source§

fn clone(&self) -> RuleId

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for RuleId

Source§

impl Debug for RuleId

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for RuleId

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for RuleId

Source§

impl Hash for RuleId

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for RuleId

Source§

fn cmp(&self, other: &RuleId) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 (const: unstable) · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 (const: unstable) · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

fn clamp_to<R>(self, range: R) -> Self
where Self: Sized, R: ClampBounds<Self>,

🔬This is a nightly-only experimental API. (clamp_to)
Restrict a value to a certain range. Read more
Source§

impl PartialEq for RuleId

Source§

fn eq(&self, other: &RuleId) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl PartialOrd for RuleId

Source§

fn partial_cmp(&self, other: &RuleId) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 (const: unstable) · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 (const: unstable) · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 (const: unstable) · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 (const: unstable) · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl StructuralPartialEq for RuleId

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Comparable<K> for Q
where Q: Ord + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more