Skip to content

docs: amend constitution to v1.13.0 for preset governance#24

Merged
hindermath merged 1 commit intomainfrom
chore/constitution-preset-governance
May 5, 2026
Merged

docs: amend constitution to v1.13.0 for preset governance#24
hindermath merged 1 commit intomainfrom
chore/constitution-preset-governance

Conversation

@hindermath
Copy link
Copy Markdown
Owner

Purpose

Synchronize the project constitution and Spec-Kit templates after integrating the six governance presets.

Touched projects / areas

  • Constitution mirrors: constitution.md, .specify/memory/constitution.md
  • Spec-Kit templates and command templates
  • Agent guidance surfaces: AGENTS.md, CLAUDE.md, GEMINI.md, .github/copilot-instructions.md
  • Statistics ledger: docs/project-statistics.md

Test evidence

  • git diff --check
  • Verified constitution.md and .specify/memory/constitution.md are identical
  • Pre-push secret scan passed

Config/API impact

Documentation and governance templates only; no runtime config or API behavior change.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 5, 2026 09:34
@hindermath hindermath merged commit 299d19a into main May 5, 2026
14 of 15 checks passed
@hindermath hindermath deleted the chore/constitution-preset-governance branch May 5, 2026 09:35
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository’s governance baseline by amending the constitution to v1.13.0 and synchronizing the corresponding Spec-Kit templates, command templates, agent guidance surfaces, and the project statistics ledger so the new preset governance requirements are consistently captured across the repo.

Changes:

  • Bump constitution/mirror to v1.13.0, adding cross-platform scripting discipline, stronger A11Y evidence expectations, CRA awareness, and general iSAQB/arc42 architecture governance.
  • Expand Spec-Kit templates/command templates with new evidence prompts for A11Y, architecture, MSL, secure-coding language rules, and CRA applicability.
  • Update agent guidance surfaces and docs/project-statistics.md to reflect the new governance/evidence paths.

Reviewed changes

Copilot reviewed 33 out of 33 changed files in this pull request and generated 14 comments.

Show a summary per file
File Description
constitution.md Updates governance to v1.13.0 incl. A11Y evidence routing, scripting discipline, CRA awareness, and general architecture governance.
.specify/memory/constitution.md Mirrors constitution.md v1.13.0 to keep Spec-Kit memory in sync.
AGENTS.md Syncs agent guidance with new architecture governance + expanded security documentation list.
CLAUDE.md Syncs agent guidance with new architecture governance + expanded security documentation list.
GEMINI.md Syncs agent guidance with new architecture governance + expanded security documentation list.
.github/copilot-instructions.md Syncs Copilot guidance with new architecture governance + expanded security documentation list.
docs/project-statistics.md Advances the ledger date and records the governance/template sync as a new entry.
.specify/templates/plan-template.md Adds planning prompts for general architecture evidence, CRA/MSL, and A11Y evidence/code-block tagging.
.specify/templates/spec-template.md Adds constitution requirements for iSAQB/arc42 evidence, code-block language tags, and CRA evidence path.
.specify/templates/tasks-template.md Adds foundational tasks for A11Y evidence, code-block tagging checks, CRA/MSL evidence, architecture evidence, and script parity evidence.
.specify/templates/commands/constitution.md Ensures constitution updates include preset-provided evidence templates and applicability markings.
.specify/templates/commands/spec.md Expands spec command guidance to include A11Y evidence, architecture evidence, and CRA/MSL/supply-chain impacts.
.specify/templates/commands/plan.md Expands plan command guidance to include A11Y/code-block tagging, architecture evidence, and CRA/MSL/supply-chain scope.
.specify/templates/commands/tasks.md Expands tasks command guidance to include A11Y, security, and architecture evidence tasks.
.specify/templates/a11y-checklist-template.md Introduces a WCAG 2.2 AA checklist template.
.specify/templates/a11y-evidence-template.md Introduces an accessibility evidence record template.
.specify/templates/cli-a11y-review-template.md Introduces a CLI-specific accessibility review template.
.specify/templates/bilingual-content-check-template.md Introduces a bilingual content/orthography equivalence checklist template.
.specify/templates/agent-parity-checklist-template.md Introduces an agent-surface parity checklist template.
.specify/templates/man-page-template.md Introduces a Unix man-page template for script-shaped tools.
.specify/templates/powershell-help-template.md Introduces a PowerShell comment-based help template (bilingual).
.specify/templates/script-parity-checklist-template.md Introduces a script parity checklist template (Bash/PowerShell equivalence + docs).
.specify/templates/architecture-vision-template.md Introduces an architecture vision template.
.specify/templates/context-view-template.md Introduces an arc42-style context view template.
.specify/templates/building-block-view-template.md Introduces an arc42-style building-block view template.
.specify/templates/runtime-view-template.md Introduces a runtime view template.
.specify/templates/deployment-view-template.md Introduces a deployment view template.
.specify/templates/architecture-decision-template.md Introduces a general architecture ADR template.
.specify/templates/architecture-risks-template.md Introduces an architecture risks/technical debt template.
.specify/templates/quality-scenarios-template.md Introduces a quality scenarios template to capture measurable quality attributes.
.specify/templates/msl-applicability-template.md Introduces an MSL applicability record template aligned with Principle XI.
.specify/templates/secure-coding-language-rules-template.md Introduces a language-specific secure-coding evidence template.
.specify/templates/cra-applicability-template.md Introduces a CRA applicability record template aligned with Principle XIX.

