Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
16 changes: 16 additions & 0 deletions .context/plans/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Collaboration Plans

This directory contains plans for coordinating work across documentation and playbooks.

## Plan Queue
1. [Blog Hermes K8s Install](./blog-hermes-k8s-install.md)

## How To Create Or Update Plans
- Run "ai-context plan <name>" to scaffold a new plan template.
- Run "ai-context plan <name> --fill" to have an LLM refresh the plan using the latest repository context.

## Related Resources
- [Agent Handbook](../agents/README.md)
- [Documentation Index](../docs/README.md)
- [Agent Knowledge Base](../../AGENTS.md)
- [Contributor Guidelines](../../CONTRIBUTING.md)
127 changes: 127 additions & 0 deletions .context/plans/blog-hermes-k8s-install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
---
status: filled
generated: 2026-06-19
agents:
- type: "documentation-writer"
role: "Write bilingual blog post content (en/pt-br) explaining how to install Hermes agent on Kubernetes"
- type: "devops-specialist"
role: "Review Kubernetes manifests for accuracy and best practices"
- type: "code-reviewer"
role: "Review blog post for technical accuracy and completeness"
docs:
- "content/pt-br/blog/"
- "content/en/blog/"
phases:
- id: "phase-1"
name: "Content Planning & Outline"
prevc: "P"
agent: "documentation-writer"
- id: "phase-2"
name: "Write Blog Post Content"
prevc: "E"
agent: "documentation-writer"
- id: "phase-3"
name: "Review & Build Verification"
prevc: "V"
agent: "code-reviewer"
---

# Blog Hermes K8s Install Plan

> Create a bilingual blog post (en/pt-br) teaching how to install the Hermes agent on Kubernetes. The post will walk through each Kubernetes resource from the manifests in `../iac/files/kubernetes/hermes`, explaining what each component does and how to deploy them with `kubectl`/`kustomize`. The post should include prerequisites, step-by-step instructions, configuration options, and verification steps.

## Task Snapshot
- **Primary goal:** Publish a technical blog post on eftech.com.br teaching users how to deploy the Hermes agent on Kubernetes
- **Success signal:** Blog post builds successfully with `hugo --gc --minify`, internal links use trailing slashes, and content is published in both pt-br and en
- **Key references:**
- [Existing blog posts](../content/pt-br/blog/) for formatting conventions
- [Kubernetes manifests](../../iac/files/kubernetes/hermes/) as technical reference

## Agent Lineup
| Agent | Role in this plan | Playbook | Focus |
| --- | --- | --- | --- |
| Documentation Writer | Write bilingual content (en/pt-br) | [Documentation Writer](../agents/documentation-writer.md) | Write clear, accurate, engaging technical blog posts |
| DevOps Specialist | Review Kubernetes accuracy | [DevOps Specialist](../agents/devops-specialist.md) | Validate k8s manifests, commands, and deployment steps |
| Code Reviewer | Quality assurance | [Code Reviewer](../agents/code-reviewer.md) | Verify technical accuracy and formatting |

## Working Phases

### Phase 1 — Content Planning & Outline (P)
> **Primary Agent:** `documentation-writer`

**Objective:** Define the structure and scope of the blog post for both languages.

**Tasks**

| # | Task | Agent | Status | Deliverable |
|---|------|-------|--------|-------------|
| 1.1 | Analyze Kubernetes manifests in `../iac/files/kubernetes/hermes` to understand each resource | `documentation-writer` | pending | Summary of each resource and its purpose |
| 1.2 | Review existing blog posts for format, tone, and structure conventions | `documentation-writer` | pending | Format reference notes |
| 1.3 | Create detailed outline for pt-br and en versions | `documentation-writer` | pending | Outline document |

