Browse Source

fix: Resolve malformed URL errors in advanced profile installation (Issue #103) (#104)

* 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

* fix: Use unique IDs for workflow reference files

- Change delegation.md ID from 'workflows-delegation' to 'delegation-ref'
- Change review.md ID from 'workflows-review' to 'review-ref'
- Prevents duplicate ID conflicts in registry
- Maintains both full content and reference files
Darren Hinde 2 months ago
parent
commit
db5742d0b3

+ 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).

+ 10 - 8
registry.json

@@ -2459,27 +2459,29 @@
         "category": "standard"
       },
       {
-        "id": "workflows-delegation",
-        "name": "Delegation Workflow",
+        "id": "delegation-ref",
+        "name": "Delegation Workflow Reference",
         "type": "context",
         "path": ".opencode/context/core/workflows/delegation.md",
-        "description": "Delegation Workflow (Symlink)",
+        "description": "Quick reference to delegation workflow (see task-delegation.md for full content)",
         "tags": [
           "workflows",
-          "delegation"
+          "delegation",
+          "reference"
         ],
         "dependencies": [],
         "category": "standard"
       },
       {
-        "id": "workflows-review",
-        "name": "Review Workflow",
+        "id": "review-ref",
+        "name": "Review Workflow Reference",
         "type": "context",
         "path": ".opencode/context/core/workflows/review.md",
-        "description": "Review Workflow (Symlink)",
+        "description": "Quick reference to code review workflow (see code-review.md for full content)",
         "tags": [
           "workflows",
-          "review"
+          "review",
+          "reference"
         ],
         "dependencies": [],
         "category": "standard"