Kind
Generated by docs/scripts/generate-docs.mjs from templates/kinds/. Edit the source, not this page.
Một kind định kiểu cho tệp được sinh trong một nhánh rồi bàn giao cho nhánh sau bằng đường dẫn tường minh. Kind dạng markdown mang một <kind>.contract.json (tiêu đề, các mục theo thứ tự, dòng đầu của từng bảng) và một <kind>.skeleton.md để chép; kind dạng dữ liệu mang một <kind>.schema.json. scripts/validate-response.mjs nạp contract theo kind sau mỗi nhánh.
Contract cho markdown
architecture-decision
Tiêu đề: ^# architecture-decision — [a-z0-9][a-z0-9-]*$
Khung: templates/kinds/architecture-decision.skeleton.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Decision$ | | Field | Value | | Objective, Decision id, Selected alternative, Selection policy | Value: \S |
^## Current state$ | | Boundary | Responsibility | Stores | Evidence | | minRows 1 | Evidence: \S |
^## Alternatives$ | | Alternative | Status | Assessment | Rejected because | | minRows 1 | Status: ^(selected|rejected)$ |
^## Boundaries$ | | Boundary | Responsibility | Owner | Interfaces | Owns data | | minRows 1 | Owns data: ^(yes|no)$ |
^## Data ownership$ | | Store | Owning boundary | Writers | Readers | Migrators | Transaction scope | Backup | Restore | | — | — |
^## Stack delta$ | | Component | Status | Justification | Evidence | Compatibility | | minRows 1 | Status: ^(existing|added|replaced|removed|replaced-candidate)$Justification: ^(measured-constraint|observed-evidence|requirement-fit|—)$ |
^## Operations$ | | Operation | Transport | Writer | Stores | Transaction | Idempotency | Dimensions | | minRows 1 | Transport: ^(graphql-mutation|graphql-query|rest|worker|cron|event-consumer)$Transaction: ^(single-transaction|per-item|read-only|none)$Idempotency: ^(none|natural-key|request-token|event-id)$Dimensions: ^[a-z0-9][a-z0-9-]*(?:, [a-z0-9][a-z0-9-]*)*$ |
^## Handoff$ | | Item | Kind | Detail | | minRows 1 | Kind: ^(invariant|risk|contract|migration|rollback|proof|unknown)$ |
^## Fallbacks taken$ | | Code | Action | | — | Code: ^[A-Z][A-Z0-9_]+$ |
backend-source-application
Tiêu đề: ^# backend-source-application — [a-z0-9][a-z0-9-]*$
Khung: templates/kinds/backend-source-application.skeleton.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Binding$ | | Field | Value | | Outcome, Feature, Contract fingerprint, Base, Branch, Commit | Value: \S |
^## Operations$ | | Operation | Transport | Writer | Transaction | Idempotency | Decisions | | minRows 1 | Transport: ^(graphql-mutation|graphql-query|rest|worker|cron|event-consumer)$Transaction: ^(single-transaction|per-item|read-only|none)$Idempotency: ^(none|natural-key|request-token|event-id)$Decisions: ^[a-z0-9][a-z0-9-]*(?:, [a-z0-9][a-z0-9-]*)*$ |
^## Changes$ | | Path | Change | Operation | Before | After | | minRows 1 | Change: ^(added|modified|deleted)$Before: ^(sha256:[0-9a-f]{64}|—)$After: ^(sha256:[0-9a-f]{64}|—)$ |
^## Findings$ | | Code | Operation | File | Statement | | — | Code: ^(PATTERN_BOUND|NEW_CONVENTION_REFUSED|SNAPSHOT_REVALIDATED|MIGRATION_INCLUDED|EXCEPTION_IDENTITY_REUSED|BUSINESS_QUESTION_RAISED)$Statement: \S |
business-promise-authority
Tiêu đề: ^# business-promise-authority — [a-z0-9][a-z0-9-]*$
Khung: templates/kinds/business-promise-authority.skeleton.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Binding$ | | Field | Value | | Feature, Mode, Target state, Head, Claims fingerprint, Coverage fingerprint | Value: \S |
^## Promise$ | | Field | Value | | Promise, Actor, Eligibility | Value: \S |
^## Lineage$ | | Field | Value | | Previous head, Previous state, Transition | Value: \S |
^## Cited claims$ | | Claim | Kind | Role | Source | Lines | Head | | minRows 1 | Claim: ^[a-z0-9][a-z0-9-]*$Kind: ^(fact|intent|example|unknown|contradiction)$Lines: ^\d+-\d+$ |
^## Coverage$ | | Dimension | Disposition | Statement | Consumers | | — | Dimension: ^[a-z0-9][a-z0-9-]*$Disposition: ^(preserve|replace|retire|defer|not-applicable)$Statement: \S |
^## Reconciliation$ | | Dimension | Delivered evidence | Discrepancy | | — | — |
^## Findings$ | | Code | Severity | Dimension | Statement | | — | Code: ^[A-Z][A-Z0-9_]*$Severity: ^(info|warning|error)$ |
changes
Tiêu đề: ^# changes — [a-z]+(?:\.[a-z]+)+ step-\d+/parallel-\d+$
Khung: templates/kinds/changes.skeleton.md
Ví dụ: templates/changes.example.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Binding$ | | Field | Value | | Operator, Step, Checkout, Predecessor | Value: \S |
^## Files$ | | Path | Change | Why | Claims | | minRows 1 | Change: ^(created|modified|deleted|unchanged)$ |
^## What the next step must know$ | — | — | — |
content-brief
Tiêu đề: ^# content-brief — [a-z0-9][a-z0-9-]*$
Khung: templates/kinds/content-brief.skeleton.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Binding$ | | Field | Value | | Unit, Objective, Audience, Fingerprint | Value: \S |
^## Learner inputs$ | | Input | Statement | | — | Statement: \S |
^## Outcomes$ | | Outcome | Statement | | minRows 1 | Outcome: ^[a-z0-9][a-z0-9-]*$Statement: \S |
^## Claims$ | | Claim | Statement | | minRows 1 | Claim: ^[a-z0-9][a-z0-9-]*$Statement: \S |
^## Examples$ | | Example | Statement | | — | Statement: \S |
^## Dispositions$ | | Kind | Target | Statement | | — | Kind: ^(add|change|remove)$Statement: \S |
content-generation-receipt
Tiêu đề: ^# content-generation-receipt — [a-z0-9][a-z0-9-]*$
Khung: templates/kinds/content-generation-receipt.skeleton.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Binding$ | | Field | Value | | Unit, Brief fingerprint, Verdict, Round, Source head | Value: \S |
^## Editions$ | | Language | Article | Outcomes covered | | minRows 1 | Language: ^[a-z]{2}(?:-[A-Z]{2})?$Article: \SOutcomes covered: \S |
^## Approved artifacts$ | | Artifact | Stage | | — | Artifact: \SStage: ^(brief|write|image|code|e2e|review)$ |
^## Findings$ | | Code | Stage | Ref | Statement | | — | Code: ^(STAGE_DISABLED|DISPOSITION_APPLIED|REVISION_REQUIRED|PRODUCER_RATIONALE_WITHHELD)$Stage: ^(brief|write|image|code|e2e|review)$Statement: \S |
^## Fallbacks taken$ | | Code | Action | | — | Code: ^[A-Z][A-Z0-9_]*$Action: \S |
content-review
Tiêu đề: ^# content-review — [a-z0-9][a-z0-9-]*$
Khung: templates/kinds/content-review.skeleton.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Execution$ | | Field | Value | | Reviewer execution, Inherited turns, Producer rationale, Round | Value: \S |
^## Received$ | | Artifact | Kind | | minRows 1 | Artifact: \SKind: ^(brief|article|image|prompt|track|assertions)$ |
^## Scores$ | | Dimension | Score | | exactRows 7 | Dimension: ^(correctness|pedagogy|interview-value|language|visual-fidelity|code-quality|e2e-proof)$Score: ^([0-9]{1,2}|100|—)$ |
^## Findings$ | | Owning stage | Severity | Statement | Evidence | | — | Owning stage: ^(brief|write|image|code|e2e|critique)$Severity: ^(error|improvement)$Evidence: \S |
^## Verdict$ | | Field | Value | | Verdict | Value: \S |
frontend-direction-decision
Tiêu đề: ^# frontend-direction-decision — [a-z0-9][a-z0-9-]*$
Khung: templates/kinds/frontend-direction-decision.skeleton.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Decision$ | | Field | Value | | Direction id, Target, Intent, Change level, Owner ceiling, Classification, Selection policy, Selected candidate | Value: \S |
^## Surface class$ | | Class | Why | | exactRows 1 | Class: ^[a-z][a-z0-9-]*$Why: \S |
^## Observed$ | | Item | Evidence | | minRows 1 | Evidence: ^[^]+@[0-9a-f]{7,40}$` |
^## UI contract$ | | Element | Kind | Responsibility | | minRows 1 | Kind: ^(region|action|state|responsive|content|accessibility)$Responsibility: \S |
^## Coverage$ | | Concern | Enumerated | | Actions, Regions, States, Responsive | Enumerated: \S |
^## References$ | | Standard | Class | URL | What is borrowed | Limitation | | — | Standard: \SClass: ^[a-z0-9][a-z0-9-]*$URL: ^(https?://\S+|—)$What is borrowed: \SLimitation: \S |
^## Images$ | | Slot | Why | Claim | File | | — | File: ^(response/artifacts/images/[A-Za-z0-9_.-]+|—)$ |
^## Falsification$ | | Attack | Candidate | Verdict | Evidence | | minRows 1 | Candidate: ^[a-z0-9][a-z0-9-]*$Verdict: ^(holds|fails)$Evidence: \S |
^## Candidate limits$ | | Candidate | Criterion | Candidate says | | — | Candidate: ^[a-z0-9][a-z0-9-]*$Criterion: ^(TASTE-([1-9]|1[0-2])|UX-([1-9]|1[01]))$Candidate says: \S |
^## Scores$ | | Candidate | Viewport | Criterion | Score | Verdict | | — | Candidate: ^[a-z0-9][a-z0-9-]*$Viewport: ^[a-z0-9][a-z0-9-]*$Criterion: ^(TASTE-([1-9]|1[0-2])|UX-([1-9]|1[01]))$Score: ^[1-5]$Verdict: ^(pass|fail)$ |
^## Why not the others$ | | Candidate | Rejected because | | — | Candidate: ^[a-z0-9][a-z0-9-]*$Rejected because: \S |
^## Printed$ | | Artifact | Why | | — | Artifact: ^([^]+|https?://\S+)$<br />Why: \S` |
^## Fallbacks taken$ | | Code | Action | | — | Code: ^[A-Z][A-Z0-9_]+$ |
frontend-presentation-resolution
Tiêu đề: ^# frontend-presentation-resolution — [a-z0-9][a-z0-9-]*$
Khung: templates/kinds/frontend-presentation-resolution.skeleton.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Owner map$ | | Node | Property | Owner | Rule | | minRows 1 | Node: ^[^]+$<br />Owner: ^(app|grammar)$<br />Rule: ^[A-Z][A-Z0-9-]*-[0-9]+$` |
^## Rules chosen$ | | Node | Rule | Class | Condition | | minRows 1 | Node: ^[^]+$<br />Rule: ^[A-Z][A-Z0-9-]*-[0-9]+$<br />Class: ^[^]+$Condition: \S |
^## Removed$ | | Node | Class | Because | | — | Node: ^[^]+$<br />Because: ^(reimplements an owned relationship|overrides Grammar anatomy|off the closed scale|refused by [A-Z][A-Z0-9-]*-[0-9]+ Case [0-9]+)$` |
^## Gaps$ | | Node | Property | Missing path | | — | Node: ^[^]+$<br />Missing path: \S` |
^## Fallbacks taken$ | | Code | Action | | — | Code: ^[A-Z][A-Z0-9_]+$ |
frontend-source-application
Tiêu đề: ^# frontend-source-application — [a-z0-9][a-z0-9-]*$
Khung: templates/kinds/frontend-source-application.skeleton.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Binding$ | | Field | Value | | Target, Mode, Branch, Base, Commit | Value: \S |
^## Projection$ | | Path | Change | Classes | Claims | Why | | minRows 1 | Path: ^[^]+$<br />Change: ^(created|modified|deleted|unchanged)$<br />Why: \S` |
^## Rejections$ | | Path | Value | Because | | — | Path: ^[^]+$<br />Because: ^(outside the declared write set|outside the owner root|absent from the resolution inventory|the committed tree is not the resolved tree)$` |
^## Fallbacks taken$ | | Code | Action | | — | Code: ^[A-Z][A-Z0-9_]+$ |
frontend-surface-audit
Tiêu đề: ^# frontend-surface-audit — [a-z0-9][a-z0-9-]*$
Khung: templates/kinds/frontend-surface-audit.skeleton.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Served surface$ | | Field | Value | | Applied commit, Served branch, Served head, Contains applied commit, Browser profile, Family version observed, Family version resolved against | Value: \S |
^## Surface class$ | | Class | Declared by | | exactRows 1 | Class: ^(console|form|landing|catalog|reader)$Declared by: \S |
^## Matrix$ | | Matrix | Viewport | Scheme | State | Screenshot | | minRows 1 | Matrix: ^[a-z0-9][a-z0-9-]*$Viewport: ^[0-9]{3,4}x[0-9]{3,4}$Scheme: ^(light|dark)$Screenshot: ^response/artifacts/[A-Za-z0-9_.-]+[.]png$ |
^## Verdicts by owner$ | | Matrix | Owner | Node | Rule | Measured | Verdict | | minRows 1 | Owner: ^(app|grammar)$Node: ^[^]+$<br />Rule: ^[A-Z][A-Z0-9-]*-[0-9]+$<br />Verdict: ^(pass|fail)$<br />Matrix: ^[a-z0-9][a-z0-9-]*$` |
^## Taste$ | | Rule | Measured | Score | Verdict | | minRows 12 | Rule: ^TASTE-([1-9]|1[0-2])$Measured: \SScore: ^[1-5]$Verdict: ^(pass|fail)$ |
^## Verdict$ | | Topic | Verdict | Route | | exactRows 8 | Topic: ^(presentation|composition|responsive|motion|accessibility|contrast|render-truth|taste)$Verdict: ^(pass|fail|ship|fix-first|blocked)$Route: ^(resolve|direction|seed|flow-owner|grammar-gap|none)$ |
^## Coverage gaps$ | | Topic | Missing state | | — | Topic: ^(presentation|composition|responsive|motion|accessibility|contrast|render-truth|taste)$Missing state: \S |
^## Regressions$ | | Matrix | Node | Rule | Measured | Routes to | | — | Node: ^[^]+$<br />Routes to: ^(resolve|grammar-gap)$<br />Matrix: ^[a-z0-9][a-z0-9-]*$` |
^## Grammar gaps$ | | Component | Rule | What the family lacks | | — | What the family lacks: \S |
^## Printed$ | | Artifact | Why | | — | Artifact: ^([^]+|https?://\S+)$<br />Why: \S` |
^## Fallbacks taken$ | | Code | Action | | — | Code: ^[A-Z][A-Z0-9_]+$ |
git-publication
Tiêu đề: ^# git-publication — [a-z][a-z0-9.-]*$
Khung: templates/kinds/git-publication.skeleton.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Binding$ | | Field | Value | | Operator, Step, Project, Boundary, Approval, Route receipt, Worktree branches, Mutation branch, Frozen head | Value: \S |
^## Publication$ | | Field | Value | | Remote, Ref, Mode, Forced, Session branch, Target branch, Merge, Verified commit, Cleanup | Value: \S |
^## Published heads$ | | Checkout | Branch | Head | Previous remote head | Commits | | minRows 1 | Head: ^[0-9a-f]{40}$Commits: ^[1-9][0-9]*$ |
^## Hooks$ | | Hook | Reference | Outcome | | minRows 1 | Hook: ^(pre-commit|commit-msg|pre-push)$Outcome: ^(passed|failed)$ |
^## Continuation tag$ | | Field | Value | | Tag, Ref, Head | Value: \S |
^## Findings$ | | Code | Subject | Statement | | minRows 1 | Code: ^(HOOK_ENFORCED|BOUNDARY_CLEAN|REMOTE_FAST_FORWARDED|REMOTE_REF_CREATED|CONTINUATION_TAG_PUBLISHED)$Subject: \SStatement: \S |
independent-critique
Tiêu đề: ^# independent-critique — [a-z0-9][a-z0-9-]*$
Khung: templates/kinds/independent-critique.skeleton.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Execution$ | | Field | Value | | Reviewer execution, Inherited turns, Given | Value: \S |
^## Attacks$ | | Adverse path | Attack | Resolution | Verdict | | exactRows 8 | Attack: \SResolution: \SVerdict: ^(holds|fails)$ |
^## Verdict$ | | Field | Value | | Selection | Value: ^(keep|return)$ |
platform-operation-receipt
Tiêu đề: ^# platform-operation-receipt — (observability|sonar|tunnel|runtime|identity) [A-Za-z0-9._/-]+$
Khung: templates/kinds/platform-operation-receipt.skeleton.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Binding$ | | Field | Value | | Operator, Step, Project, Service, Service kind, Owner, Approval, Desired state, Inventory fingerprint | Value: \S |
^## Convergence$ | | Field | Value | | exactRows 1 | Value: ^(converged|already-converged)$ |
^## Inventoried resources$ | | Resource | Kind | Revision | Owner | | minRows 1 | Kind: ^(observability|sonar|tunnel|runtime|identity)$Revision: \S |
^## Port holders$ | | Port | Holder | Evidence | | — | Port: ^[0-9]{1,5}$ |
^## Mutations$ | | Effect | Resource | Before | After | | — | Effect: ^(update-config|restart-service|upsert-dashboard|update-remote-write|create-project|assign-profile|assign-gate|enforce-setting|create-tunnel|update-tunnel-route|upsert-proxied-dns|register-runtime-entry|attest-runtime-entry|bring-up-infra-stack|locate-routed-checkouts|start-role-runtime|merge-into-integration-branch|serve-runtime-head|restart-runtime-server|reset-runtime-server|stop-runtime-server|queue-runtime-lease|provision-identity|seed-flow-fixtures)$ |
^## Checks$ | | Check | Resource | Status | Evidence | | minRows 1 | Status: ^(passed|failed)$Evidence: \S |
^## Findings$ | | Code | Resource | Port | Holder | Statement | | minRows 1 | Code: ^(SHARED_SERVICE_INVENTORIED|PORT_COORDINATION_REQUIRED|ALREADY_CONVERGED|PARTIAL_MUTATION|PRODUCT_DEPLOYMENT_DECLINED|RUNTIME_ENTRY_ATTESTED|IDENTITY_PROVISIONED|RUNTIME_RUNG_CLIMBED|RUNTIME_HEAD_SERVED|RUNTIME_HEAD_REUSED|RUNTIME_SERVER_RESTARTED|RUNTIME_SERVER_RESET|RUNTIME_SERVER_STOPPED|RUNTIME_LEASE_BUSY|INTEGRATION_MERGED|INTEGRATION_RESOLVED|INTEGRATION_GATE_FAILED|CREDENTIAL_VALUE_IN_OUTPUT)$Statement: \S |
quality-verification
Tiêu đề: ^# quality-verification — [0-9a-f]{40}$
Khung: templates/kinds/quality-verification.skeleton.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Binding$ | | Field | Value | | Operator, Step, Checkout, Head, Session branch, Predecessors | Value: \S |
^## Gate plan$ | | Gate | Required | Command | Configuration | | minRows 1 | Gate: ^(format|lint|typecheck|build|unit-coverage|integration|e2e|sonar|presentation-sweep)$Required: ^(yes|no)$ |
^## Results$ | | Gate | Status | Exit code | Evidence | Classification | Statement | | minRows 1 | Gate: ^(format|lint|typecheck|build|unit-coverage|integration|e2e|sonar|presentation-sweep)$Status: ^(pass|fail|external-blocker|skipped-not-requested)$Classification: ^(in-boundary|boundary-drift|flaky|external-blocker|—)$Statement: \S |
^## Coverage$ | | Metric | Measured | Threshold | Verdict | | — | Metric: ^(statements|lines|functions|branches)$Verdict: ^(at-or-above|below)$ |
^## Sonar$ | | Field | Value | | Scope, Finding | Value: \S |
^## Debts$ | | Debt | Gate | Approval | Owner | Expires | Statement | | — | Gate: ^(format|lint|typecheck|build|unit-coverage|integration|e2e|sonar|presentation-sweep)$ |
^## Findings$ | | Code | Gate | Statement | | minRows 1 | Code: ^(PREDECESSOR_CONSUMED|SONAR_NEW_CODE_ONLY|E2E_NOT_REQUESTED|COVERAGE_BELOW_THRESHOLD|FLAKY_CONFIRMED|DEBT_DECLARED)$Statement: \S |
^## Gate verdict$ | | Field | Value | | exactRows 1 | Value: ^(pass|fail)$ |
^## Verdict$ | | Topic | Verdict | Route | | exactRows 9 | Topic: ^(presentation|composition|responsive|motion|accessibility|contrast|render-truth|taste|experience)$Verdict: ^(pass|fail|ship|fix-first|blocked)$Route: ^(resolve|direction|flow-owner|grammar-gap|none)$ |
release-deployment
Tiêu đề: ^# release-deployment — release:[A-Za-z0-9._-]+$
Khung: templates/kinds/release-deployment.skeleton.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Binding$ | | Field | Value | | Operator, Step, Project, Release, Artifact, Digest, Target, Environment, Replaced release, Approval, Manifest, Steady deadline, Rollback identity | Value: \S |
^## Outcome$ | | Field | Value | | exactRows 2 | Value: ^(deployed|rolled-back|none|recover|rollback)$ |
^## Steps$ | | Step | State | Revision before | Revision after | Statement | | minRows 1 | Step: ^(authorize|manifest-validate|plan|execution-root-init|credential-resolve|host-prepare|artifact-build|artifact-publish|migrate|domain-reconcile|rollout|monitor|recover|rollback|proof)$State: ^(applied|no-op|skipped|failed)$Statement: \S |
^## Monitoring$ | | Field | Value | | Deadline, Elapsed, Backoff, Final condition | Value: \S |
^## Steady state$ | | Metric | Value | | — | Value: \S |
^## Findings$ | | Code | Step | Statement | | — | Code: ^(IDEMPOTENT_NO_OP|PROBE_TRANSIENT|TARGET_UNAVAILABLE|SUPERSEDED_TARGET_ACTIVE|FOREIGN_RELEASE_OBSERVED|APPROVED_ACTION_REPEATED|CREDENTIAL_VALUE_IN_OUTPUT)$Statement: \S |
^## Fallbacks taken$ | | Code | Action | | — | Code: ^[A-Z][A-Z0-9_]+$ |
uat-flow-verification
Tiêu đề: ^# uat-flow-verification — [a-z0-9][a-z0-9-]*/[a-z0-9][a-z0-9-]*$
Khung: templates/kinds/uat-flow-verification.skeleton.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Admission$ | | Kind | Ref | Commit | | exactRows 2 | Kind: ^(frontend-surface-audit|quality-verification)$Ref: \SCommit: ^[0-9a-f]{40}$ |
^## Snapshot$ | | Field | Value | | Run, Approval, Feature, Flow, Environment, Commit, Snapshot, Namespace, Accounts, Credential, Flow source, Golden, Run record, Latest | Value: \S |
^## Cases$ | | Case | Order | Assertions | Capture | Screenshot | Outcome | | minRows 1 | Order: ^[1-9][0-9]*$Assertions: \SCapture: ^response/data/captures/[A-Za-z0-9_.-]+.json$Screenshot: ^response/artifacts/[A-Za-z0-9_.-]+.png$Outcome: ^(pass|fail)$ |
^## Lanes$ | | Lane | Verdict | Evidence | | exactRows 3 | Lane: ^(behavior|ux|ui)$Verdict: ^(pass|fail)$Evidence: \S |
^## Experience$ | | Rule | Measured | Score | Verdict | | exactRows 11 | Rule: ^UX-([1-9]|1[01])$Measured: \SScore: ^[1-5]$Verdict: ^(pass|fail|evidence-unavailable)$ |
^## Verdict$ | | Topic | Verdict | Route | | exactRows 1 | Topic: ^experience$Verdict: ^(pass|fail|ship|fix-first|blocked)$Route: ^(resolve|direction|flow-owner|grammar-gap|none)$ |
^## Printed$ | | Artifact | Why | | — | Artifact: ^([^]+|https?://\S+)$<br />Why: \S` |
^## Findings$ | | Code | Statement | | — | Code: ^(CREDENTIAL_VALUE_IN_OUTPUT)$Statement: \S |
^## Fallbacks taken$ | | Code | Action | | — | — |
workspace-route-binding
Tiêu đề: ^# workspace-route-binding — [a-z0-9]+(?:-[a-z0-9]+)*/[a-z0-9]+(?:-[a-z0-9]+)*$
Khung: templates/kinds/workspace-route-binding.skeleton.md
| Mục | Dòng đầu của bảng | Số dòng | Ràng buộc ô |
|---|---|---|---|
^## Binding$ | | Field | Value | | Project, Role, Portable route, Hydrated route, Source head | Value: \S |
^## Checkout$ | | Field | Value | | Disk path, Git root, Git repository, Branch, Repository kind, Directory, Source head, Mutation readiness, Businesses root | Value: \S |
^## Policy$ | | Field | Value | | Worktree branches, Mutation branch | Value: \S |
^## Write roots$ | | Path | Why | | — | Path: \SWhy: \S |
^## Runtime$ | | Field | Value | | — | Value: \S |
^## Findings$ | | Code | Subject | Statement | | minRows 1 | Code: ^(ROUTE_HYDRATED_FROM_PORTABLE|RUNTIME_CONSUMED_NOT_OWNED|IDENTITY_ROSTER_SEALED|PROVENANCE_HEAD_BOUND|CACHED_ROUTE_REUSED|WORKTREE_ANCH_FORBIDDEN|WORKTREE_ ANCH_SESSION_ONLY|RUNTIME_HEAD_CONTAINS_BOUND_COMMIT) $Subject: \SStatement: \S |
Schema cho dữ liệu
| Kind | Tệp | Thuộc tính bắt buộc ở cấp cao nhất |
|---|---|---|
capture | templates/kinds/capture.schema.json | matrixId, viewport, scheme, state, nodes |
checks | templates/kinds/checks.schema.json | serviceRef, serviceKind, requiredCheckNames, checks, findings |
claims | templates/kinds/claims.schema.json | featureId, sourceHead, fingerprint, claims |
conformance | templates/kinds/conformance.schema.json | operationId, facet, verdict, evidenceRef, statement, contractFingerprint |
coverage-matrix | templates/kinds/coverage-matrix.schema.json | featureId, fingerprint, dimensions, discoveredConsumers, discoveredLifecycleBranches, rows |
coverage | templates/kinds/coverage.schema.json | statements, lines, functions, branches, thresholds, evidenceRef |
current-state | templates/kinds/current-state.schema.json | observedHead, fingerprint, components, boundaries |
delta | templates/kinds/delta.schema.json | serviceRef, serviceKind, ownerRef, approvalRef, planSha256, inventoryFingerprint, generation, observedAt, inventoriedResources, observedPortHolders, portClaims, mutableResourceRefs, observationOnlyResourceRefs, allowedEffects, appliedEffects, capabilities, convergence, mutations |
e2e | templates/kinds/e2e.schema.json | unitId, contractFingerprintBefore, contractFingerprintAfter, iterations, maxIterations, tracks, runs |
gate-result | templates/kinds/gate-result.schema.json | gate, required, sourceHead, sessionBranch, predecessorCommit, observedAt, commandRef, configRef, status, exitCode, evidenceRef, classification, sonarScope, debt, statement |
inventory | templates/kinds/inventory.schema.json | treeFingerprint, classNames, ruleIds, gaps |
model | templates/kinds/model.schema.json | featureId, mode, headRef, headFingerprint, state, promise, lineage, claimsFingerprint, coverageFingerprint, reconciliation |
mutations | templates/kinds/mutations.schema.json | mode, contractFingerprint, base, branch, commit, operations, changes |
probes | templates/kinds/probes.schema.json | deadlineSeconds, elapsedSeconds, backoffSeconds, observations, finalCondition |
proof | templates/kinds/proof.schema.json | operationId, proofKind, commandRef, exitCode, result, output, statement, contractFingerprint |
route | templates/kinds/route.schema.json | project, role, portableRouteRef, hydratedRouteRef, routeFingerprint, identityFingerprint, sourceHead, checkout, gitPolicy, mutationReadiness, writeRoots, authorityRoots, runtime, provenanceHeadRef |
stack-model | templates/kinds/stack-model.schema.json | decisionId, selectedAlternativeId, alternatives, boundaries, stores, components, operations |
uat-account | templates/kinds/uat-account.schema.json | env, flow, identity, accounts, plaintextRecorded |
uat-capture | templates/kinds/uat-capture.schema.json | caseId, runId, order, executedAt, screenshotRef, loginFieldMasked, captureStartedAfterRedirect, outcome, assertions |
uat-snapshot | templates/kinds/uat-snapshot.schema.json | runId, approval, feature, flow, env, commit, frozenAt, flowRoot, snapshotRef, snapshotFingerprint, lease, admission, accounts, fixtureNamespace, seed, cases, flowSource, golden, isolation |
uat-verdicts | templates/kinds/uat-verdicts.schema.json | runId, commit, resultRef, latestRef, historyRef, lanes, experience, cleanup |
ui-coverage | templates/kinds/ui-coverage.schema.json | directionId, surfaceClass, actions, regions, states, responsive |
verdicts | templates/kinds/verdicts.schema.json | entries |
writes | templates/kinds/writes.schema.json | mode, base, branch, commit, files, sweep |