**Proposed Outline:**
1. Introduction — what is Hermes agent and why run it on Kubernetes
2. Prerequisites — kubectl, kustomize, Kubernetes cluster, cert-manager, storage class
3. Step 1: Create the namespace
4. Step 2: ConfigMap configuration (environment variables)
5. Step 3: Secrets (external, via Reloader)
6. Step 4: PersistentVolumeClaim for data storage
7. Step 5: Deployment — container spec, probes, resource limits
8. Step 6: Services — Gateway, Dashboard, Webhook
9. Step 7: TLS certificate with cert-manager (Issuer)
10. Step 8: Ingress configuration (optional)
11. Apply everything with kustomize
12. Verification — health checks, logs, dashboard access
13. Conclusion + call to action

---

### Phase 2 — Write Blog Post Content (E)
> **Primary Agent:** `documentation-writer`

**Objective:** Write the full blog post in both Portuguese and English.

**Tasks**

| # | Task | Agent | Status | Deliverable |
|---|------|-------|--------|-------------|
| 2.1 | Write Portuguese version (`content/pt-br/blog/hermes-k8s-install.md`) | `documentation-writer` | pending | pt-br blog post markdown |
| 2.2 | Write English version (`content/en/blog/hermes-k8s-install.md`) | `documentation-writer` | pending | en blog post markdown |
| 2.3 | Verify both files follow front matter conventions and internal link format | `documentation-writer` | pending | Self-review |

**Content Requirements:**
- Front matter: `title`, `description`, `summary`, `date`, `draft: false`, `tags`, `categories`
- Tags: `hermes`, `kubernetes`, `k8s`, `devops`, `deploy` (pt-br: `hermes`, `kubernetes`, `k8s`, `devops`, `implantacao`)
- Categories: `devops` / `infraestrutura`
- Internal links must use trailing slashes (e.g., `/contato/`)
- Include code blocks with YAML snippets from the manifests
- Include kubectl/kustomize commands in code blocks
- End with CTA linking to `/contato/`

---

### Phase 3 — Review & Build Verification (V)
> **Primary Agent:** `code-reviewer`

**Objective:** Verify technical accuracy and ensure the site builds cleanly.

**Tasks**

| # | Task | Agent | Status | Deliverable |
|---|------|-------|--------|-------------|
| 3.1 | Verify Kubernetes commands and manifest references are accurate | `devops-specialist` | pending | Technical accuracy sign-off |
| 3.2 | Run `hugo --gc --minify` to verify build | `code-reviewer` | pending | Clean build output |
| 3.3 | Verify internal links use trailing slashes | `code-reviewer` | pending | Link check pass |
| 3.4 | Cross-link post in `.context/docs/README.md` if applicable | `documentation-writer` | pending | Updated index |

## Success Criteria
- `hugo --gc --minify` completes with zero errors
- Both pt-br and en versions render correctly on `hugo server -D`
- All internal links use trailing slashes
- Kubernetes manifests and commands are technically accurate
- Blog follows the same format and tone as existing posts

