Skip to content

Commit e77a7a3

Browse files
committed
merge: reconcile context rollover with resume policy
Generated-By: looper 0.11.8 (runner=fixer, agent=codex)
2 parents 4583df9 + 9caec80 commit e77a7a3

4,154 files changed

Lines changed: 81098 additions & 47296 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

β€Ž.claude-plugin/marketplace.jsonβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"name": "nexu-io",
66
"url": "https://github.com/nexu-io/open-design"
77
},
8-
"description": "Open Design β€” local-first design app exposed to coding agents over MCP. Install once with your agent's plugin command and projects/files/skills are reachable through stdio.",
8+
"description": "OpenDesign β€” local-first design app exposed to coding agents over MCP. Install once with your agent's plugin command and projects/files/skills are reachable through stdio.",
99
"plugins": [
1010
{
1111
"name": "open-design",
1212
"source": "./plugins/open-design",
13-
"description": "Open Design MCP server (stdio). 139 skills + projects/files/preview tools, served by your local `od` daemon. Requires `od` on PATH (brew / npm / DMG)."
13+
"description": "OpenDesign MCP server (stdio). 139 skills + projects/files/preview tools, served by your local `od` daemon. Requires `od` on PATH (brew / npm / DMG)."
1414
}
1515
]
1616
}

β€Ž.claude/skills/od-contribute/SKILL.mdβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: od-contribute
3-
description: One-click contribution flow for Open Design (nexu-io/open-design) β€” even for non-coders. Pick one of four cards (ship a Skill or Design System you made with OD; translate docs; fix a typo / write a blog; report a bug), the agent validates and opens a PR (or issue) for you. Trigger words contribute to open design, ship my OD skill, ship my OD design system, translate OD docs, report an OD bug, od-contribute.
3+
description: One-click contribution flow for OpenDesign (nexu-io/open-design) β€” even for non-coders. Pick one of four cards (ship a Skill or Design System you made with OD; translate docs; fix a typo / write a blog; report a bug), the agent validates and opens a PR (or issue) for you. Trigger words contribute to open design, ship my OD skill, ship my OD design system, translate OD docs, report an OD bug, od-contribute.
44
allowed-tools:
55
- Bash
66
- Read
@@ -12,7 +12,7 @@ allowed-tools:
1212
- WebFetch
1313
---
1414

15-
# od-contribute β€” first-contribution flow for Open Design
15+
# od-contribute β€” first-contribution flow for OpenDesign
1616

1717
Locked to `nexu-io/open-design`. Branches by **contribution type**, not by issue. Replaces the dev-loop with type-specific no-code validators. Designed so a product user with zero coding background can ship a real PR.
1818

@@ -317,4 +317,4 @@ Print the PR URL on its own line. Done.
317317
## When NOT to use this skill
318318

319319
- The user wants to fix a daemon / web bug or add a feature with code changes β†’ use `auto-github-contributor` instead (it has the TDD loop). This skill deliberately doesn't run lint/typecheck/tests because content paths don't need them.
320-
- The user wants to *generate* a Skill / Design System from scratch β†’ that's Open Design itself. Run OD first, get an artifact, then come back here to ship it.
320+
- The user wants to *generate* a Skill / Design System from scratch β†’ that's OpenDesign itself. Run OD first, get an artifact, then come back here to ship it.

β€Ž.claude/skills/od-contribute/agents/openai.yamlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# Not required β€” Codex loads SKILL.md regardless.
44

55
interface:
6-
display_name: "Open Design β€” Contribute"
6+
display_name: "OpenDesign β€” Contribute"
77
short_description: "Ship a Skill / Design System / translation / typo fix to nexu-io/open-design without writing code."
8-
default_prompt: "I want to contribute to Open Design."
8+
default_prompt: "I want to contribute to OpenDesign."
99

1010
policy:
1111
# Allow Codex to surface this skill when the user mentions OD contribution

