Skip to content

docs: design system P2–P4 components, IA v2, xmind-import skill#17

Merged
singyichen merged 20 commits intomainfrom
docs/design-system-p2-components
Apr 1, 2026
Merged

docs: design system P2–P4 components, IA v2, xmind-import skill#17
singyichen merged 20 commits intomainfrom
docs/design-system-p2-components

Conversation

@singyichen
Copy link
Copy Markdown
Owner

@singyichen singyichen commented Apr 1, 2026

Summary

  • Design System MASTER.md: Added P2 (Navbar, Sidebar, Table, Avatar, Tooltip, Mobile Tab Bar, Divider, List) and P3/P4 component specs; translated all content to English only
  • inventory.md: Updated all completed ❌ items to ✅; added English-only rule for MASTER.md
  • profile.html prototype: Fixed navbar height (h-14 → h-16), moved Toast to fixed bottom-right position
  • Information Architecture v2: Rewrote docs/ia/information-architecture.md with user roles, role access matrix, page-level descriptions, navigation flowchart, 3 core user journeys, and SDD reference guide
  • Functional Map: Rebuilt from live XMind API via Playwright MCP; moved to docs/functional-map/functional-map.md; switched from mindmap to flowchart LR syntax
  • /xmind-import skill: New skill that fetches XMind share URLs via Playwright MCP, parses mind map JSON, and outputs Mermaid flowchart LR
  • Housekeeping: Added .playwright-mcp/ and .qodo/ to .gitignore; removed outdated docs/ia/ia-diagram.md

Test plan

  • MASTER.md contains no Chinese text
  • inventory.md all previously-❌ items now ✅ (where defined in MASTER.md)
  • profile.html navbar height is h-16 (64px) consistent with MASTER.md spec
  • Toast renders at fixed bottom-right in profile.html
  • /xmind-import https://app.xmind.com/share/PKjJEIHD docs/functional-map/functional-map.md runs end-to-end and produces valid Mermaid output
  • docs/ia/information-architecture.md contains role access matrix, navigation flowchart, and user journeys
  • .gitignore excludes .playwright-mcp/ and .qodo/

🤖 Generated with Claude Code

singyichen and others added 8 commits March 31, 2026 15:49
Scan all prototype pages (login/dashboard/profile) and document
all UI elements vs MASTER.md coverage. Identifies 8 undefined
components (Toast, Navbar, Sidebar, Mobile Tab Bar, Avatar,
Tooltip, Table, List) and missing variants (Button Danger/Ghost/
Loading, Input Readonly).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Button: add Danger, Ghost, Loading, Disabled variants with
  summary table and When NOT to use guidelines
- Input: add Readonly state spec with Readonly vs Disabled distinction
- Toast: add full spec (Success/Error) with position, z-index,
  auto-dismiss behavior, and Alert Banner vs Toast comparison table

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Navbar: structure, sticky spec, nav link states, mobile drawer,
  accessibility requirements
- Sidebar: width/z-index/spacing spec, nav item states, divider,
  When NOT to use
- Table: full HTML structure, cell specs, overflow-x-auto pattern,
  accessibility (scope/aria-label), When NOT to use

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…e Tab Bar)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@qodo-code-review
Copy link
Copy Markdown

Review Summary by Qodo

Add P1–P4 component specs and translate MASTER.md to English

📝 Documentation ✨ Enhancement

Grey Divider

Walkthroughs

Description
• Add comprehensive P1–P4 component specifications to design/system/MASTER.md
  - P1: Button variants (Danger, Ghost, Loading, Disabled), Input Readonly state, Toast component
  - P2: Navbar, Sidebar, Table with full HTML structure and accessibility specs
  - P3: Avatar (display & uploadable), Tooltip, Mobile Bottom Tab Bar
  - P4: Divider, List (Activity List)
