worclaude 2.4.11 → 2.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/CODE_OF_CONDUCT.md +128 -0
- package/CONTRIBUTING.md +132 -0
- package/SECURITY.md +21 -0
- package/package.json +9 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ All notable changes to worclaude are documented in this file. Format loosely fol
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [2.4.12] — 2026-04-20
|
|
8
|
+
|
|
9
|
+
Internal fix release — first post-v2.4.11 `upstream-check` run on `main` (workflow run 24693290867) failed with `error_max_turns / num_turns: 16` at the Claude cross-reference step. Not a parser issue: the v2.4.11 format-drift fix still works; Claude simply couldn't fit the workload into 15 turns. The prompt requires ~9 `Read` calls (feed inputs + `.claude/commands/upstream-check.md` + cross-reference against agents/commands/hooks templates, `src/data/agents.js`, `src/data/agent-registry.js`, `docs/spec/BACKLOG-v2.1.md`, `CLAUDE.md`) before the final response — each Read burns a turn, so 15 was tight by luck, not by design.
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- `.github/workflows/upstream-check.yml` — `--max-turns` bumped from 15 to 25 in the `claude_args` string. Gives comfortable headroom for reads + reasoning + response without being excessive. If the cross-reference list grows further, revisit.
|
|
14
|
+
|
|
7
15
|
## [2.4.11] — 2026-04-20
|
|
8
16
|
|
|
9
17
|
Internal fix release — the `upstream-check` workflow parser has been unable to classify any item correctly since the `anthropics/claude-code-action` SHA was pinned to v1.0.101. The action writes `$RUNNER_TEMP/claude-execution-output.json` as a pretty-printed JSON array (`JSON.stringify(messages, null, 2)`), not the newline-delimited JSONL our parser assumed. Every per-line `JSON.parse` failed on fragments like `[` and `{`, so `extractAssistantText` always returned `null` and the parser fell through to the raw-content fallback — which never matched the `SKIP_ISSUE` / `# Title: ` contract, producing a parse-error fallback issue on every run with new items. Misdiagnosed as prompt/contract drift (issue #89); the 2.4.10 fallback-size fix delivered the diagnostic (issue #91) that revealed the real cause.
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our
|
|
6
|
+
community a harassment-free experience for everyone, regardless of age, body
|
|
7
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
|
+
identity and expression, level of experience, education, socio-economic status,
|
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity
|
|
10
|
+
and orientation.
|
|
11
|
+
|
|
12
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
13
|
+
diverse, inclusive, and healthy community.
|
|
14
|
+
|
|
15
|
+
## Our Standards
|
|
16
|
+
|
|
17
|
+
Examples of behavior that contributes to a positive environment for our
|
|
18
|
+
community include:
|
|
19
|
+
|
|
20
|
+
* Demonstrating empathy and kindness toward other people
|
|
21
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
22
|
+
* Giving and gracefully accepting constructive feedback
|
|
23
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
|
24
|
+
and learning from the experience
|
|
25
|
+
* Focusing on what is best not just for us as individuals, but for the
|
|
26
|
+
overall community
|
|
27
|
+
|
|
28
|
+
Examples of unacceptable behavior include:
|
|
29
|
+
|
|
30
|
+
* The use of sexualized language or imagery, and sexual attention or
|
|
31
|
+
advances of any kind
|
|
32
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
33
|
+
* Public or private harassment
|
|
34
|
+
* Publishing others' private information, such as a physical or email
|
|
35
|
+
address, without their explicit permission
|
|
36
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
37
|
+
professional setting
|
|
38
|
+
|
|
39
|
+
## Enforcement Responsibilities
|
|
40
|
+
|
|
41
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
|
42
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
|
43
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
44
|
+
or harmful.
|
|
45
|
+
|
|
46
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
|
47
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
48
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
49
|
+
decisions when appropriate.
|
|
50
|
+
|
|
51
|
+
## Scope
|
|
52
|
+
|
|
53
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
|
54
|
+
an individual is officially representing the community in public spaces.
|
|
55
|
+
Examples of representing our community include using an official e-mail address,
|
|
56
|
+
posting via an official social media account, or acting as an appointed
|
|
57
|
+
representative at an online or offline event.
|
|
58
|
+
|
|
59
|
+
## Enforcement
|
|
60
|
+
|
|
61
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
|
+
reported to the community leaders responsible for enforcement at
|
|
63
|
+
sefaertunc@gmail.com.
|
|
64
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
|
65
|
+
|
|
66
|
+
All community leaders are obligated to respect the privacy and security of the
|
|
67
|
+
reporter of any incident.
|
|
68
|
+
|
|
69
|
+
## Enforcement Guidelines
|
|
70
|
+
|
|
71
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
|
72
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
|
73
|
+
|
|
74
|
+
### 1. Correction
|
|
75
|
+
|
|
76
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
77
|
+
unprofessional or unwelcome in the community.
|
|
78
|
+
|
|
79
|
+
**Consequence**: A private, written warning from community leaders, providing
|
|
80
|
+
clarity around the nature of the violation and an explanation of why the
|
|
81
|
+
behavior was inappropriate. A public apology may be requested.
|
|
82
|
+
|
|
83
|
+
### 2. Warning
|
|
84
|
+
|
|
85
|
+
**Community Impact**: A violation through a single incident or series
|
|
86
|
+
of actions.
|
|
87
|
+
|
|
88
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
|
89
|
+
interaction with the people involved, including unsolicited interaction with
|
|
90
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
|
91
|
+
includes avoiding interactions in community spaces as well as external channels
|
|
92
|
+
like social media. Violating these terms may lead to a temporary or
|
|
93
|
+
permanent ban.
|
|
94
|
+
|
|
95
|
+
### 3. Temporary Ban
|
|
96
|
+
|
|
97
|
+
**Community Impact**: A serious violation of community standards, including
|
|
98
|
+
sustained inappropriate behavior.
|
|
99
|
+
|
|
100
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
|
101
|
+
communication with the community for a specified period of time. No public or
|
|
102
|
+
private interaction with the people involved, including unsolicited interaction
|
|
103
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
|
104
|
+
Violating these terms may lead to a permanent ban.
|
|
105
|
+
|
|
106
|
+
### 4. Permanent Ban
|
|
107
|
+
|
|
108
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
|
109
|
+
standards, including sustained inappropriate behavior, harassment of an
|
|
110
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
|
111
|
+
|
|
112
|
+
**Consequence**: A permanent ban from any sort of public interaction within
|
|
113
|
+
the community.
|
|
114
|
+
|
|
115
|
+
## Attribution
|
|
116
|
+
|
|
117
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
118
|
+
version 2.0, available at
|
|
119
|
+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
|
120
|
+
|
|
121
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
|
|
122
|
+
enforcement ladder](https://github.com/mozilla/diversity).
|
|
123
|
+
|
|
124
|
+
[homepage]: https://www.contributor-covenant.org
|
|
125
|
+
|
|
126
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
|
127
|
+
https://www.contributor-covenant.org/faq. Translations are available at
|
|
128
|
+
https://www.contributor-covenant.org/translations.
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# Contributing to Worclaude
|
|
2
|
+
|
|
3
|
+
Thanks for your interest in contributing to Worclaude! Whether it's a bug report, feature idea, or pull request, your input helps make this tool better for everyone.
|
|
4
|
+
|
|
5
|
+
## Branching Strategy
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
feature-branch ──PR──▶ develop ──PR──▶ main (release)
|
|
9
|
+
│
|
|
10
|
+
└── gh-pages (docs, auto-deployed)
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
| Branch | Purpose | Who can push | Who can PR to it |
|
|
14
|
+
| ---------- | ------------------- | ------------------------ | ------------------------------------ |
|
|
15
|
+
| `develop` | Active development | Maintainer | Contributors (from feature branches) |
|
|
16
|
+
| `main` | Production releases | Maintainer | Maintainer only (from `develop`) |
|
|
17
|
+
| `gh-pages` | Documentation site | Maintainer (auto-deploy) | Nobody |
|
|
18
|
+
|
|
19
|
+
**Contributors only interact with `develop`.** Fork the repo, create a feature branch from `develop`, and open a PR back to `develop`. You cannot push or open PRs against `main` — they will be closed.
|
|
20
|
+
|
|
21
|
+
## Development Setup
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
git clone https://github.com/sefaertunc/Worclaude.git
|
|
25
|
+
cd Worclaude
|
|
26
|
+
git checkout develop
|
|
27
|
+
npm install
|
|
28
|
+
npm test
|
|
29
|
+
npm run lint
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Run the CLI locally during development:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
node src/index.js init
|
|
36
|
+
node src/index.js status
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Using the Worclaude Workflow
|
|
40
|
+
|
|
41
|
+
If you have [Claude Code](https://claude.com/claude-code), this project includes a 6-stage workflow pipeline to guide contributions:
|
|
42
|
+
|
|
43
|
+
`/start` → `/review-plan` → implement → `/review-changes` → `/verify` → `/commit-push-pr`
|
|
44
|
+
|
|
45
|
+
Run these as slash commands in Claude Code for a guided experience.
|
|
46
|
+
|
|
47
|
+
## Pull Request Guidelines
|
|
48
|
+
|
|
49
|
+
1. Fork the repo and create a branch from `develop`
|
|
50
|
+
2. Make your changes in focused, logical commits
|
|
51
|
+
3. Write or update tests for any new functionality
|
|
52
|
+
4. Run the full test suite: `npm test`
|
|
53
|
+
5. Run the linter: `npm run lint`
|
|
54
|
+
6. Run the formatter: `npm run format`
|
|
55
|
+
7. Open a PR **targeting `develop`** with a clear description of the change
|
|
56
|
+
|
|
57
|
+
**Never open PRs against `main`** — they will be closed. Only the maintainer merges `develop` into `main` for releases.
|
|
58
|
+
|
|
59
|
+
Keep PRs focused on a single concern. If you're fixing a bug and adding a feature, split them into separate PRs.
|
|
60
|
+
|
|
61
|
+
### What CI Checks
|
|
62
|
+
|
|
63
|
+
Every PR is validated by CI before merge:
|
|
64
|
+
|
|
65
|
+
- **Tests** — full test suite across Node 18, 20, and 22
|
|
66
|
+
- **ESLint** — code quality and style rules
|
|
67
|
+
- **Prettier** — formatting consistency check
|
|
68
|
+
- **Branch** — must be up-to-date with `develop`
|
|
69
|
+
|
|
70
|
+
## Release Process (maintainer only)
|
|
71
|
+
|
|
72
|
+
Releases are cut from `main` and published automatically by GitHub Actions with
|
|
73
|
+
npm provenance (SLSA attestations).
|
|
74
|
+
|
|
75
|
+
1. Open a PR from `develop` to `main` containing the version bump (handled by `/sync`).
|
|
76
|
+
2. After merge, create a GitHub Release against `main` with tag `vX.Y.Z`.
|
|
77
|
+
3. The `.github/workflows/release.yml` workflow runs `npm publish --provenance`.
|
|
78
|
+
4. Verify the "Provenance" badge on `https://www.npmjs.com/package/worclaude`.
|
|
79
|
+
|
|
80
|
+
Do not run `npm publish` from a local machine — manual publishes omit provenance
|
|
81
|
+
and weaken the Snyk security score.
|
|
82
|
+
|
|
83
|
+
## Reporting Bugs
|
|
84
|
+
|
|
85
|
+
Open an issue on [GitHub Issues](https://github.com/sefaertunc/Worclaude/issues) with:
|
|
86
|
+
|
|
87
|
+
- A clear, descriptive title
|
|
88
|
+
- Steps to reproduce the problem
|
|
89
|
+
- Expected behavior vs actual behavior
|
|
90
|
+
- Your Node.js version and OS
|
|
91
|
+
- Any relevant error output
|
|
92
|
+
|
|
93
|
+
## Suggesting Features
|
|
94
|
+
|
|
95
|
+
Open an issue on [GitHub Issues](https://github.com/sefaertunc/Worclaude/issues) with the **enhancement** label. Describe the use case and how you envision the feature working.
|
|
96
|
+
|
|
97
|
+
## Code Style
|
|
98
|
+
|
|
99
|
+
This project uses ESLint and Prettier for consistent formatting. Before submitting:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
npm run format # Auto-format with Prettier
|
|
103
|
+
npm run lint # Check for lint errors
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
All code must pass both checks. The CI pipeline enforces this automatically.
|
|
107
|
+
|
|
108
|
+
## Testing
|
|
109
|
+
|
|
110
|
+
We use [Vitest](https://vitest.dev/) for testing. All tests must pass before a PR can be merged:
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
npm test # Run the full test suite
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
When adding new features, include tests that cover:
|
|
117
|
+
|
|
118
|
+
- The expected happy path
|
|
119
|
+
- Edge cases and error conditions
|
|
120
|
+
- Integration with existing commands (init, upgrade, status)
|
|
121
|
+
|
|
122
|
+
Test all three scenarios (fresh project, existing project, upgrade) if your change touches merge logic or file generation.
|
|
123
|
+
|
|
124
|
+
## Template Format Requirements
|
|
125
|
+
|
|
126
|
+
- **Skills** must be in directory format: `templates/skills/universal/skill-name.md` is the source, scaffolded as `.claude/skills/skill-name/SKILL.md` in user projects. Flat `.md` files in `.claude/skills/` are silently ignored by Claude Code.
|
|
127
|
+
- **Agents** must have both `name` and `description` in YAML frontmatter. Without `description`, agents are invisible to Claude Code's `/agents` and routing system.
|
|
128
|
+
- **Commands** are flat `.md` files in `templates/commands/` and scaffolded as `.claude/commands/command-name.md`. This is the legacy format and is supported.
|
|
129
|
+
|
|
130
|
+
## Questions?
|
|
131
|
+
|
|
132
|
+
Open a discussion on GitHub or mention it in your issue/PR. We're happy to help.
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
## Supported Versions
|
|
4
|
+
|
|
5
|
+
| Version | Supported |
|
|
6
|
+
| ------- | ------------------ |
|
|
7
|
+
| 2.4.x | :white_check_mark: |
|
|
8
|
+
| < 2.4 | :x: |
|
|
9
|
+
|
|
10
|
+
## Reporting a Vulnerability
|
|
11
|
+
|
|
12
|
+
Please report security issues privately via
|
|
13
|
+
[GitHub Security Advisories](https://github.com/sefaertunc/Worclaude/security/advisories/new).
|
|
14
|
+
This is the preferred channel — it lets us coordinate a fix before disclosure.
|
|
15
|
+
|
|
16
|
+
As a fallback, you may email **sefaertunc@gmail.com**.
|
|
17
|
+
|
|
18
|
+
Please do **not** open a public issue for security vulnerabilities.
|
|
19
|
+
|
|
20
|
+
You can expect an initial response within 48 hours.
|
|
21
|
+
If the vulnerability is accepted, a fix will be prioritized and released as a patch version.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "worclaude",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.13",
|
|
4
4
|
"description": "The Workflow Layer for Claude Code — scaffold agents, commands, skills, hooks, and memory into any project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
"templates/",
|
|
13
13
|
"README.md",
|
|
14
14
|
"CHANGELOG.md",
|
|
15
|
+
"CONTRIBUTING.md",
|
|
16
|
+
"CODE_OF_CONDUCT.md",
|
|
17
|
+
"SECURITY.md",
|
|
15
18
|
"LICENSE"
|
|
16
19
|
],
|
|
17
20
|
"repository": {
|
|
@@ -22,6 +25,7 @@
|
|
|
22
25
|
"bugs": {
|
|
23
26
|
"url": "https://github.com/sefaertunc/Worclaude/issues"
|
|
24
27
|
},
|
|
28
|
+
"funding": "https://github.com/sponsors/sefaertunc",
|
|
25
29
|
"author": "Sefa Ertunç",
|
|
26
30
|
"engines": {
|
|
27
31
|
"node": ">=18.0.0"
|
|
@@ -37,6 +41,10 @@
|
|
|
37
41
|
"docs:preview": "vitepress preview docs",
|
|
38
42
|
"prepublishOnly": "npm test && npm run lint"
|
|
39
43
|
},
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public",
|
|
46
|
+
"provenance": true
|
|
47
|
+
},
|
|
40
48
|
"keywords": [
|
|
41
49
|
"claude",
|
|
42
50
|
"claude-code",
|