Commit Graph

195 Commits

Author SHA1 Message Date
Lauren ten Hoor
9739a14910 fix: update TypeScript config for proper openclaw plugin-sdk type resolution
Changed module resolution from Node16 to Bundler (with ESNext module) to
properly resolve openclaw/plugin-sdk type exports. This fixes build errors
where OpenClawPluginApi and jsonResult types were not being found.

The Node16 module resolution was not following the re-exports in openclaw's
plugin-sdk index.d.ts correctly. Bundler resolution is more compatible with
modern package.json exports.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-12 20:47:25 +08:00
Lauren ten Hoor
942fe9fd5d Release v1.0.0 - First Official Launch 🎉
First stable release of DevClaw, transforming OpenClaw into a
complete dev team management system.

Key features:
- Autonomous multi-project development pipeline
- Intelligent tier-based model selection (Junior/Medior/Senior)
- Token-free scheduling with work_heartbeat
- 60-80% token savings through tier selection and session reuse
- GitHub/GitLab integration with atomic operations
- Comprehensive tooling and documentation

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-12 20:40:20 +08:00
Lauren ten Hoor
b2fc94db9e feat: LLM-powered model auto-configuration and improved onboarding
Major changes:
- Add autoconfigure_models tool for intelligent model assignment
- Implement LLM-based model selection using openclaw agent
- Improve onboarding flow with better model access checks
- Update README with clearer installation and onboarding instructions

Technical improvements:
- Add model-fetcher utility to query authenticated models
- Add smart-model-selector for LLM-driven model assignment
- Use session context for LLM calls during onboarding
- Suppress logging from openclaw models list calls