β€Ž.claude/skills/od-contribute/install.shβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,15 @@ cyan "How to use it:"
122122
cat <<'EOF'
123123
124124
In Claude Code: type /od-contribute in any chat.
125-
In Codex CLI: type @od-contribute or pick "Open Design β€” Contribute" from /skills.
125+
In Codex CLI: type @od-contribute or pick "OpenDesign β€” Contribute" from /skills.
126126
In other agents: ask the agent to follow ~/.claude/skills/od-contribute/SKILL.md
127127
128128
The skill walks you through one of:
129129
130-
* shipping a Skill or Design System you made with Open Design
130+
* shipping a Skill or Design System you made with OpenDesign
131131
* translating a doc to a new language
132132
* fixing a typo or writing a use-case blog
133133
* reporting a clean bug
134134
135-
Need help? Open Design Discord: https://discord.gg/qhbcCH8Am4
135+
Need help? OpenDesign Discord: https://discord.gg/qhbcCH8Am4
136136
EOF

β€Ž.claude/skills/od-contribute/scripts/validate-design-system.shβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
# Validate a user-supplied DESIGN.md (Open Design "design system" submission).
2+
# Validate a user-supplied DESIGN.md (OpenDesign "design system" submission).
33
# Usage: validate-design-system.sh <DESIGN.md path> [--reference <existing-DESIGN.md>]
44
#
55
# Strategy: instead of hardcoding a schema, we read 1-3 existing DESIGN.md files

β€Ž.claude/skills/od-contribute/templates/ISSUE-BODY-bug.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
{{EXPECTED}}
1212

13-
### Open Design version
13+
### OpenDesign version
1414

1515
{{OD_VERSION}}
1616

β€Ž.github/AGENTS.mdβ€Ž

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ Before changing GitHub automation, read the current versions of:
1111
- `.github/workflows/autofix.atom.yml`
1212
- `.github/workflows/report.atom.yml`
1313
- `.github/scripts/handoff.py`
14-
- `scripts/scopes.ts`
15-
- `specs/current/ci.md` when changing scope rules, confidence tiers, or guards
14+
- `.github/config/runners.json`, `.github/config/scopes.json`, and `.github/config/hash.json`
15+
- `.github/scripts/runners.py`, `.github/scripts/scopes.py`, and `.github/scripts/hash.py`
16+
- `specs/current/ci.md` when changing scope rules, confidence tiers, or planner invariants
1617
- `e2e/tests/packaged-smoke-workflow.test.ts`
1718
- `scripts/approve-fork-pr-workflows.ts` and `e2e/tests/scripts/approve-fork-pr-workflows.test.ts` when touching fork PR approval behavior
1819

@@ -26,7 +27,7 @@ Business layer:
2627

2728
- Business workflows decide what happened and what should be requested next.
2829
- `ci.yml` is the main low-privilege PR, merge-queue, and manual validation gate (application merge bar only).
29-
- `ci.yml` should run validation, decide scopes, and produce typed handoff artifacts.
30+
- `ci.yml` should resolve runners, compose scope and hash decisions in its Linux `plan` job, run validation, and produce typed handoff artifacts.
3031
- Packaging checks are standalone and outside the merge gate: `nix.yml` (flake check) and `docker-image.yml` (image validate + publish). Do not re-attach them to `Validate workspace`.
3132
- Business workflows should not perform trusted writes to PR comments or branches when a capability workflow can do it.
3233

