Skip to content

Commit 20feef9

Browse files
mylukinclaude
andcommitted
docs: fix outdated version and documentation inconsistencies
- Update version from 0.2.0 to 0.4.3 in README.md and cli/README.md - Remove broken Configuration Guide link (docs/CONFIGURATION.md doesn't exist) - Fix verifyCommands format in embedded rules (object → array) - Document undocumented commands: detect-ai, circuit-breaker, batch, parse-result Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent fcf88fc commit 20feef9

File tree

3 files changed

+79
-14
lines changed

3 files changed

+79
-14
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ For each task:
338338

339339
## Configuration
340340

341-
Ralph-dev can be configured through environment variables. See [Configuration Guide](docs/CONFIGURATION.md) for details.
341+
Ralph-dev can be configured through environment variables:
342342

343343
### Environment Variables
344344

@@ -507,6 +507,6 @@ Built for the Claude Code plugin ecosystem. Requires Claude Code CLI to function
507507

508508
---
509509

510-
**Version:** 0.2.0
511-
**Status:** Early development
510+
**Version:** 0.4.3
511+
**Status:** Active development
512512
**Author:** Lukin ([email protected])

cli/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,6 @@ MIT - Part of the Ralph-dev project
367367

368368
---
369369

370-
**Version:** 0.2.0
371-
**Status:** Early development
370+
**Version:** 0.4.3
371+
**Status:** Active development
372372
**Repository:** https://github.com/mylukin/ralph-dev

cli/src/commands/init.ts

Lines changed: 74 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -355,18 +355,19 @@ ralph-dev tasks fail <taskId> --reason "..." # Mark as failed
355355
\`\`\`bash
356356
# Detect language and framework
357357
ralph-dev detect --json
358-
ralph-dev detect --save # Save to .ralph-dev/language.json
358+
ralph-dev detect --save # Save to task index metadata
359359
360360
# Output structure:
361361
# {
362-
# "language": "typescript",
363-
# "framework": "node",
364-
# "testFramework": "vitest",
365-
# "verifyCommands": {
366-
# "test": "npm test",
367-
# "lint": "npm run lint",
368-
# "typecheck": "npx tsc --noEmit",
369-
# "build": "npm run build"
362+
# "languageConfig": {
363+
# "language": "typescript",
364+
# "testFramework": "vitest",
365+
# "verifyCommands": [
366+
# "npx tsc --noEmit",
367+
# "npm run lint",
368+
# "npm test",
369+
# "npm run build"
370+
# ]
370371
# }
371372
# }
372373
\`\`\`
@@ -430,6 +431,70 @@ ralph-dev update --json
430431
431432
---
432433
434+
## AI-Powered Detection
435+
436+
\`\`\`bash
437+
# AI-powered autonomous language detection
438+
ralph-dev detect-ai --json
439+
ralph-dev detect-ai --save # Save to index metadata
440+
441+
# Save AI detection result (used by detection skill)
442+
ralph-dev detect-ai-save '<json-result>'
443+
\`\`\`
444+
445+
---
446+
447+
## Circuit Breaker (Healing Phase)
448+
449+
\`\`\`bash
450+
# Get circuit breaker status
451+
ralph-dev circuit-breaker status --json
452+
ralph-dev cb status --json # Alias
453+
454+
# Reset circuit breaker to CLOSED state
455+
ralph-dev cb reset --json
456+
457+
# Record failure (used by Phase 4)
458+
ralph-dev cb fail --json
459+
460+
# Record success (used by Phase 4)
461+
ralph-dev cb success --json
462+
\`\`\`
463+
464+
**States:**
465+
- \`CLOSED\`: Normal operation, failures increment counter
466+
- \`OPEN\`: After 5 failures, blocks new attempts
467+
- \`HALF_OPEN\`: Recovery state, testing if service is healthy
468+
469+
---
470+
471+
## Batch Operations
472+
473+
\`\`\`bash
474+
# Perform batch operations on multiple tasks
475+
ralph-dev tasks batch --operations '[
476+
{"action":"start","taskId":"auth.login"},
477+
{"action":"done","taskId":"auth.logout"}
478+
]' --json
479+
480+
# Atomic mode - rollback all on any failure
481+
ralph-dev tasks batch --operations '[...]' --atomic --json
482+
\`\`\`
483+
484+
---
485+
486+
## Parse Agent Results
487+
488+
\`\`\`bash
489+
# Parse structured result from agent output
490+
ralph-dev tasks parse-result --file /path/to/output.txt --json
491+
ralph-dev tasks parse-result --text "status: completed..." --json
492+
\`\`\`
493+
494+
**Use case:** Extracts structured data from Phase 3 agent output.
495+
496+
---
497+
433498
## Common Patterns
434499
435500
### Implementation Loop

0 commit comments

Comments
 (0)