Documentation:
- Add prerequisites section to README
- Add conversational onboarding example
- Improve quick start flow

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-12 20:37:15 +08:00
Lauren ten Hoor
84483176f4 docs: enforce orchestrator as planner-only, no direct coding (#133) (#135)
## Changes

### lib/templates.ts (AGENTS.md template)
- Added 'Critical: You Do NOT Write Code' section to orchestrator instructions
- Listed what orchestrator CAN do (planning, analysis, status checks)
- Listed what MUST go through workers (code, git ops, tests)
- Added 'Never write code yourself' to Safety section

### README.md
- Added 'The orchestrator's role' section explaining the workflow boundary
- Table showing what goes through workers vs orchestrator
- Explained why: audit trail, tier selection, parallelization, QA pipeline

### docs/ARCHITECTURE.md
- Updated scope boundaries diagram to show 'planning only' for orchestrator
- Added key boundary note about planner/dispatcher role

Addresses issue #133
2026-02-12 12:36:12 +08:00
Lauren ten Hoor
7dd9aa7a15 Merge pull request #134 from laurentenhoor/feat/132-improve-onboarding
feat: improve onboarding with model access check and Telegram group guidance
2026-02-12 12:32:57 +08:00
Lauren ten Hoor
93d616b0dc feat: improve onboarding with model access check and Telegram group guidance
Enhanced the DevClaw onboarding flow to address real-world usability issues
discovered during testing.

Changes:

1. Model Selection Improvements (Step 2):
   - Added explicit prompt to check user's available models first
   - Changed 'Default Model' table to 'Suggested default' to emphasize flexibility
   - Added model selection guidance with class descriptions:
     * junior/tester: Fast, cheap (Haiku-class, GPT-4-mini)
     * medior/reviewer: Balanced (Sonnet-class, GPT-4)
     * senior: Most capable (Opus-class, o1)
   - Emphasized guiding users to configure finer-grained mappings
   - Added warning that defaults are suggestions, not requirements

2. Telegram Group Setup Guidance (New Step 4):
   - Added comprehensive section on project isolation best practices
   - Explains the one-group-per-project model clearly
   - Provides rationale:
     * Clean issue backlogs per project
     * Isolated worker state
     * Clear audit trails
     * Team-specific access control
   - Documents mention requirement (@botname command)
   - Includes single-project mode option with strong warning
   - Provides tip for getting group ID from bot

3. Improved Flow:
   - Renumbered steps (Project Registration is now Step 5)
   - Added group ID discovery tip
   - Maintained conversational tone while being more explicit

Impact:
- Prevents configuration failures from using unavailable models
- Guides users toward sustainable multi-project setup
- Reduces support burden by proactively explaining best practices
- Still allows single-project mode for solo developers

Addresses issue #132
2026-02-12 12:31:50 +08:00
Lauren ten Hoor
3b508ca293 0.1.1 2026-02-12 11:48:09 +08:00
Lauren ten Hoor
fe3486b647 fix: correct npm package entry point and include manifest file 2026-02-12 11:48:05 +08:00
Lauren ten Hoor
3d3d1cc2e4 fix: update installation commands to reflect new package name 2026-02-12 00:42:15 +08:00
Lauren ten Hoor
a4312c886a fix: update package name and URLs to reflect new ownership 2026-02-12 00:32:35 +08:00
Lauren ten Hoor
e4b54646da refactor: remove context awareness documentation and related code; streamline tool registration and context detection 2026-02-12 00:25:34 +08:00
Lauren ten Hoor
dc3a7fcf9e Merge pull request #131 from laurentenhoor/feat/130-npm-publish
feat: set up npm publishing infrastructure
2026-02-12 00:14:33 +08:00
Lauren ten Hoor
4fed5b4c48 feat: set up npm publishing infrastructure
Configures DevClaw package for publishing to npm registry with automated
GitHub Actions workflow and comprehensive publishing documentation.

Changes:

1. package.json:
   - Added publishConfig with access: public (required for scoped packages)
   - Already has correct name: @openclaw/devclaw
   - Version: 0.1.0 (ready for initial release)
   - Files array properly configured (dist/, roles/, docs/)
   - prepublishOnly script ensures build before publish

2. GitHub Actions Workflow (.github/workflows/npm-publish.yml):
   - Triggers on release publication
   - Manual workflow dispatch option with tag input
   - Uses NPM_ACCESS_TOKEN secret for authentication
   - Includes npm provenance for supply chain security
   - Publishes as public package
   - Provides summary output after publication

3. Publishing Documentation (PUBLISHING.md):
   - Comprehensive guide for all publishing methods
   - Automated publishing via GitHub releases (recommended)
   - Manual workflow trigger instructions
   - Local publishing fallback
   - Dry-run testing procedures
   - Version management guidelines
   - Troubleshooting common issues
   - Post-publishing checklist

Configuration Details:
- Package name: @openclaw/devclaw (scoped)
- npm account: laurentenhoor
- Access: public (free for scoped packages)
- Provenance: enabled for transparency
- Node.js: >=20 required

Ready for Initial Release:
To publish the first version:
1. Verify NPM_ACCESS_TOKEN is set in GitHub secrets
2. Create and push tag: git tag v0.1.0 && git push --tags
3. Create GitHub release from tag
4. Workflow automatically builds and publishes to npm

Addresses issue #130
2026-02-12 00:13:39 +08:00
Lauren ten Hoor
81543600fe refactor: remove work_heartbeat tool and related tests; update documentation and notification logic 2026-02-12 00:02:18 +08:00
Lauren ten Hoor
31849489a8 refactor: integrate OpenClaw API for configuration management and CLI registration 2026-02-11 23:40:22 +08:00
Lauren ten Hoor
aaf7818c33 docs: enhance heartbeat service descriptions and CLI registration 2026-02-11 23:13:53 +08:00
Lauren ten Hoor
1e15c42657 Merge pull request #129 from laurentenhoor/claude/update-docs-benefits-BhoG1 2026-02-11 15:48:12 +08:00
Claude
b8ea37189b docs: replace README with README2, add install link to intro
Removed the old README.md and promoted README2.md to README.md.
Added a "Get started" link after the intro paragraph pointing to
the installation section.

https://claude.ai/code/session_01R3rGevPY748gP4uK2ggYag
2026-02-11 07:29:17 +00:00
Claude
13abef8bc1 docs: remove diagram, restructure Why DevClaw into clean bullet lists
Replaced dense inline-linked paragraphs with a short intro sentence
per pillar followed by bullet points. Each bullet is one concept with
one link. Removed the ASCII parallelization diagram.

https://claude.ai/code/session_01R3rGevPY748gP4uK2ggYag
2026-02-11 07:23:04 +00:00
Claude
348b33f40b docs: title with OpenClaw, savings in header, vertical architecture diagram
- Title: "DevClaw — Development Plugin for OpenClaw"
- Renamed "Token savings" header to "~60-80% token savings"
- Added vertical ASCII diagram showing heartbeat dispatching to
  isolated projects with parallel DEV/QA — mobile-friendly layout

https://claude.ai/code/session_01R3rGevPY748gP4uK2ggYag
2026-02-11 06:00:59 +00:00
Claude
8cebeee314 docs: visually differentiate human message in demo transcript
Indent the "You:" line differently from the Agent lines so it stands
out as a human dropping into an otherwise autonomous flow.

https://claude.ai/code/session_01R3rGevPY748gP4uK2ggYag
2026-02-11 05:07:14 +00:00
Claude
f13e101656 docs: shorten demo, inline human interaction, use GitHub issues
Trimmed the chat transcript: removed separate "You jump in" section,
inlined a single human message within the webapp group flow, dropped
Linear sync in favor of GitHub issue creation. Shorter, tighter.

https://claude.ai/code/session_01R3rGevPY748gP4uK2ggYag
2026-02-11 05:01:38 +00:00
Claude
fce256fe59 docs: add concise three-pillar benefits section with cross-links
Autonomous multi-project development, process enforcement, and token
savings — each as a brief paragraph with inline links to the detailed
sections below.

https://claude.ai/code/session_01R3rGevPY748gP4uK2ggYag
2026-02-11 04:31:53 +00:00
Claude
9d1e253f11 docs: remove auto-chaining, reframe around scheduling system
Auto-chaining was removed from the codebase. All docs now describe the
scheduling model: work_finish transitions labels, the heartbeat's tick
pass (which also fires immediately after every work_finish) detects
available work and fills free slots. Removed autoChain config references.

Files updated: README.md, README2.md, docs/TOOLS.md, ARCHITECTURE.md,
ROADMAP.md, MANAGEMENT.md, ONBOARDING.md, lib/templates.ts

https://claude.ai/code/session_01R3rGevPY748gP4uK2ggYag
2026-02-11 04:20:25 +00:00
Claude
261babdf61 docs: merge demo into one continuous chat view with external sync
Single unbroken group-chat transcript now flows from autonomous work,
through human planning/steering, syncing issues to Linear, and back
to autonomous execution — showing everything happens in the same
conversation.

https://claude.ai/code/session_01R3rGevPY748gP4uK2ggYag
2026-02-11 02:20:08 +00:00
Claude
40215f5c28 docs: show planning and steering in the same group chat demo
Manual interaction example now shows creating issues, sequencing work,
and parking tasks in Planning — all in the same conversation where
autonomous execution happens.

https://claude.ai/code/session_01R3rGevPY748gP4uK2ggYag
2026-02-11 02:12:50 +00:00
Claude
089664a675 docs: rewrite 'what it looks like' to show multi-project auto-scheduling
Show two projects running overnight with heartbeat-driven dispatch,
auto-chaining, QA failures cycling back to DEV, and different developer
levels — all without human involvement. Manual mode shown as secondary.

https://claude.ai/code/session_01R3rGevPY748gP4uK2ggYag
2026-02-11 02:08:41 +00:00
Claude
7a59c76709 docs: add task management section, auto-scheduling with configs, simplify team tables
- Bundle task management: issue tracker integration, creating/updating/commenting,
  custom instructions per project — all in one section
- Add automatic scheduling section: heartbeat service, auto-chaining, execution
  modes, with full config snippets and settings table
- Remove standalone "Parallel everything" section (folded into scheduling)
- Simplify team tables: Level / Assigns to / Model columns

https://claude.ai/code/session_01R3rGevPY748gP4uK2ggYag
2026-02-11 02:06:38 +00:00
Claude
1c68113ef4 docs: add README2.md — fresh rewrite for OpenClaw users
Complete from-scratch rewrite of the README with an OpenClaw user perspective:
- Opens with a concrete group chat interaction showing the full flow
- Frames the problem as "babysitting the thing you built to avoid babysitting"
- "Meet your team" section makes the model mapping fun and relatable
- Pipeline explained as a story, not a spec
- Behind-the-scenes section covers session reuse, heartbeat, auto-chaining
- Issue tracker integration framed as "your issues, your tracker"
- Onboarding shown as a natural conversation
- Tools framed as guardrails, not API endpoints

https://claude.ai/code/session_01R3rGevPY748gP4uK2ggYag
2026-02-11 01:37:09 +00:00
Claude
4799108489 docs: refine README structure — add why section, simplify onboarding, move diagrams
- Add "Why DevClaw" paragraph explaining the gap between raw OpenClaw and development orchestration
- Rename "Shared sessions" to "Session re-use (context preservation)" in token savings
- Add "External task state" benefit covering GitHub/GitLab integration and pluggable IssueProvider
- Simplify installation to conversational onboarding with full example dialogue
- Move "How it works" and "Session reuse" diagrams to ARCHITECTURE.md (keep reference)
- Add Architecture section with link to detailed technical documentation
- Explain tools as guardrails that encode operations as deterministic code

https://claude.ai/code/session_01R3rGevPY748gP4uK2ggYag
2026-02-11 01:12:54 +00:00
Lauren ten Hoor
163ac6ed3d Merge pull request #128 from laurentenhoor/feat/127-add-test-md
feat: add TEST.md to repository root
2026-02-11 05:30:44 +08:00
Claude
553efcc146 docs: overhaul documentation for consistency with implementation
Complete documentation rewrite to match the current codebase:

- README: add benefits section (process consistency, token savings with
  estimates, project isolation, continuous planning, feedback loops,
  role-based prompts, atomic operations, audit trail), task workflow
  with state diagram, model-to-role mapping tables, installation guide
- New TOOLS.md: complete reference for all 11 tools with parameters,
  behavior, and execution guards
- New CONFIGURATION.md: full config reference for openclaw.json,
  projects.json, heartbeat, notifications, workspace layout
- Fix tool names across all docs: task_pickup→work_start,
  task_complete→work_finish
- Fix tier model: QA has reviewer/tester levels, not flat "qa"
- Fix config schema: nested models.dev.*/models.qa.* structure
- Fix prompt path: projects/roles/ not projects/prompts/
- Fix worker state: uses "level" field not "model"/"tier"
- Fix MANAGEMENT.md: remove incorrect model references
- Fix TESTING.md: update model config example to nested structure
- Remove VERIFICATION.md (one-off checklist, no longer needed)
- Add cross-references between all docs pages

https://claude.ai/code/session_01R3rGevPY748gP4uK2ggYag
2026-02-10 20:13:22 +00:00
Lauren ten Hoor
b7b57bc2f8 feat: add TEST.md to repository root
Created TEST.md file in the repository root directory as requested.

Addresses issue #127
2026-02-11 03:30:39 +08:00
Lauren ten Hoor
ead4807797 feat: implement automatic log truncation to maintain last 250 entries 2026-02-11 03:21:29 +08:00
Lauren ten Hoor
65cdd24d70 Merge pull request #126 from laurentenhoor/fix/125-disable-auto-tick
fix: disable auto-tick in work_start to prevent unwanted worker dispatch
2026-02-11 03:15:15 +08:00
Lauren ten Hoor
28bc3cddd2 fix: disable auto-tick in work_start to prevent unwanted worker dispatch
Problem:
The work_start tool was automatically running a 'tick' after picking up
an issue, which filled parallel worker slots by dispatching additional
workers for other issues without explicit instruction.

Example: Picking up #123 also auto-dispatched QA for #121 via tickPickups.

Root Cause:
work_start called tickAndNotify() which ran projectTick() to fill free
worker slots in parallel execution mode. This behavior was automatic and
not controllable.

Solution:
- Disabled the auto-tick functionality in work_start
- Commented out the tickAndNotify call
- Removed tickPickups from the response
- Updated documentation to reflect the change

Impact:
- work_start now picks up ONLY the explicitly requested issue
- No automatic worker dispatch for parallel slots
- For filling worker slots, use work_heartbeat instead
- Gives more control over worker assignments

Changes:
- lib/tools/work-start.ts:
  * Commented out tickAndNotify call
  * Removed tickPickups from output
  * Updated file header comment
  * Updated tool description

Addresses issue #125
2026-02-11 03:14:40 +08:00
Lauren ten Hoor
5df4b912c9 refactor: rename 'tier' to 'level' across the codebase
- Updated WorkerState type to use 'level' instead of 'tier'.
- Modified functions related to worker state management, including parseWorkerState, emptyWorkerState, getSessionForLevel, activateWorker, and deactivateWorker to reflect the new terminology.
- Adjusted health check logic to utilize 'level' instead of 'tier'.
- Refactored tick and setup tools to accommodate the change from 'tier' to 'level', including model configuration and workspace scaffolding.
- Updated tests to ensure consistency with the new 'level' terminology.
- Revised documentation and comments to reflect the changes in terminology from 'tier' to 'level'.
2026-02-11 03:04:17 +08:00
Lauren ten Hoor
1f95ad4518 Merge pull request #124 from laurentenhoor/chore/123-delete-test-md
chore: remove TEST.md file
2026-02-11 03:00:26 +08:00
Lauren ten Hoor
abea86f451 chore: remove TEST.md file
Remove TEST.md from the repository as requested.

Addresses issue #123
2026-02-11 03:00:03 +08:00
Lauren ten Hoor
b3c467a33f feat: update role-tier structure to include prefixes for models and enhance related configurations 2026-02-11 02:17:13 +08:00
Lauren ten Hoor
862813e6d3 refactor: restructure workspace file organization (#121) (#122)
## Path Changes
- audit.log: memory/audit.log → log/audit.log
- projects.json: memory/projects.json → projects/projects.json
- prompts: roles/<project>/<role>.md → projects/prompts/<project>/<role>.md

## Files Updated
- lib/audit.ts - new audit log path
- lib/projects.ts - new projects.json path
- lib/dispatch.ts - new prompt instructions path
- lib/tools/project-register.ts - prompt scaffolding path
- lib/setup/workspace.ts - workspace scaffolding paths
- lib/context-guard.ts - projects.json path
- lib/tools/setup.ts - tool description
- lib/templates.ts - AGENTS.md template path references

## Documentation Updated
- README.md
- docs/ARCHITECTURE.md
- docs/ONBOARDING.md
- docs/QA_WORKFLOW.md
- docs/ROADMAP.md
- docs/TESTING.md

Addresses issue #121
2026-02-11 01:55:26 +08:00
Lauren ten Hoor
2450181482 feat: enhance role-tier structure for models and update related configurations 2026-02-11 01:49:14 +08:00
Lauren ten Hoor
b249217bc1 feat: enhance role-tier structure for models and update related configurations 2026-02-11 01:18:13 +08:00
Lauren ten Hoor
f2e71a35d8 feat: implement work heartbeat service for health checks and task dispatching
- Introduced a new heartbeat service that runs at defined intervals to perform health checks on workers and fill available task slots based on priority.
- Added a health tool to scan worker health across projects with optional auto-fix capabilities.
- Updated the status tool to provide a lightweight overview of worker states and queue counts without health checks.
- Enhanced task creation tool descriptions to clarify task state handling.
- Implemented tests for the work heartbeat logic, ensuring proper project resolution, worker state management, and task prioritization.
2026-02-11 01:04:30 +08:00
Lauren ten Hoor
71a3ea2352 Merge pull request #120 from laurentenhoor/feat/119-create-empty-test-md
feat: create empty TEST.md file
2026-02-11 01:01:39 +08:00
Lauren ten Hoor
acf8d561d1 feat: create empty TEST.md file
Created TEST.md with no content in the repository root as requested.

Addresses issue #119
2026-02-11 01:01:12 +08:00
Lauren ten Hoor
162c5f0eb2 Merge pull request #118 from laurentenhoor/chore/117-remove-test-md
chore: remove TEST.md test file
2026-02-11 00:58:48 +08:00
Lauren ten Hoor
9cdfa10077 chore: remove TEST.md test file
Remove TEST.md which was created for testing purposes (issue #105)
and should not be in the repository.

File contained test content about Lauren ten Hoor profile information
and was not part of the core project functionality.

Addresses issue #117
2026-02-11 00:58:22 +08:00
Lauren ten Hoor
4c46eb68fc Merge pull request #116 from laurentenhoor/feature/115-planning-default
docs: verify task_create already defaults to Planning state
2026-02-11 00:34:14 +08:00
Lauren ten Hoor
7cbf224a3b docs: verify task_create already defaults to Planning state
Issue #115 requested changing the default from 'To Do' to 'Planning',
but investigation reveals this is already implemented.

Findings:
- Code has defaulted to 'Planning' since initial commit (8a79755e, Feb 9)
- README documentation correctly states 'defaults to Planning' (line 308)
- Tool description confirms 'defaults to Planning' behavior

Timeline:
- Feb 9, 2026: task_create implemented with Planning default
- Feb 10, 2026: Issue #115 filed (requesting already-implemented feature)

No code changes needed - feature already works as requested.

Added VERIFICATION.md documenting the current implementation and
providing evidence that the requested behavior is already active.

Addresses issue #115
2026-02-11 00:33:37 +08:00