@@ -51,6 +52,21 @@ Default rule: do not add a new domain-specific follow-on workflow such as `foo.c
5152

5253
New workflow-owned helpers should usually live under `.github/scripts/`. Prefer TypeScript for project-owned scripts in general, but Python is acceptable for small GitHub runner glue when stdlib portability and low setup cost matter. Keep such exceptions narrow and covered by `pnpm guard` policy.
5354

55+
The CI control plane is deliberately Linux-only and stdlib-only. Runner classes,
56+
scope rules, and hash declarations live in `.github/config/`; their Python
57+
entrypoints initialize metadata before workload runners start. A Windows job
58+
must never invoke these scripts. Keep the four layers independent: runner
59+
placement, changed-file scopes, input hashes, and fine-grained commands inside
60+
a workload.
61+
62+
`hash.py` is a static comparison register, not a success cache. It reads the
63+
previous identity-to-hash map restored by Actions cache, computes the current
64+
map from Git inputs, and replaces the local state immediately. The plan carries
65+
that pending map to `validate`, which publishes it only after the gate succeeds;
66+
a failed run therefore cannot authorize identical-input skips on a fresh retry.
67+
Only a workload's YAML `if` gives the comparison skip semantics; cache loss or
68+
corruption starts cold.
69+
5470
## Handoff contract
5571

5672
Use `.github/scripts/handoff.py` for all CI follow-on artifact names and paths. The canonical layout is:
@@ -125,13 +141,14 @@ Keep `.github/workflows/ci.yml` as the only approved workflow path unless a main
125141
- Same-repo patch: produce `handoff/autofix` and let `autofix.atom.yml` consume it.
126142
- Rich/generated comment: produce `handoff/report` and let `report.atom.yml` materialize and upsert it.
127143
- New naming, paths, or metadata: update `.github/scripts/handoff.py`.
128-
2. Update scope routing in `scripts/scopes.ts` when a workflow/script should trigger a validation lane.
129-
3. Update topology coverage in `e2e/tests/packaged-smoke-workflow.test.ts` or the relevant script test.
130-
4. Run the focused checks:
144+
2. Update scope routing in `.github/config/scopes.json`, then run `python3 .github/scripts/scopes.py validate`.
145+
3. Declare workload input closure in `.github/config/hash.json`; use `"*"` until a narrower set has high-confidence evidence.
146+
4. Update topology coverage in `e2e/tests/packaged-smoke-workflow.test.ts` or the relevant script test.
147+
5. Run the focused checks:
131148
- `python3 .github/scripts/handoff.py self-check`
132149
- `actionlint -color`
133150
- `pnpm --filter @open-design/e2e test tests/packaged-smoke-workflow.test.ts`
134-
5. Run repo-level checks before handing off:
151+
6. Run repo-level checks before handing off:
135152
- `pnpm guard`
136153
- `pnpm typecheck`
137154

β€Ž.github/ISSUE_TEMPLATE/bug-report.ymlβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: πŸ› Bug report
2-
description: Something isn't working as expected in Open Design.
2+
description: Something isn't working as expected in OpenDesign.
33
title: "[Bug]: "
44
labels: ["bug"]
55
body:
@@ -37,7 +37,7 @@ body:
3737
label: Steps to reproduce
3838
description: Minimal steps that reliably reproduce the problem.
3939
placeholder: |
40-
1. Open Open Design
40+
1. Open OpenDesign
4141
2. Click ...
4242
3. See error
4343
validations:
@@ -54,7 +54,7 @@ body:
5454
- type: input
5555
id: version
5656
attributes:
57-
label: Open Design version
57+
label: OpenDesign version
5858
description: Find this in the app's About menu, or run `od --version`.
5959
placeholder: e.g. 0.8.0 or 0.8.0-preview.2
6060
validations:

β€Ž.github/ISSUE_TEMPLATE/config.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ contact_links:
88
about: Have a half-formed idea you want to chew on before opening a formal feature request? Start a thread in Ideas.
99
- name: πŸ™Œ Show what you've made
1010
url: https://github.com/nexu-io/open-design/discussions/categories/show-and-tell
11-
about: Built something cool with Open Design? Share it in Show and tell.
11+
about: Built something cool with OpenDesign? Share it in Show and tell.
1212
- name: πŸ—£ General discussion
1313
url: https://github.com/nexu-io/open-design/discussions/categories/general
1414
about: Anything else β€” chat, suggestions, community talk.

β€Ž.github/ISSUE_TEMPLATE/feature-request.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: πŸ’‘ Feature request
2-
description: Suggest a new feature or improvement for Open Design.
2+
description: Suggest a new feature or improvement for OpenDesign.
33
labels: ["enhancement"]
44
body:
55
- type: markdown

0 commit comments

Comments
Β (0)