Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
711cf4d
Update chat components and markdown rendering
omdaezz5050 Jan 31, 2026
030b8db
Add memory bank files and continue working
omdaezz5050 Jan 31, 2026
9d4ae6f
feat(code-index): Add XML file support for Odoo ERP indexing
omdaezz5050 Jan 31, 2026
40fddb2
feat: enhance indexing and context management
omdaezz5050 Jan 31, 2026
5a07d4e
feat: enable advanced indexing features by default
omdaezz5050 Jan 31, 2026
7f0bc39
feat: add hybrid search setting description
omdaezz5050 Feb 1, 2026
c640585
feat: Add Context, Memory, and Indexing improvements
omdaezz5050 Feb 1, 2026
b92ecda
feat: improve code indexing functionality
omdaezz5050 Feb 1, 2026
7efd971
feat: Add parallel tool execution support
omdaezz5050 Feb 1, 2026
58f47b6
feat: update NativeToolCallParser
omdaezz5050 Feb 1, 2026
006ce98
Merge branch 'feat/parallel-tool-execution'
omdaezz5050 Feb 1, 2026
cddcdfd
feat(code-index): add Knowledge Graph for dependency tracking
omdaezz5050 Feb 2, 2026
3108151
fix(code-index): add Knowledge Graph persistence and lifecycle manage…
omdaezz5050 Feb 2, 2026
5b11af2
Merge branch 'feature/knowledge-graph' into main
omdaezz5050 Feb 2, 2026
65e7dd6
feat: Add ContextDashboard component above ChatView
omdaezz5050 Feb 3, 2026
9352748
Add .roo rules directories
omdaezz5050 Feb 3, 2026
52e7b2d
feat: add bmad agent commands and update chat components
omdaezz5050 Feb 3, 2026
f7ca2d8
feat: add BMAD commands
omdaezz5050 Feb 4, 2026
c8ae7a9
chore: update vscode-extension-host types
omdaezz5050 Feb 4, 2026
c520be4
feat: add comprehensive Arabic documentation for Roo Code project
omdaezz5050 Feb 4, 2026
3f5d1a0
feat(context-engine): add context engine and memory services
omdaezz5050 Feb 4, 2026
c01a572
Update sqlite-adapter.ts and knowledge-graph files
omdaezz5050 Feb 4, 2026
9b07a4f
Remove all bmad method related files and folders
omdaezz5050 Feb 4, 2026
5e0a3ee
Merge pull request #1 from emadezzai/remove-bmad-method
emadezzai Feb 4, 2026
b031cac
Add Speckit command and workflow files
omdaezz5050 Feb 4, 2026
20c27a6
Fix TypeScript type errors for pre-push hook
omdaezz5050 Feb 4, 2026
8480931
Merge branch 'RooCodeInc:main' into add-speckit-commands
emadezzai Feb 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
This directory contains changesets. Every time you make a change that should be released, you add a changeset file here.

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
## How to create a changeset

1. Run `pnpm changeset` from the root of the monorepo
2. Select the packages that changed
3. Write a summary of the changes
4. Save the file

## How to release

1. Run `pnpm changeset version` to update version numbers and package.json files
2. Run `pnpm changeset publish` to publish the packages to npm
54 changes: 54 additions & 0 deletions .cline/spec-kit-workflow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Spec-Kit Workflow for Cline

This workflow file enables Cline to use spec-kit commands directly.

## Available Commands

### Core Workflow

- `sp_init` - Initialize spec-kit in project
- `sp_sp` - Create feature specification
- `sp_clarify` - Analyze spec for ambiguities
- `sp_pl` - Create implementation plan
- `sp_ts` - Generate task list
- `sp_impl` - Get all tasks for implementation
- `sp_done` - Mark task as complete
- `sp_ch` - Generate review checklist
- `sp_con` - Get/create constitution

### Utility Commands

- `sp_list` - List all features
- `sp_active` - Get next single task
- `sp_analyze` - Analyze cross-artifact consistency

## Workflow Steps

1. **Initialize**: `sp_init` (first time only)
2. **Specify**: `sp_sp` with feature description
3. **Clarify**: `sp_clarify` to check for issues (optional)
4. **Plan**: `sp_pl` with technical context
5. **Tasks**: `sp_ts` to generate task list
6. **Implement**: `sp_impl` to get all tasks, then implement each one
7. **Complete**: `sp_done` after each task
8. **Review**: `sp_ch` for final checklist

## Example Usage

```
Use sp_sp with:
description: "User authentication system"
projectRoot: "/path/to/project"

Then use sp_pl with:
featureName: "001-user-auth"
techContext: "Node.js with Express and PostgreSQL"
projectRoot: "/path/to/project"
```

## Notes

- All commands require `projectRoot` parameter
- Feature names are auto-generated (001-feature-name format)
- Tasks are organized by user story for independent implementation
- Use `sp_impl` for full implementation workflow
184 changes: 184 additions & 0 deletions .roo/commands/speckit.analyze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
---
description: Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
---

## User Input

```text
$ARGUMENTS
```

You **MUST** consider the user input before proceeding (if not empty).

## Goal

Identify inconsistencies, duplications, ambiguities, and underspecified items across the three core artifacts (`spec.md`, `plan.md`, `tasks.md`) before implementation. This command MUST run only after `/speckit.tasks` has successfully produced a complete `tasks.md`.

## Operating Constraints

**STRICTLY READ-ONLY**: Do **not** modify any files. Output a structured analysis report. Offer an optional remediation plan (user must explicitly approve before any follow-up editing commands would be invoked manually).

**Constitution Authority**: The project constitution (`.specify/memory/constitution.md`) is **non-negotiable** within this analysis scope. Constitution conflicts are automatically CRITICAL and require adjustment of the spec, plan, or tasks—not dilution, reinterpretation, or silent ignoring of the principle. If a principle itself needs to change, that must occur in a separate, explicit constitution update outside `/speckit.analyze`.