## Rollback
- If build fails: fix issues and re-run `hugo --gc --minify`
- If content is incorrect: edit the markdown files directly
- No production changes beyond content files
16 changes: 16 additions & 0 deletions .context/workflow/actions.jsonl
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,19 @@
{"timestamp":"2026-06-19T11:58:03.054Z","tool":"context","action":"fill","status":"success","details":{"params":{"action":"fill","target":"all"},"result":{"success":true}}}
{"timestamp":"2026-06-19T12:03:42.336Z","tool":"context","action":"listToFill","status":"success","details":{"params":{"action":"listToFill"},"result":{"success":true}}}
{"timestamp":"2026-06-19T12:04:51.604Z","tool":"skill","action":"list","status":"success","details":{"params":{"action":"list"},"result":{"success":true}}}
{"timestamp":"2026-06-19T21:34:34.010Z","tool":"context","action":"check","status":"success","details":{"params":{"action":"check","repoPath":"/Users/eduardo/git/github/eftechcombr/www"}}}
{"timestamp":"2026-06-19T21:34:40.538Z","tool":"workflow-init","action":"workflow-init","status":"success","details":{"params":{"name":"blog-hermes-k8s-install","description":"Plan and create a blog post about how to install the Hermes agent using Kubernetes, using the existing k8s manifests in ../iac/files/kubernetes/hermes as reference. The post should cover namespace cre...","scale":"MEDIUM","autonomous":true},"result":{"success":true,"message":"Workflow initialized: blog-hermes-k8s-install","currentPhase":"P","scale":"Medium"}}}
{"timestamp":"2026-06-19T21:34:44.925Z","tool":"context","action":"scaffoldPlan","status":"success","details":{"params":{"action":"scaffoldPlan","repoPath":"/Users/eduardo/git/github/eftechcombr/www","planName":"blog-hermes-k8s-install","summary":"Create a bilingual blog post (en/pt-br) teaching how to install the Hermes agent on Kubernetes. The post will walk through each Kubernetes resource from the manifests in ../iac/files/kubernetes/hermes..."},"result":{"success":true,"status":"incomplete"}}}
{"timestamp":"2026-06-19T21:34:47.828Z","tool":"context","action":"fillSingle","status":"success","details":{"params":{"action":"fillSingle","repoPath":"/Users/eduardo/git/github/eftechcombr/www","filePath":"/Users/eduardo/git/github/eftechcombr/www/.context/plans/blog-hermes-k8s-install.md"},"result":{"success":true}}}
{"timestamp":"2026-06-19T21:35:06.591Z","tool":"plan","action":"link","status":"success","details":{"params":{"action":"link","planSlug":"blog-hermes-k8s-install"},"result":{"success":true}}}
{"timestamp":"2026-06-19T21:35:09.013Z","tool":"plan","action":"updatePhase","status":"success","details":{"params":{"action":"updatePhase","planSlug":"blog-hermes-k8s-install","phaseId":"phase-1","status":"completed"},"result":{"success":true,"planSlug":"blog-hermes-k8s-install","status":"completed"}}}
{"timestamp":"2026-06-19T21:35:11.280Z","tool":"workflow-advance","action":"workflow-advance","status":"success","details":{"params":{"outputs":[".context/plans/blog-hermes-k8s-install.md"]},"result":{"success":true,"message":"Advanced to Review phase","nextPhase":{"code":"R","name":"Review"}}}}
{"timestamp":"2026-06-19T21:35:14.565Z","tool":"workflow-manage","action":"approvePlan","status":"success","details":{"params":{"action":"approvePlan","planSlug":"blog-hermes-k8s-install","approver":"solo-dev","notes":"Plan reviewed and approved. The outline covers all 8 Kubernetes resources, prerequisites, step-by-step deployment, and verification. Ready to write content."},"result":{"success":true,"message":"Plan approved successfully"}}}
{"timestamp":"2026-06-19T21:35:16.650Z","tool":"workflow-advance","action":"workflow-advance","status":"success","details":{"params":{},"result":{"success":true,"message":"Advanced to Execution phase","nextPhase":{"code":"E","name":"Execution"}}}}
{"timestamp":"2026-06-19T21:35:50.141Z","tool":"plan","action":"updatePhase","status":"success","details":{"params":{"action":"updatePhase","planSlug":"blog-hermes-k8s-install","phaseId":"phase-2","status":"in_progress"},"result":{"success":true,"planSlug":"blog-hermes-k8s-install","status":"in_progress"}}}
{"timestamp":"2026-06-19T21:36:36.682Z","tool":"plan","action":"updatePhase","status":"success","details":{"params":{"action":"updatePhase","planSlug":"blog-hermes-k8s-install","phaseId":"phase-2","status":"completed"},"result":{"success":true,"planSlug":"blog-hermes-k8s-install","status":"completed"}}}
{"timestamp":"2026-06-19T21:36:38.734Z","tool":"workflow-advance","action":"workflow-advance","status":"success","details":{"params":{"outputs":["content/pt-br/blog/hermes-k8s-install.md","content/en/blog/hermes-k8s-install.md"]},"result":{"success":true,"message":"Advanced to Validation phase","nextPhase":{"code":"V","name":"Validation"}}}}
{"timestamp":"2026-06-19T21:36:41.611Z","tool":"plan","action":"updatePhase","status":"success","details":{"params":{"action":"updatePhase","planSlug":"blog-hermes-k8s-install","phaseId":"phase-3","status":"in_progress"},"result":{"success":true,"planSlug":"blog-hermes-k8s-install","status":"in_progress"}}}
{"timestamp":"2026-06-19T21:36:48.429Z","tool":"plan","action":"updateStep","status":"error","details":{"params":{"action":"updateStep","planSlug":"blog-hermes-k8s-install","phaseId":"phase-3","status":"completed","stepIndex":2,"output":"hugo build succeeds (58 pt-br + 6 en pages, 18ms). Internal links use trailing slashes."},"result":{"success":false}},"error":"Cannot read properties of undefined (reading 'find')"}
{"timestamp":"2026-06-19T21:36:48.884Z","tool":"plan","action":"updatePhase","status":"success","details":{"params":{"action":"updatePhase","planSlug":"blog-hermes-k8s-install","phaseId":"phase-3","status":"completed"},"result":{"success":true,"planSlug":"blog-hermes-k8s-install","status":"completed"}}}
{"timestamp":"2026-06-19T21:36:51.239Z","tool":"workflow-advance","action":"workflow-advance","status":"success","details":{"params":{"outputs":["content/pt-br/blog/hermes-k8s-install.md","content/en/blog/hermes-k8s-install.md"]},"result":{"success":true,"message":"Workflow completed!"}}}
17 changes: 17 additions & 0 deletions .context/workflow/plan-tracking/blog-hermes-k8s-install.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"phases": {
"phase-1": {
"status": "completed",
"updatedAt": "2026-06-19T21:35:09.010Z"
},
"phase-2": {
"status": "completed",
"updatedAt": "2026-06-19T21:36:36.681Z"
},
"phase-3": {
"status": "completed",
"updatedAt": "2026-06-19T21:36:48.883Z"
}
},
"progress": 100
}
14 changes: 14 additions & 0 deletions .context/workflow/plans.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"active": [
{
"slug": "blog-hermes-k8s-install",
"path": "plans/blog-hermes-k8s-install.md",
"title": "Blog Hermes K8s Install",
"summary": "Create a bilingual blog post (en/pt-br) teaching how to install the Hermes agent on Kubernetes. The post will walk through each Kubernetes resource from the manifests in `../iac/files/kubernetes/hermes`, explaining what each component does and how to deploy them with `kubectl`/`kustomize`. The post should include prerequisites, step-by-step instructions, configuration options, and verification steps.",
"linkedAt": "2026-06-19T21:35:06.590Z",
"status": "active"
}
],
"completed": [],
"primary": "blog-hermes-k8s-install"
}
52 changes: 52 additions & 0 deletions .context/workflow/status.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
project:
name: "blog-hermes-k8s-install"
scale: MEDIUM
started: "2026-06-19T21:34:40.521Z"
current_phase: V