Comment thread AGENTS.md
## Allgemeine Architektur-Governance / General Architecture Governance

- Struktur-, Schnittstellen-, Qualitätsattribut-, Laufzeit-, Deployment- oder Wartbarkeitsänderungen müssen iSAQB/arc42-Architekturevidenz prüfen.
- Standardpfad: `docs/architecture/`; ADRs fuer allgemeine Architekturentscheidungen liegen unter `docs/architecture/adr/`.
Comment thread AGENTS.md
- Verfügbare Templates: `architecture-vision-template.md`, `context-view-template.md`, `building-block-view-template.md`, `runtime-view-template.md`, `deployment-view-template.md`, `architecture-decision-template.md`, `architecture-risks-template.md`, `quality-scenarios-template.md`.

*Structural, interface, quality-attribute, runtime, deployment, or maintainability changes must evaluate iSAQB/arc42 architecture evidence. Default path: `docs/architecture/`; general architecture ADRs live under `docs/architecture/adr/`. Use the matching templates when the artefact applies.*
## Sicherheitsdokumentation / Security Documentation (XII–XVIII Extensions)
Comment thread AGENTS.md
- Bei Release-/Artefakt-Arbeit `SBOM`, `VEX`, Provenance/SLSA-Nachweise und gegebenenfalls `OpenSSF Scorecard` in Release- oder Sicherheitsdokumentation einplanen.
- Bei Architekturänderungen `Zero Trust`-Anwendbarkeit und bei langlebigen Projekten `SAMM`-Folgeaktionen prüfen.
- Bei allgemeinen Architekturänderungen iSAQB/arc42-Evidenz unter `docs/architecture/` prüfen.
- Bei A11Y-relevanten Artefakten `docs/accessibility/`-Evidenz und Sprach-Tags fuer Markdown-Codebloecke pruefen.
Comment thread CLAUDE.md
## Allgemeine Architektur-Governance / General Architecture Governance

- Struktur-, Schnittstellen-, Qualitätsattribut-, Laufzeit-, Deployment- oder Wartbarkeitsänderungen müssen iSAQB/arc42-Architekturevidenz prüfen.
- Standardpfad: `docs/architecture/`; ADRs fuer allgemeine Architekturentscheidungen liegen unter `docs/architecture/adr/`.
Comment thread CLAUDE.md
- Verfügbare Templates: `architecture-vision-template.md`, `context-view-template.md`, `building-block-view-template.md`, `runtime-view-template.md`, `deployment-view-template.md`, `architecture-decision-template.md`, `architecture-risks-template.md`, `quality-scenarios-template.md`.

*Structural, interface, quality-attribute, runtime, deployment, or maintainability changes must evaluate iSAQB/arc42 architecture evidence. Default path: `docs/architecture/`; general architecture ADRs live under `docs/architecture/adr/`. Use the matching templates when the artefact applies.*
## Sicherheitsdokumentation / Security Documentation (XII–XVIII Extensions)
## Allgemeine Architektur-Governance / General Architecture Governance

- Struktur-, Schnittstellen-, Qualitätsattribut-, Laufzeit-, Deployment- oder Wartbarkeitsänderungen müssen iSAQB/arc42-Architekturevidenz prüfen.
- Standardpfad: `docs/architecture/`; ADRs fuer allgemeine Architekturentscheidungen liegen unter `docs/architecture/adr/`.
- Verfügbare Templates: `architecture-vision-template.md`, `context-view-template.md`, `building-block-view-template.md`, `runtime-view-template.md`, `deployment-view-template.md`, `architecture-decision-template.md`, `architecture-risks-template.md`, `quality-scenarios-template.md`.