## Execution Steps

### 1. Initialize Analysis Context

Run `.specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks` once from repo root and parse JSON for FEATURE_DIR and AVAILABLE_DOCS. Derive absolute paths:

- SPEC = FEATURE_DIR/spec.md
- PLAN = FEATURE_DIR/plan.md
- TASKS = FEATURE_DIR/tasks.md

Abort with an error message if any required file is missing (instruct the user to run missing prerequisite command).
For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'\''m Groot' (or double-quote if possible: "I'm Groot").

### 2. Load Artifacts (Progressive Disclosure)

Load only the minimal necessary context from each artifact:

**From spec.md:**

- Overview/Context
- Functional Requirements
- Non-Functional Requirements
- User Stories
- Edge Cases (if present)

**From plan.md:**

- Architecture/stack choices
- Data Model references
- Phases
- Technical constraints

**From tasks.md:**

- Task IDs
- Descriptions
- Phase grouping
- Parallel markers [P]
- Referenced file paths

**From constitution:**

- Load `.specify/memory/constitution.md` for principle validation

### 3. Build Semantic Models

Create internal representations (do not include raw artifacts in output):

- **Requirements inventory**: Each functional + non-functional requirement with a stable key (derive slug based on imperative phrase; e.g., "User can upload file" → `user-can-upload-file`)
- **User story/action inventory**: Discrete user actions with acceptance criteria
- **Task coverage mapping**: Map each task to one or more requirements or stories (inference by keyword / explicit reference patterns like IDs or key phrases)
- **Constitution rule set**: Extract principle names and MUST/SHOULD normative statements

### 4. Detection Passes (Token-Efficient Analysis)

Focus on high-signal findings. Limit to 50 findings total; aggregate remainder in overflow summary.

#### A. Duplication Detection

- Identify near-duplicate requirements
- Mark lower-quality phrasing for consolidation

#### B. Ambiguity Detection

- Flag vague adjectives (fast, scalable, secure, intuitive, robust) lacking measurable criteria
- Flag unresolved placeholders (TODO, TKTK, ???, `<placeholder>`, etc.)

#### C. Underspecification

- Requirements with verbs but missing object or measurable outcome
- User stories missing acceptance criteria alignment
- Tasks referencing files or components not defined in spec/plan

#### D. Constitution Alignment

- Any requirement or plan element conflicting with a MUST principle
- Missing mandated sections or quality gates from constitution

#### E. Coverage Gaps

- Requirements with zero associated tasks
- Tasks with no mapped requirement/story
- Non-functional requirements not reflected in tasks (e.g., performance, security)

#### F. Inconsistency

- Terminology drift (same concept named differently across files)
- Data entities referenced in plan but absent in spec (or vice versa)
- Task ordering contradictions (e.g., integration tasks before foundational setup tasks without dependency note)
- Conflicting requirements (e.g., one requires Next.js while other specifies Vue)

### 5. Severity Assignment

Use this heuristic to prioritize findings:

- **CRITICAL**: Violates constitution MUST, missing core spec artifact, or requirement with zero coverage that blocks baseline functionality
- **HIGH**: Duplicate or conflicting requirement, ambiguous security/performance attribute, untestable acceptance criterion
- **MEDIUM**: Terminology drift, missing non-functional task coverage, underspecified edge case
- **LOW**: Style/wording improvements, minor redundancy not affecting execution order

### 6. Produce Compact Analysis Report

Output a Markdown report (no file writes) with the following structure:

## Specification Analysis Report

| ID | Category | Severity | Location(s) | Summary | Recommendation |
| --- | ----------- | -------- | ---------------- | ---------------------------- | ------------------------------------ |
| A1 | Duplication | HIGH | spec.md:L120-134 | Two similar requirements ... | Merge phrasing; keep clearer version |

(Add one row per finding; generate stable IDs prefixed by category initial.)

**Coverage Summary Table:**

| Requirement Key | Has Task? | Task IDs | Notes |
| --------------- | --------- | -------- | ----- |

**Constitution Alignment Issues:** (if any)

**Unmapped Tasks:** (if any)

**Metrics:**

- Total Requirements
- Total Tasks
- Coverage % (requirements with >=1 task)
- Ambiguity Count
- Duplication Count
- Critical Issues Count

### 7. Provide Next Actions

At end of report, output a concise Next Actions block:

- If CRITICAL issues exist: Recommend resolving before `/speckit.implement`
- If only LOW/MEDIUM: User may proceed, but provide improvement suggestions
- Provide explicit command suggestions: e.g., "Run /speckit.specify with refinement", "Run /speckit.plan to adjust architecture", "Manually edit tasks.md to add coverage for 'performance-metrics'"

### 8. Offer Remediation

Ask the user: "Would you like me to suggest concrete remediation edits for the top N issues?" (Do NOT apply them automatically.)

## Operating Principles

### Context Efficiency

- **Minimal high-signal tokens**: Focus on actionable findings, not exhaustive documentation
- **Progressive disclosure**: Load artifacts incrementally; don't dump all content into analysis
- **Token-efficient output**: Limit findings table to 50 rows; summarize overflow
- **Deterministic results**: Rerunning without changes should produce consistent IDs and counts

### Analysis Guidelines

- **NEVER modify files** (this is read-only analysis)
- **NEVER hallucinate missing sections** (if absent, report them accurately)
- **Prioritize constitution violations** (these are always CRITICAL)
- **Use examples over exhaustive rules** (cite specific instances, not generic patterns)
- **Report zero issues gracefully** (emit success report with coverage statistics)

## Context

$ARGUMENTS
Loading
Loading