• Translate all Chinese content in MASTER.md to English for AI agent consumption
• Enforce English-only rule for design/system/MASTER.md across governance documents
• Create design/system/inventory.md tracking component coverage (P1–P4 marked ✅)
• Update design-system.pen wireframe with English labels and new component sections
Diagram
flowchart LR
  A["Component Inventory<br/>Gap Analysis"] -->|"Identify 11 components"| B["MASTER.md<br/>Specifications"]
  B -->|"P1: Button, Input, Toast"| C["P1 Specs"]
  B -->|"P2: Navbar, Sidebar, Table"| D["P2 Specs"]
  B -->|"P3: Avatar, Tooltip, Tab Bar"| E["P3 Specs"]
  B -->|"P4: Divider, List"| F["P4 Specs"]
  B -->|"Translate to English"| G["English-only MASTER.md"]
  G -->|"Update governance"| H["Constitution & Templates"]
  B -->|"Visualize components"| I["design-system.pen<br/>Wireframe"]
Loading

Grey Divider

File Changes

1. design/system/MASTER.md Documentation, enhancement +630/-0

Add P1–P4 component specs and translate to English

• Add Button variants: Danger (destructive actions), Ghost (low-emphasis), Loading, Disabled states
 with summary table
• Add Input Readonly state spec with distinction from Disabled; include state comparison table
• Add Toast component (Success/Error) with position, z-index, auto-dismiss (4s), Alert Banner vs
 Toast comparison
• Add Navbar: sticky top navigation with nav links, user menu, mobile drawer, accessibility
 requirements
• Add Sidebar: left fixed navigation (224px width), nav items with active/inactive states, divider,
 desktop-only
• Add Table: full HTML structure, cell specs, overflow-x-auto pattern, accessibility
 (scope/aria-label)
• Add Avatar: small (32px navbar) and large (64/80px profile) with uploadable variant, hover
 overlay, file validation
• Add Tooltip: hover/focus-triggered, positioned above trigger, dark background with arrow,
 keyboard-accessible
• Add Mobile Bottom Tab Bar: fixed bottom navigation (56px height), mobile-only, tab items with
 active state
• Add Divider: horizontal rule, text divider (login "or"), list divider variants with usage
 guidelines
• Add List (Activity List): homogeneous rows with left primary text and right secondary
 (date/score), hover state
• Translate all Chinese content to English throughout

design/system/MASTER.md


2. design/system/inventory.md 📝 Documentation +248/-0

Create component inventory and gap analysis document

• Create new component inventory document tracking all UI elements from prototype pages
• Document status of 11 components (P1–P4) with ✅ (defined), ⚠️ (partial), ❌ (undefined), 🔒
 (archived) markers
• List component variants, styles, page appearances, and MASTER.md coverage status
• Identify gaps: Button (Danger/Ghost/Loading/Disabled), Input (Readonly), Toast, Navbar, Sidebar,
 Table, Avatar, Tooltip, Mobile Tab Bar, Divider, List
• Provide priority ranking (P1–P4) for component spec completion with rationale
• Include scan metadata: scope (design/prototype/), last scan date (2026-03-31), pages scanned

design/system/inventory.md


3. .specify/memory/constitution.md Documentation, configuration changes +2/-1

Enforce English-only rule for MASTER.md

• Update English-First rule to explicitly permit Traditional Chinese in design/system/inventory.md
• Add new rule: design/system/MASTER.md must be English only for AI agent consumption and accurate
 token parsing

.specify/memory/constitution.md


View more (4)
4. .specify/templates/agent-file-template.md 📝 Documentation +1/-1

Update agent template with MASTER.md English-only rule

• Update English-First principle to include design/system/inventory.md in Chinese-permitted
 directories
• Add explicit note that design/system/MASTER.md must be English only

.specify/templates/agent-file-template.md


5. .specify/templates/plan-template.md 📝 Documentation +1/-1

Update plan template governance checklist

• Update VI. English-First checklist item to reference design/system/inventory.md as
 Chinese-permitted
• Add requirement that design/system/MASTER.md must be English only

.specify/templates/plan-template.md


6. CLAUDE.md 📝 Documentation +3/-0