phases:
P:
status: filled
started_at: "2026-06-19T21:34:40.521Z"
completed_at: "2026-06-19T21:35:11.278Z"
R:
status: completed
started_at: "2026-06-19T21:35:11.279Z"
completed_at: "2026-06-19T21:35:16.648Z"
E:
status: filled
started_at: "2026-06-19T21:35:16.649Z"
completed_at: "2026-06-19T21:36:38.732Z"
V:
status: completed
started_at: "2026-06-19T21:36:38.733Z"
completed_at: "2026-06-19T21:36:51.239Z"
outputs:
- path: "content/pt-br/blog/hermes-k8s-install.md"
status: filled
- path: "content/en/blog/hermes-k8s-install.md"
status: filled
C:
status: skipped
reason: "Not required for scale MEDIUM"

execution:
history:
- timestamp: "2026-06-19T21:36:51.239Z"
phase: V
action: completed
last_activity: "2026-06-19T21:36:51.239Z"
resume_context: "Fase V (Validação) concluída"

settings:
autonomous_mode: true
require_plan: true
require_approval: true

approval:
plan_created: true
plan_approved: true
approved_by: "solo-dev"
approved_at: "2026-06-19T21:35:14.565Z"
approval_notes: "Plan reviewed and approved. The outline covers all 8 Kubernetes resources, prerequisites, step-by-step deployment, and verification. Ready to write content."

Loading
Loading