@hanzlaa/rcode 4.7.2 → 4.8.0
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/AGENTS.md +1 -1
- package/CLAUDE.md +1 -1
- package/CONTRIBUTING.md +4 -0
- package/cli/github-sync.js +17 -201
- package/cli/lib/config.cjs +1 -1
- package/cli/lib/github-sync-discover.cjs +304 -0
- package/cli/lib/namespace-migrate.cjs +16 -1
- package/cli/uninstall.js +7 -2
- package/dist/rcode.js +194 -194
- package/package.json +1 -1
- package/rcode/agents/rcode-haitham.md +1 -1
- package/rcode/agents/rcode-hanzla.md +1 -1
- package/rcode/agents/rcode-hussain-pm.md +1 -1
- package/rcode/agents/rcode-nyquist-auditor.md +1 -1
- package/rcode/agents/rcode-omar.md +1 -1
- package/rcode/agents/rcode-remediation-planner.md +1 -1
- package/rcode/agents/rcode-waleed.md +1 -1
- package/rcode/agents/rcode-yousef.md +1 -1
- package/rcode/agents/rules/planner/task-templates.md +24 -22
- package/rcode/agents/rules/verifier/verification-report.md +2 -2
- package/rcode/bin/lib/roadmap.cjs +80 -4
- package/rcode/bin/rcode-tools.cjs +18 -1
- package/rcode/brain/best-practices/state-sync-rule.md +1 -1
- package/rcode/references/council-protocol.md +9 -4
- package/rcode/references/execute-auto-copy-learnings.md +15 -0
- package/rcode/references/execute-close-parent-artifacts.md +49 -0
- package/rcode/references/execute-interactive-mode.md +44 -0
- package/rcode/references/execute-notify-webhooks.md +22 -0
- package/rcode/references/execution-protocol.md +11 -11
- package/rcode/references/git-preflight.md +2 -2
- package/rcode/references/plan-gaps-mode.md +89 -0
- package/rcode/references/plan-thinking-partner.md +20 -0
- package/rcode/references/plan-windows-troubleshooting.md +25 -0
- package/rcode/references/planner-playbook.md +23 -29
- package/rcode/skills/_shared/state-sync-rule.md +1 -1
- package/rcode/skills/actions/1-analysis/rcode-document-project/SKILL.md +2 -0
- package/rcode/skills/actions/1-analysis/rcode-prfaq/SKILL.md +2 -0
- package/rcode/skills/actions/2-plan/rcode-create-epics-and-stories/SKILL.md +11 -0
- package/rcode/skills/actions/2-plan/rcode-create-prd/SKILL.md +2 -0
- package/rcode/skills/actions/2-plan/rcode-create-story/SKILL.md +11 -0
- package/rcode/skills/actions/2-plan/rcode-edit-prd/SKILL.md +2 -0
- package/rcode/skills/actions/2-plan/rcode-validate-prd/SKILL.md +2 -0
- package/rcode/skills/actions/3-solutioning/rcode-check-implementation-readiness/SKILL.md +2 -0
- package/rcode/skills/actions/3-solutioning/rcode-create-architecture/SKILL.md +2 -0
- package/rcode/skills/actions/4-implementation/rcode-checkpoint-preview/SKILL.md +2 -0
- package/rcode/skills/actions/4-implementation/rcode-code-review/SKILL.md +2 -0
- package/rcode/skills/actions/4-implementation/rcode-correct-course/SKILL.md +2 -0
- package/rcode/skills/actions/4-implementation/rcode-debug/SKILL.md +1 -1
- package/rcode/skills/actions/4-implementation/rcode-dev-story/SKILL.md +2 -0
- package/rcode/skills/actions/4-implementation/rcode-retrospective/SKILL.md +2 -0
- package/rcode/skills/actions/4-implementation/rcode-scaffold-project/SKILL.md +2 -0
- package/rcode/skills/actions/4-implementation/rcode-sprint-planning/SKILL.md +3 -2
- package/rcode/skills/actions/4-implementation/rcode-sprint-status/SKILL.md +2 -0
- package/rcode/skills/agents/haitham-frontend/SKILL.md +6 -0
- package/rcode/skills/agents/hanzla-engineer/SKILL.md +6 -0
- package/rcode/skills/agents/hussain-pm/SKILL.md +1 -1
- package/rcode/skills/agents/hussain-sm/SKILL.md +3 -3
- package/rcode/skills/agents/majlis-council/references.md +17 -7
- package/rcode/skills/agents/raees-orchestrator/SKILL.md +13 -11
- package/rcode/skills/agents/yousef-backend/SKILL.md +6 -0
- package/rcode/templates/github/epic-template.md +1 -1
- package/rcode/templates/github/feature-template.md +1 -1
- package/rcode/templates/github/task-template.md +1 -1
- package/rcode/templates/sprint.md +14 -3
- package/rcode/templates/verification-report.md +7 -4
- package/rcode/workflows/code-review-fix.md +5 -5
- package/rcode/workflows/code-review.md +1 -1
- package/rcode/workflows/council.md +1 -0
- package/rcode/workflows/create-epics-and-stories.md +12 -6
- package/rcode/workflows/dev-story.md +12 -14
- package/rcode/workflows/do.md +12 -9
- package/rcode/workflows/execute-sprint.md +4 -0
- package/rcode/workflows/execute-waves.md +44 -1
- package/rcode/workflows/execute.md +20 -119
- package/rcode/workflows/lens-audit.md +7 -7
- package/rcode/workflows/plan-spawn-planner.md +0 -1
- package/rcode/workflows/plan.md +25 -136
- package/rcode/workflows/quick.md +1 -1
- package/rcode/workflows/sprint-planning.md +14 -37
- package/server/lib/html/client/components/shared.js +21 -1
- package/server/lib/html/client/views/SprintsView.js +3 -3
- package/server/lib/scanner.js +7 -4
|
@@ -62,7 +62,22 @@ function findLegacyRihalArtifacts(claudeDir) {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
const agents = [];
|
|
66
|
+
const agentsDir = path.join(claudeDir, 'agents');
|
|
67
|
+
for (const entry of listDirSafe(agentsDir)) {
|
|
68
|
+
if (!entry.isFile() || !entry.name.startsWith('rihal-') || !entry.name.endsWith('.md')) continue;
|
|
69
|
+
const twinName = 'rcode-' + entry.name.slice('rihal-'.length);
|
|
70
|
+
if (fs.existsSync(path.join(agentsDir, twinName))) {
|
|
71
|
+
agents.push({
|
|
72
|
+
name: entry.name,
|
|
73
|
+
twin: twinName,
|
|
74
|
+
srcPath: path.join(agentsDir, entry.name),
|
|
75
|
+
kind: 'agent',
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
return { skills, commands, agents };
|
|
66
81
|
}
|
|
67
82
|
|
|
68
83
|
/**
|
package/cli/uninstall.js
CHANGED
|
@@ -261,9 +261,14 @@ function buildPlan(cwd, editors) {
|
|
|
261
261
|
// v2 installs agents to .claude/agents/rcode-*.md — scan for them
|
|
262
262
|
const agentsDir = path.join(cwd, '.claude/agents');
|
|
263
263
|
if (fs.existsSync(agentsDir)) {
|
|
264
|
-
|
|
265
|
-
|
|
264
|
+
const agentFiles = fs.readdirSync(agentsDir);
|
|
265
|
+
plan.claude.agents = agentFiles
|
|
266
266
|
.filter((name) => name.startsWith('rcode-') && name.endsWith('.md'));
|
|
267
|
+
// Stale pre-rebrand rihal-*.md twins never get removed otherwise (#991)
|
|
268
|
+
plan.claude.agents = [
|
|
269
|
+
...plan.claude.agents,
|
|
270
|
+
...agentFiles.filter((name) => name.startsWith('rihal-') && name.endsWith('.md')),
|
|
271
|
+
];
|
|
267
272
|
}
|
|
268
273
|
// Installer copies rcode/agents/rules/ tree → .claude/agents/rules/ (#876)
|
|
269
274
|
if (fs.existsSync(path.join(cwd, '.claude/agents/rules'))) {
|