Document MASTER.md English-only requirement in CLAUDE.md

• Add design/system/inventory.md to bilingual-permitted directories list
• Add new "English only" section explicitly documenting design/system/MASTER.md as consumed by AI
 agents
• Clarify that MASTER.md requires English for accurate token parsing by ui-ux-pro-max and Claude
 Code

CLAUDE.md


7. design/wireframes/design-system.pen Documentation, enhancement +1332/-8

Translate wireframe to English and add P2–P4 component sections

• Translate button labels from Chinese to English: "儲存變更" → "Save Changes", "儲存中…" → "Saving…"
• Translate input placeholder: "輸入文字…" → "Enter text…"
• Translate error message: "最多 50 個字元" → "Max 50 characters"
• Translate toast messages: "儲存成功。" → "Saved successfully.", "儲存失敗,請稍後再試。" → "Failed to save. Please
 try again."
• Add new component sections: Status Badges, Alert Banner, Navbar, Sidebar, Table, Avatar, Tooltip,
 Mobile Bottom Tab Bar, Divider, List
• Each section includes visual demonstrations with proper styling and state variations

design/wireframes/design-system.pen


Grey Divider

Qodo Logo

@qodo-code-review
Copy link
Copy Markdown

qodo-code-review bot commented Apr 1, 2026

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (1) 📎 Requirement gaps (0)

Grey Divider


Action required

1. Chinese text in inventory.md 📘 Rule violation ⚙ Maintainability
Description
Traditional Chinese content was introduced in design/system/inventory.md, which is not listed as
an allowed location for non-English text. This violates the English-first requirement and can reduce
repo-wide consistency and agent parsing reliability.
Code

design/system/inventory.md[R3-9]

+> **用途:** 記錄所有 prototype 頁面中出現的 UI elements,對照 MASTER.md 的定義狀態,作為 design system 擴充的依據。
+>
+> **更新規則:** 每次新增 prototype 頁面時,同步更新本文件。新 component 進 prototype 前,必須先在 MASTER.md 定義 token。
+>
+> **掃描範圍:** `design/prototype/` 所有頁面
+> **最後掃描:** 2026-03-31
+> **掃描頁面:** index.html、login.html、dashboard.html、profile.html
Evidence
PR Compliance ID 6 restricts Traditional Chinese to specific locations and explicitly requires
English elsewhere; the newly added design/system/inventory.md includes multiple Traditional
Chinese paragraphs and headings in the added lines.

CLAUDE.md
design/system/inventory.md[3-9]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
Traditional Chinese content was added to `design/system/inventory.md`, but the compliance rule only permits Traditional Chinese in `docs/`, `specs/`, `design/prototype/`, `design/wireframes/`, and `README.zh-TW.md`.
## Issue Context
This PR adds a new component inventory file under `design/system/`. Under PR Compliance ID 6, this location is not permitted to contain Traditional Chinese.
## Fix Focus Areas
- design/system/inventory.md[1-248]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Inventory statuses outdated🐞 Bug ≡ Correctness
Description
design/system/inventory.md still marks Button (Danger/Ghost/Loading), Input (Readonly), and Toast as
not defined in MASTER.md, even though this PR adds those specs to MASTER.md; readers will
incorrectly conclude the design system is incomplete.
Code

design/system/inventory.md[R26-55]