*Structural, interface, quality-attribute, runtime, deployment, or maintainability changes must evaluate iSAQB/arc42 architecture evidence. Default path: `docs/architecture/`; general architecture ADRs live under `docs/architecture/adr/`. Use the matching templates when the artefact applies.*
## Sicherheitsdokumentation / Security Documentation (XII–XVIII Extensions)
- Bei Release-/Artefakt-Arbeit `SBOM`, `VEX`, Provenance/SLSA-Nachweise und gegebenenfalls `OpenSSF Scorecard` in Release- oder Sicherheitsdokumentation einplanen.
- Bei Architekturänderungen `Zero Trust`-Anwendbarkeit und bei langlebigen Projekten `SAMM`-Folgeaktionen prüfen.
- Bei allgemeinen Architekturänderungen iSAQB/arc42-Evidenz unter `docs/architecture/` prüfen.
- Bei A11Y-relevanten Artefakten `docs/accessibility/`-Evidenz und Sprach-Tags fuer Markdown-Codebloecke pruefen.
| 2026-04-19 | Dritter Docs-Hotfix fuer DocFX-Theme-A11Y | Der Pages-Workflow bekam einen gezielten Nachbearbeitungsschritt fuer generierte DocFX-Ausgabe: `.github/scripts/postprocess-docfx-site.sh` setzt ein `lang="de"` auf allen HTML-Seiten, markiert das Navbar-Logo als dekorativ statt mit redundantem Alternativtext und entfernt das unzulaessige `aria-expanded` sowohl aus statischem HTML als auch aus dem generierten `public/docfx.min.js`, das den Theme-Dropdown zur Laufzeit rendert. Direkt danach prueft der Workflow mit `rg`, dass weder in `_site` noch im ausgelieferten DocFX-JavaScript ungepatchte Muster verbleiben, bevor `lynx` und Playwright/Axe laufen. Sichtbares Zusatzvolumen dieser Runde: ca. `+20` Workflow-/Skriptzeilen sowie `+1` Statistikzeile netto. Konservative Manualreferenz: grob `21 / 80 = 0.3` Arbeitstage bzw. `2.0` Stunden; Thorsten-Solo-Referenz: `21 / 100 = 0.2` Arbeitstage bzw. `1.6` Stunden; sichtbares Arbeitsfenster: fortgesetzte agentische Sitzung am 2026-04-19. |
| 2026-04-19 | Pages-Hotfix und Auto-Merge aktiviert | Nach dem Merge von PR `#19` schlug der neue Docs-Workflow im Schritt `Axe smoke check` fehl, weil das temporaer unter `/tmp` abgelegte Node-Skript die lokal installierten Pakete `@playwright/test` und `@axe-core/playwright` nicht aufloesen konnte. Der Workflow wurde deshalb so nachgebessert, dass das Smoke-Skript im Repository-Workspace erzeugt und nach dem Lauf wieder entfernt wird. Parallel wurde die globale Repository-Einstellung `allow_auto_merge` per GitHub-API auf `true` gesetzt, damit kuenftige PRs bei passenden Schutzregeln automatisch gemerged werden koennen. Sichtbares Zusatzvolumen dieser Runde: ca. `+5` Produktions-/Konfigurationszeilen netto im Workflow plus `+1` Dokumentationszeile netto in diesem Ledger. Konservative Manualreferenz: grob `6 / 80 = 0.1` Arbeitstage bzw. `0.6` Stunden; Thorsten-Solo-Referenz: `6 / 100 = 0.1` Arbeitstage bzw. `0.5` Stunden; sichtbares Arbeitsfenster: fortgesetzte agentische Sitzung am 2026-04-19. |
| 2026-04-19 | Zweiter Docs-Hotfix fuer Axe/Playwright-Kontext | Der erste Workflow-Hotfix beseitigte zwar das Paketauflösungsproblem, der folgende Lauf scheiterte aber erneut daran, dass `@axe-core/playwright` nicht mit `browser.newPage()` betrieben werden darf. Der Smoke-Test verwendet jetzt explizit `browser.newContext()` und erzeugt die Seite daraus, bevor `AxeBuilder` ausgeführt wird. Sichtbares Zusatzvolumen dieser Runde: ca. `+3` Produktions-/Konfigurationszeilen netto im Workflow plus `+1` Dokumentationszeile netto in diesem Ledger. Konservative Manualreferenz: grob `4 / 80 = 0.1` Arbeitstage bzw. `0.4` Stunden; Thorsten-Solo-Referenz: `4 / 100 = 0.0` Arbeitstage bzw. `0.3` Stunden; sichtbares Arbeitsfenster: fortgesetzte agentische Sitzung am 2026-04-19. |
| 2026-05-05 | Spec-Kit-Preset-Governance auf Constitution v1.13.0 synchronisiert | Nach der Integration der sechs Spec-Kit-Presets (`a11y-governance`, `agent-parity-governance`, `architecture-governance`, `cross-platform-governance`, `isaqb-architecture-governance`, `security-governance`) wurden `constitution.md`, `.specify/memory/constitution.md`, die Spec-Kit-Plan-/Spec-/Tasks-/Command-Templates sowie die vier Agentenflaechen synchronisiert. Neu erfasst sind iSAQB/arc42-Architekturevidenz unter `docs/architecture/`, A11Y-Evidenz unter `docs/accessibility/`, sprachgetaggte Markdown-Codebloecke, CRA-/MSL-/Secure-Coding-Evidenz und Cross-Platform-/Agent-Parity-Templates. Sichtbares Zusatzvolumen vor dieser Ledger-Zeile: ca. `+1269` Dokumentations-/Template-Zeilen netto, `0` Produktionscode-Zeilen und `0` Testcode-Zeilen. Konservative Manualreferenz: `1269 / 80 = 15.9` Arbeitstage bzw. `123.8` Stunden; Thorsten-Solo-Referenz: `1269 / 100 = 12.7` Arbeitstage bzw. `99.0` Stunden; sichtbares Arbeitsfenster: 1 agentische Governance-Sitzung am 2026-05-05. |
Comment on lines +17 to +19
checklist. It is referenced from `tasks-template` for any change that
touches input handling, authentication, authorisation, cryptography,
file I/O, or network I/O.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants