Просмотр исходного кода

fix: Replace symlinks with reference files for workflows-delegation and workflows-review

- Convert delegation.md and review.md from symlinks to actual reference files
- Reference files contain quick reference info and link to full content
- Fixes curl malformed URL errors in advanced profile installation
- Maintains backward compatibility with existing references
- Resolves issue #103
darrenhinde 6 месяцев назад
Родитель
Сommit
bc76074b97

+ 0 - 1
.opencode/context/core/workflows/delegation.md

@@ -1 +0,0 @@
-task-delegation.md

+ 16 - 0
.opencode/context/core/workflows/delegation.md

@@ -0,0 +1,16 @@
+<!-- Context: workflows/delegation | Priority: high | Version: 2.0 | Updated: 2025-01-21 -->
+# Delegation Context Template
+
+> **Note**: This is a reference file. The full content is in [`task-delegation.md`](./task-delegation.md).
+
+## Quick Reference
+
+**Process**: Create context → Populate → Delegate → Cleanup
+
+**Location**: `.tmp/sessions/{timestamp}-{task-slug}/context.md`
+
+**Template Sections**: Request, Requirements, Decisions, Files, Static Context, Constraints, Progress, Instructions
+
+---
+
+For the complete delegation workflow template, see [task-delegation.md](./task-delegation.md).

+ 0 - 1
.opencode/context/core/workflows/review.md

@@ -1 +0,0 @@
-code-review.md

+ 19 - 0
.opencode/context/core/workflows/review.md

@@ -0,0 +1,19 @@
+<!-- Context: workflows/review | Priority: high | Version: 2.0 | Updated: 2025-01-21 -->
+
+# Code Review Guidelines
+
+> **Note**: This is a reference file. The full content is in [`code-review.md`](./code-review.md).
+
+## Quick Reference
+
+**Golden Rule**: Review code as you'd want yours reviewed - thoroughly but kindly
+
+**Checklist**: Functionality, Code Quality, Security, Testing, Performance, Maintainability
+
+**Report Format**: Summary, Assessment, Issues (🔴🟡🔵), Positive Observations, Recommendations
+
+**Principles**: Constructive, Thorough, Timely
+
+---
+
+For the complete code review guidelines, see [code-review.md](./code-review.md).

+ 8 - 6
registry.json

@@ -2460,26 +2460,28 @@
       },
       {
         "id": "workflows-delegation",
-        "name": "Delegation Workflow",
+        "name": "Delegation Workflow (Short Reference)",
         "type": "context",
         "path": ".opencode/context/core/workflows/delegation.md",
-        "description": "Delegation Workflow (Symlink)",
+        "description": "Quick reference to delegation workflow (points to task-delegation.md)",
         "tags": [
           "workflows",
-          "delegation"
+          "delegation",
+          "reference"
         ],
         "dependencies": [],
         "category": "standard"
       },
       {
         "id": "workflows-review",
-        "name": "Review Workflow",
+        "name": "Review Workflow (Short Reference)",
         "type": "context",
         "path": ".opencode/context/core/workflows/review.md",
-        "description": "Review Workflow (Symlink)",
+        "description": "Quick reference to code review workflow (points to code-review.md)",
         "tags": [
           "workflows",
-          "review"
+          "review",
+          "reference"
         ],
         "dependencies": [],
         "category": "standard"