+### ✅ Button
+
+**MASTER.md 狀態:** 已定義(Primary + Secondary)
+
+| 變體 | 樣式 | 出現頁面 | MASTER.md |
+|------|------|----------|-----------|
+| Primary (CTA) | `bg-cta` hover:opacity-90 translateY(-1px) | login, dashboard, profile | ✅ |
+| Secondary | `border-primary text-primary` transparent bg | dashboard | ✅ |
+| Danger | `text-red-600 hover:bg-red-50 hover:border-red-200` | dashboard (logout) | ❌ 未定義 |
+| Ghost / Text | `text-primary` underline on hover | dashboard (view all) | ❌ 未定義 |
+| OAuth (Google/GitHub) | `border-slate-200 bg-white` + 品牌 icon | login | ❌ 未定義 |
+| Icon-only | `w-9 h-9` no label, icon only | dashboard (mobile menu) | ❌ 未定義 |
+| Language Toggle | `border-slate-200 rounded-full` | login, dashboard, profile | ❌ 未定義 |
+
+**缺少規格:** Loading 狀態(spinner + opacity-70 + cursor-not-allowed)、Disabled 狀態、Danger 變體、Ghost 變體
+
+---
+
+### ✅ Input
+
+**MASTER.md 狀態:** 已定義(Normal + Focus + Error)
+
+| 變體 | 樣式 | 出現頁面 | MASTER.md |
+|------|------|----------|-----------|
+| Normal | `border-slate-200 rounded-lg` focus:ring-primary | profile | ✅ |
+| Error | `border-red-400` focus:ring-red-400 | profile | ✅ |
+| Readonly / Disabled | `bg-slate-50 border-slate-100 cursor-not-allowed` | profile (email) | ❌ 未定義 |
+
+**缺少規格:** Readonly 狀態、字元計數提示(character counter)、必填標記(required indicator)
+
Evidence
inventory.md reports variants/states as “❌ 未定義” / “MASTER.md 狀態:未定義”, but MASTER.md in this PR now
contains explicit specs for those items (Button Danger/Ghost/Loading/Disabled, Input Readonly, and
Toast). This makes inventory.md’s current-state tracking incorrect after the PR is merged.

design/system/inventory.md[26-55]
design/system/inventory.md[107-110]
design/system/MASTER.md[186-254]
design/system/MASTER.md[297-320]
design/system/MASTER.md[378-434]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`design/system/inventory.md` is meant to reflect the current definition status in `design/system/MASTER.md`, but it still labels several components/variants as “not defined” even though this PR adds their specs to MASTER.
### Issue Context
This PR’s stated goal includes marking P1–P4 components as completed and adding missing component specs to `MASTER.md`. After the merge, inventory should reflect the new reality.
### Fix Focus Areas
- design/system/inventory.md[26-55]
- design/system/inventory.md[96-118]
- design/system/inventory.md[121-217]
### What to change
- Update the **Button** section to mark Danger/Ghost/Loading/Disabled as defined (✅) and remove/adjust the “缺少規格” line accordingly.
- Update the **Input** section to mark Readonly as defined (✅) and adjust missing-spec notes.
- Update the **Toast** section to ✅ (and update the explanatory text if needed).
- For Navbar/Sidebar/Table/Avatar/Tooltip/Bottom Tab Bar/Divider/List sections: change “MASTER.md 狀態:未定義” to ✅ where applicable (since the specs were added in this PR).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools



Remediation recommended

3. Profile navbar spec drift🐞 Bug ⚙ Maintainability
Description
MASTER.md now specifies the Navbar as h-16 and sticky top-0, but the existing Profile prototype
uses an h-14 non-sticky header; this creates conflicting guidance for Pattern C/Profile pages.
Code

design/system/MASTER.md[R440-452]

+### Navbar
+
+Top sticky navigation bar used in Pattern A (Dashboard) and Pattern C (Profile) pages.
+
+**Specs:**
+
+| Property | Value |
+|----------|-------|
+| Height | `h-16` (64px) |
+| Background | `bg-white` |
+| Bottom border | `border-b border-slate-200` |
+| Position | `sticky top-0 z-[200]` |
+| Content width | `max-w-7xl mx-auto px-4 sm:px-6 lg:px-8` |
Evidence
The new Navbar spec in MASTER.md defines a 64px sticky header for both Dashboard and Profile
patterns, but the Profile prototype currently implements a 56px non-sticky header. Dashboard already
uses h-16, so current prototypes are inconsistent with each other and with the new spec.

design/system/MASTER.md[440-452]
design/prototype/pages/profile.html[64-67]
design/prototype/pages/dashboard.html[38-41]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The new Navbar spec conflicts with the existing Profile page implementation. This will cause confusion for anyone using MASTER.md as the source of truth.
### Issue Context
MASTER.md says Navbar is used in Pattern A (Dashboard) and Pattern C (Profile). The dashboard prototype already matches `h-16`, but profile does not.
### Fix Focus Areas
- design/system/MASTER.md[440-476]
- design/prototype/pages/profile.html[64-67]
### What to change (pick one approach)
1) **Update the Profile prototype** to match the Navbar spec (use `h-16` and `sticky top-0 z-[200]`), OR
2) **Update MASTER.md** to explicitly define a second variant (e.g., “Compact Navbar” for Pattern C) with `h-14` and non-sticky behavior, and state when to use each.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


4. Toast spec drift🐞 Bug ≡ Correctness
Description
MASTER.md specifies Toast as a fixed bottom-right overlay (fixed bottom-6 right-6 z-[400]), but
the Profile prototype’s toast is rendered inline in the main content with margin spacing; the
component behavior/placement is inconsistent.
Code

design/system/MASTER.md[R382-388]

+```html
+<!-- Toast container — fixed position, right bottom -->
+<div
+  id="toast"
+  class="hidden fixed bottom-6 right-6 z-[400] max-w-sm w-full"
+  aria-live="polite"
+  aria-atomic="true"
Evidence
MASTER.md’s Toast HTML/spec defines a fixed-position overlay. The Profile prototype’s #toast lives
in the normal document flow (mb-5 ...) rather than being fixed, so implementing per spec will
materially change layout and interaction expectations.

design/system/MASTER.md[382-388]
design/prototype/pages/profile.html[145-152]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
Toast placement/positioning differs between the design-system spec and the Profile prototype.
### Issue Context
MASTER.md states Toast is a fixed overlay (bottom-right) and should sit above modal (z=400). The profile prototype currently uses an inline element near the top of the main column.
### Fix Focus Areas
- design/system/MASTER.md[378-427]
- design/prototype/pages/profile.html[145-157]
### What to change (pick one approach)
1) Update the **Profile prototype** toast to match MASTER.md: `fixed bottom-6 right-6 z-[400] max-w-sm w-full` (and adjust spacing so it doesn’t depend on `mb-5`), OR
2) Update **MASTER.md** to specify that there are two patterns (inline “banner-like toast” vs fixed overlay), and rename one of them to avoid mixing semantics (e.g., keep inline as Alert Banner and reserve Toast for fixed overlays).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

devin-ai-integration[bot]

This comment was marked as resolved.

qodo-code-review[bot]

This comment was marked as resolved.

singyichen and others added 2 commits April 1, 2026 14:32
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…in MASTER.md

- Unify navbar height to h-16 (64px) across MASTER.md Page Shell Patterns and profile.html
- Replace full-width Chinese colon in Tooltip CSS section with standard colon

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
devin-ai-integration[bot]

This comment was marked as resolved.

singyichen and others added 2 commits April 1, 2026 14:40
- Relocate Toast from inline position to fixed bottom-6 right-6 z-[400]
- Add toast-inner wrapper div for color class targeting
- Update showToast() to apply color classes to inner wrapper

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…x → 768px)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
devin-ai-integration[bot]

This comment was marked as resolved.

singyichen and others added 6 commits April 1, 2026 14:51
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add /xmind-import skill (.claude/skills/xmind-import/SKILL.md):
  uses Playwright MCP to fetch XMind share URL content API,
  parse mind map JSON, and generate Mermaid flowchart LR
- Update .claude/SKILLS.md index to include xmind-import
- Add .playwright-mcp/ to .gitignore
- Rebuild functional-map.md from live XMind API (more complete
  node structure vs previous hand-crafted version); move from
  docs/diagrams/functional-map/ to docs/functional-map/
- Rewrite docs/ia/information-architecture.md as full IA v2:
  user roles, page inventory, role access matrix, navigation
  flowchart, page-level descriptions, 3 core user journeys,
  and SDD reference guide
- Remove outdated docs/ia/ia-diagram.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@singyichen singyichen changed the title docs: add P2–P4 component specs and translate MASTER.md to English docs: design system P2–P4 components, IA v2, xmind-import skill Apr 1, 2026
devin-ai-integration[bot]

This comment was marked as resolved.

singyichen and others added 2 commits April 1, 2026 16:19
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- SKILLS.md: move /xmind-import from System Design table to dedicated
  Diagramming subsection; section header now correctly shows 6 skills
- profile.html: move toast HTML before <script> block so applyLang()
  can translate aria-toast-close on initial page load

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@singyichen singyichen merged commit 3ee9ae0 into main Apr 1, 2026
6 checks passed
@singyichen singyichen deleted the docs/design-system-p2-components branch April 1, 2026 09:03
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 2 new potential issues.

View 10 additional findings in Devin Review.

Open in Devin Review


<!-- ── Toast — fixed bottom-right (per design system spec) ── -->
<div id="toast"
class="hidden fixed bottom-6 right-6 z-[400] max-w-sm w-full"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Toast container overflows left viewport edge on mobile due to w-full combined with right-6

The toast container uses class="fixed bottom-6 right-6 z-[400] max-w-sm w-full". On mobile viewports, w-full resolves to 100% of the viewport width (e.g. 390px on iPhone 14), capped at 384px by max-w-sm. With right: 24px, the left edge computes to 390 - 24 - 384 = -18px, causing 18px of the toast (left padding + partial icon) to be clipped by the viewport. On a 375px viewport (listed in the MASTER.md pre-delivery checklist at design/system/MASTER.md:993), the overflow increases to 24px. The same classes appear in the MASTER.md Toast spec at design/system/MASTER.md:386, so the implementation faithfully follows a flawed spec.

Fix options

Remove w-full so the toast sizes to its content up to max-w-sm, or replace right-6 with responsive margin classes like mx-6 md:ml-auto md:mr-6.

Prompt for agents
Fix the toast container mobile overflow in two files:

1. design/prototype/pages/profile.html line 313: Change the toast outer div classes from
   class="hidden fixed bottom-6 right-6 z-[400] max-w-sm w-full"
   to remove w-full so the toast sizes to its content. Alternatively, use
   class="hidden fixed bottom-6 left-6 right-6 z-[400] max-w-sm ml-auto"
   which constrains from both sides and pushes the toast to the right via ml-auto.

2. design/system/MASTER.md line 386: Update the Toast spec HTML example to use the same corrected classes, so future pages built from the spec don't reproduce the bug.
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Comment on lines +50 to +51
- Traditional Chinese is permitted in `docs/`, `specs/`, `design/prototype/`, `design/wireframes/`, and `design/system/inventory.md` to accelerate research documentation and UI iteration
- `design/system/MASTER.md` must be written in English only — it is consumed by AI agents and requires accurate token parsing
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Constitution amended without version bump or date update, violating its own governance rules

Lines 50–51 add new rules to Principle VI (English-First): design/system/inventory.md is now Chinese-allowed and design/system/MASTER.md must be English-only. However, the version at .specify/memory/constitution.md:71 still reads 1.2.3 | Last Amended: 2026-03-30. The constitution's own Amendment Procedure (.specify/memory/constitution.md:58-62) requires bumping the version (this is at least a PATCH → 1.2.4) and using commit message format docs: amend constitution to vX.Y.Z ([reason]). Neither was done.

Prompt for agents
In .specify/memory/constitution.md, update line 71 from:
  **Version**: 1.2.3 | **Ratified**: 2026-03-18 | **Last Amended**: 2026-03-30
to:
  **Version**: 1.2.4 | **Ratified**: 2026-03-18 | **Last Amended**: 2026-04-01

Then amend the commit message for the constitution change to follow the required format:
  docs: amend constitution to v1.2.4 (add inventory.md Chinese exception and MASTER.md English-only rule)
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

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.

1 participant