ganbatte-os 0.2.41 → 0.2.42
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/.gos/README.md +2 -6
- package/.gos/agents/profiles/ganbatte-os-master.md +91 -58
- package/.gos/agents/profiles/index.json +3 -1
- package/.gos/agents/profiles/perf-optimizer.md +10 -0
- package/.gos/agents/profiles/po.md +1 -1
- package/.gos/agents/profiles/security-auditor.md +11 -0
- package/.gos/agents/profiles/sm.md +4 -4
- package/.gos/agents/profiles/squad-creator.md +2 -2
- package/.gos/config.json +23 -2
- package/.gos/docs/curation.md +8 -6
- package/.gos/docs/gos_installation_guide.md +1 -1
- package/.gos/docs/plan-distribuicao-publica.md +2 -3
- package/.gos/docs/toolchain-map.md +2 -2
- package/.gos/libraries/doc-sync-policy.md +31 -0
- package/.gos/libraries/lazy-dev-policy.md +38 -0
- package/.gos/libraries/lucide-icons-policy.md +1 -1
- package/.gos/libraries/performance-audit-playbook.md +54 -0
- package/.gos/libraries/security-audit-playbook.md +63 -0
- package/.gos/manifests/g-os-runtime-manifest.json +29 -8
- package/.gos/playbooks/plan-creation-playbook.md +3 -5
- package/.gos/prompts/01-search.md +2 -2
- package/.gos/prompts/03-tasks.md +4 -4
- package/.gos/prompts/05-reviews.md +1 -1
- package/.gos/scripts/cli/gos-cli.js +16 -0
- package/.gos/scripts/hooks/claude-stop-summary.js +0 -16
- package/.gos/scripts/integrations/check-plan.js +15 -5
- package/.gos/scripts/integrations/setup-ide-adapters.js +72 -75
- package/.gos/scripts/tools/model-router.js +122 -0
- package/.gos/skills/execute-plan/SKILL.md +37 -23
- package/.gos/skills/perf-review/SKILL.md +58 -0
- package/.gos/skills/plan-blueprint/SKILL.md +26 -26
- package/.gos/skills/plan-to-tasks/SKILL.md +4 -1
- package/.gos/skills/progress-tracker/SKILL.md +3 -3
- package/.gos/skills/registry.json +3 -4
- package/.gos/skills/security-review/SKILL.md +59 -0
- package/.gos/skills/simplify-review/SKILL.md +59 -0
- package/.gos/skills/validate-plan/SKILL.md +29 -30
- package/.gos/squads/code-quality/README.md +20 -0
- package/.gos/squads/code-quality/squad.yaml +32 -0
- package/.gos/squads/code-quality/workflows/wf-code-quality.yaml +19 -0
- package/.gos/squads/design-delivery/README.md +1 -1
- package/.gos/squads/design-delivery/squad.yaml +4 -3
- package/.gos/squads/design-delivery/workflows/wf-design-delivery.yaml +6 -6
- package/.gos/templates/planTemplate.md +14 -5
- package/.gos/templates/specTemplate.md +68 -0
- package/.gos/templates/taskTemplate.md +8 -5
- package/AGENTS.md +0 -2
- package/CLAUDE.md +25 -9
- package/GEMINI.md +3 -3
- package/LICENSE +1 -1
- package/README.md +6 -8
- package/package.json +2 -3
- package/.gos/docs/slack-notifications.md +0 -219
- package/.gos/playbooks/sprint-planner-playbook.md +0 -127
- package/.gos/scripts/hooks/post-commit-notify.js +0 -175
- package/.gos/scripts/tools/clickup-preprocess.js +0 -218
- package/.gos/scripts/tools/clickup.js +0 -1058
- package/.gos/scripts/tools/slack-notify.js +0 -271
- package/.gos/skills/clickup/SKILL.md +0 -151
- package/.gos/skills/slack-review/SKILL.md +0 -91
- package/.gos/skills/sprint-planner/SKILL.md +0 -434
- package/.gos/skills/weekly-update/CHANGELOG.md +0 -165
- package/.gos/skills/weekly-update/SKILL.md +0 -361
- package/.gos/squads/sprint-planning/agents/sprint-chief.md +0 -47
- package/.gos/squads/sprint-planning/agents/sprint-planner-agent.md +0 -43
- package/.gos/squads/sprint-planning/agents/sprint-tracker.md +0 -43
- package/.gos/squads/sprint-planning/agents/task-importer.md +0 -44
- package/.gos/squads/sprint-planning/checklists/sprint-readiness.md +0 -27
- package/.gos/squads/sprint-planning/config/config.yaml +0 -65
- package/.gos/squads/sprint-planning/data/clickup-field-mapping.yaml +0 -94
- package/.gos/squads/sprint-planning/squad.yaml +0 -52
- package/.gos/squads/sprint-planning/tasks/close-sprint.md +0 -43
- package/.gos/squads/sprint-planning/tasks/create-sprint.md +0 -42
- package/.gos/squads/sprint-planning/tasks/import-tasks.md +0 -39
- package/.gos/squads/sprint-planning/tasks/sync-status.md +0 -31
- package/.gos/squads/sprint-planning/workflows/wf-sprint-creation.yaml +0 -59
- package/.gos/squads/sprint-planning/workflows/wf-sprint-sync.yaml +0 -35
- package/.gos/templates/sprint-clickup.template.md +0 -80
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
# ClickUp Custom Field Mapping
|
|
2
|
-
# Maps G-OS task fields to ClickUp custom fields
|
|
3
|
-
# field_id values must be configured per workspace (discovered via `clickup.js field list`)
|
|
4
|
-
|
|
5
|
-
version: "1.0"
|
|
6
|
-
|
|
7
|
-
fields:
|
|
8
|
-
gos_ref:
|
|
9
|
-
description: "Reference code (M/F/B) from spec"
|
|
10
|
-
clickup_type: short_text
|
|
11
|
-
gos_source: ref
|
|
12
|
-
field_id: "" # Set per workspace
|
|
13
|
-
|
|
14
|
-
sprint_points:
|
|
15
|
-
description: "Story points / sprint points"
|
|
16
|
-
clickup_type: number
|
|
17
|
-
gos_source: points
|
|
18
|
-
field_id: ""
|
|
19
|
-
|
|
20
|
-
business_rules:
|
|
21
|
-
description: "Business rules (BR-NNN)"
|
|
22
|
-
clickup_type: text
|
|
23
|
-
gos_source: businessRules
|
|
24
|
-
field_id: ""
|
|
25
|
-
|
|
26
|
-
track:
|
|
27
|
-
description: "Development track"
|
|
28
|
-
clickup_type: drop_down
|
|
29
|
-
gos_source: area
|
|
30
|
-
options: [backend, frontend, qa, devops, general]
|
|
31
|
-
field_id: ""
|
|
32
|
-
|
|
33
|
-
acceptance_criteria:
|
|
34
|
-
description: "Acceptance criteria"
|
|
35
|
-
clickup_type: text
|
|
36
|
-
gos_source: acceptanceCriteria
|
|
37
|
-
field_id: ""
|
|
38
|
-
|
|
39
|
-
depends_on:
|
|
40
|
-
description: "Task dependencies (T-NNN list)"
|
|
41
|
-
clickup_type: text
|
|
42
|
-
gos_source: dependencies
|
|
43
|
-
field_id: ""
|
|
44
|
-
|
|
45
|
-
context:
|
|
46
|
-
description: "Contexto de negócio — motivação da task para leitor não-técnico"
|
|
47
|
-
clickup_type: text
|
|
48
|
-
gos_source: context
|
|
49
|
-
mapped_to: description # Integrado na descrição rica via buildTaskDescription()
|
|
50
|
-
|
|
51
|
-
steps:
|
|
52
|
-
description: "Passo a passo de implementação (3-7 steps acionáveis)"
|
|
53
|
-
clickup_type: checklist
|
|
54
|
-
gos_source: steps
|
|
55
|
-
mapped_to: "checklist:Implementation Steps" # Vira checklist automaticamente
|
|
56
|
-
|
|
57
|
-
technical_notes:
|
|
58
|
-
description: "Notas técnicas, decisões de arquitetura, caveats"
|
|
59
|
-
clickup_type: text
|
|
60
|
-
gos_source: technicalNotes
|
|
61
|
-
mapped_to: description # Integrado na descrição rica
|
|
62
|
-
|
|
63
|
-
estimated_hours:
|
|
64
|
-
description: "Estimativa em horas (0.5-16)"
|
|
65
|
-
clickup_type: number
|
|
66
|
-
gos_source: estimatedHours
|
|
67
|
-
mapped_to: time_estimate # Convertido para milissegundos no import
|
|
68
|
-
|
|
69
|
-
dod:
|
|
70
|
-
description: "Definition of Done — como verificar que está pronto"
|
|
71
|
-
clickup_type: text
|
|
72
|
-
gos_source: dod
|
|
73
|
-
mapped_to: description # Integrado na descrição rica
|
|
74
|
-
|
|
75
|
-
tag_conventions:
|
|
76
|
-
sprint_id: "sprint:{SPRINT_ID}" # e.g. sprint:S01
|
|
77
|
-
sprint_status: "sprint-status:{STATUS}" # e.g. sprint-status:active
|
|
78
|
-
track: "track:{TRACK}" # e.g. track:backend
|
|
79
|
-
task_id: "{TASK_ID}" # e.g. T-001
|
|
80
|
-
|
|
81
|
-
status_mapping:
|
|
82
|
-
gos_to_clickup:
|
|
83
|
-
todo: "to do"
|
|
84
|
-
in-progress: "in progress"
|
|
85
|
-
review: "in review"
|
|
86
|
-
done: "complete"
|
|
87
|
-
blocked: "blocked"
|
|
88
|
-
clickup_to_gos:
|
|
89
|
-
"to do": todo
|
|
90
|
-
"in progress": in-progress
|
|
91
|
-
"in review": review
|
|
92
|
-
"complete": done
|
|
93
|
-
"closed": done
|
|
94
|
-
"blocked": blocked
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
name: sprint-planning
|
|
2
|
-
version: "1.0.0"
|
|
3
|
-
short-title: "Sprint Planning Squad"
|
|
4
|
-
description: "Orquestra o ciclo de vida de sprints no ClickUp: planejamento, criacao, importacao de tasks, tracking de status e fechamento. Usa Folders como containers de sprint e Lists como tracks (backend/frontend)."
|
|
5
|
-
author: "Synkra AIOS"
|
|
6
|
-
license: MIT
|
|
7
|
-
slashPrefix: "sprint-squad"
|
|
8
|
-
|
|
9
|
-
aios:
|
|
10
|
-
minVersion: "4.0.0"
|
|
11
|
-
type: squad
|
|
12
|
-
|
|
13
|
-
tags:
|
|
14
|
-
- sprint
|
|
15
|
-
- clickup
|
|
16
|
-
- agile
|
|
17
|
-
- task-management
|
|
18
|
-
- scrum
|
|
19
|
-
- project-management
|
|
20
|
-
|
|
21
|
-
components:
|
|
22
|
-
agents:
|
|
23
|
-
# Tier 0 — Orchestrator
|
|
24
|
-
- sprint-chief.md
|
|
25
|
-
# Tier 1 — Specialists
|
|
26
|
-
- sprint-planner-agent.md
|
|
27
|
-
- sprint-tracker.md
|
|
28
|
-
- task-importer.md
|
|
29
|
-
tasks:
|
|
30
|
-
- create-sprint.md
|
|
31
|
-
- import-tasks.md
|
|
32
|
-
- sync-status.md
|
|
33
|
-
- close-sprint.md
|
|
34
|
-
workflows:
|
|
35
|
-
- wf-sprint-creation.yaml
|
|
36
|
-
- wf-sprint-sync.yaml
|
|
37
|
-
checklists:
|
|
38
|
-
- sprint-readiness.md
|
|
39
|
-
|
|
40
|
-
routing_matrix:
|
|
41
|
-
sprint_creation:
|
|
42
|
-
primary: sprint-planner-agent
|
|
43
|
-
triggers: ["create sprint", "new sprint", "plan sprint", "criar sprint"]
|
|
44
|
-
sprint_tracking:
|
|
45
|
-
primary: sprint-tracker
|
|
46
|
-
triggers: ["sprint status", "burndown", "track progress", "status da sprint"]
|
|
47
|
-
task_import:
|
|
48
|
-
primary: task-importer
|
|
49
|
-
triggers: ["import tasks", "sync to clickup", "push tasks", "importar tasks"]
|
|
50
|
-
sprint_close:
|
|
51
|
-
primary: sprint-chief
|
|
52
|
-
triggers: ["close sprint", "sprint review", "fechar sprint", "retrospective"]
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# Task: Close Sprint
|
|
2
|
-
|
|
3
|
-
## Objetivo
|
|
4
|
-
Fechar sprint, tratar tasks incompletas (spillover) e gerar retrospective.
|
|
5
|
-
|
|
6
|
-
## Steps
|
|
7
|
-
|
|
8
|
-
1. **Get final status**
|
|
9
|
-
```bash
|
|
10
|
-
node scripts/tools/clickup.js sprint status --folder-id <FOLDER_ID>
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
2. **Identify incomplete tasks**
|
|
14
|
-
Filtrar tasks com status != done/complete.
|
|
15
|
-
|
|
16
|
-
3. **Spillover decision**
|
|
17
|
-
Perguntar ao usuario:
|
|
18
|
-
- Mover tasks incompletas para proxima sprint?
|
|
19
|
-
- Cancelar tasks incompletas?
|
|
20
|
-
- Manter no folder atual?
|
|
21
|
-
|
|
22
|
-
4. **Execute spillover** (se aplicavel)
|
|
23
|
-
Para cada task incompleta, mover para novo folder:
|
|
24
|
-
```bash
|
|
25
|
-
node scripts/tools/clickup.js task update --task-id <ID> --status "to do"
|
|
26
|
-
# Nota: mover entre lists requer API de task move (PUT /task/{id} com list)
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
5. **Tag sprint as closed**
|
|
30
|
-
```bash
|
|
31
|
-
node scripts/tools/clickup.js tag add --task-id <FOLDER_FIRST_TASK> --tag "sprint-closed"
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
6. **Notify Slack**
|
|
35
|
-
```bash
|
|
36
|
-
node scripts/tools/slack-notify.js send \
|
|
37
|
-
--text "*:checkered_flag: Sprint <SPRINT_ID> encerrada!*\n>*Concluidas:* N/M (X%)\n>*Spillover:* N tasks para <NEXT_SPRINT>"
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## Output
|
|
41
|
-
- Sprint encerrada
|
|
42
|
-
- Tasks spillover tratadas
|
|
43
|
-
- Retrospective summary no Slack
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# Task: Create Sprint
|
|
2
|
-
|
|
3
|
-
## Objetivo
|
|
4
|
-
Criar sprint no ClickUp a partir de um plano validado.
|
|
5
|
-
|
|
6
|
-
## Pre-requisitos
|
|
7
|
-
- [ ] `CLICKUP_API_KEY` definido
|
|
8
|
-
- [ ] Space ID conhecido
|
|
9
|
-
- [ ] Sprint plan validado contra schema
|
|
10
|
-
|
|
11
|
-
## Steps
|
|
12
|
-
|
|
13
|
-
1. **Validate plan**
|
|
14
|
-
```bash
|
|
15
|
-
# Verificar que JSON e valido
|
|
16
|
-
node -e "JSON.parse(require('fs').readFileSync('sprint-plan.json','utf-8')); console.log('OK')"
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
2. **Create sprint folder + lists**
|
|
20
|
-
```bash
|
|
21
|
-
node scripts/tools/clickup.js sprint create \
|
|
22
|
-
--space-id <SPACE_ID> \
|
|
23
|
-
--name "<SPRINT_NAME>" \
|
|
24
|
-
--start <YYYY-MM-DD> \
|
|
25
|
-
--end <YYYY-MM-DD> \
|
|
26
|
-
--tracks backend,frontend \
|
|
27
|
-
--id <SPRINT_ID>
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
3. **Save folder ID to registry**
|
|
31
|
-
Atualizar `data/sprints/registry.json` com o folder_id e list_ids retornados.
|
|
32
|
-
|
|
33
|
-
4. **Notify Slack**
|
|
34
|
-
```bash
|
|
35
|
-
node scripts/tools/slack-notify.js send \
|
|
36
|
-
--text "*:rocket: Sprint <SPRINT_ID> criada!*\n>*Nome:* <SPRINT_NAME>\n>*Periodo:* <START> to <END>\n>*Tracks:* backend, frontend"
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Output
|
|
40
|
-
- folder_id, list_ids para handoff ao task-importer
|
|
41
|
-
- Registry atualizado
|
|
42
|
-
- Notificacao Slack enviada
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# Task: Import Tasks
|
|
2
|
-
|
|
3
|
-
## Objetivo
|
|
4
|
-
Importar tasks de um sprint plan JSON para o ClickUp em batch.
|
|
5
|
-
|
|
6
|
-
## Pre-requisitos
|
|
7
|
-
- [ ] Sprint criada (folder_id e list_ids disponiveis)
|
|
8
|
-
- [ ] Sprint plan JSON segue schema `data/schemas/sprint-clickup.schema.json`
|
|
9
|
-
- [ ] `CLICKUP_API_KEY` definido
|
|
10
|
-
|
|
11
|
-
## Steps
|
|
12
|
-
|
|
13
|
-
1. **Import tasks**
|
|
14
|
-
```bash
|
|
15
|
-
node scripts/tools/clickup.js sprint import \
|
|
16
|
-
--folder-id <FOLDER_ID> \
|
|
17
|
-
--file sprint-plan.json
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
2. **Process results**
|
|
21
|
-
- Verificar `imported` vs `failed` counts
|
|
22
|
-
- Se `failed > 0`, investigar errors no output
|
|
23
|
-
|
|
24
|
-
3. **Update registry**
|
|
25
|
-
Atualizar `data/sprints/registry.json` com mapping:
|
|
26
|
-
```json
|
|
27
|
-
{ "taskMap": { "T-001": "clickup_id_1", "T-002": "clickup_id_2" } }
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
4. **Notify Slack**
|
|
31
|
-
```bash
|
|
32
|
-
node scripts/tools/slack-notify.js send \
|
|
33
|
-
--text "*:package: Tasks importadas!*\n>*Sprint:* <SPRINT_ID>\n>*Importadas:* N tasks\n>*Falhas:* N"
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## Output
|
|
37
|
-
- Task map (local ID -> ClickUp ID)
|
|
38
|
-
- Registry atualizado
|
|
39
|
-
- Slack notificado
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Task: Sync Status
|
|
2
|
-
|
|
3
|
-
## Objetivo
|
|
4
|
-
Consultar status da sprint no ClickUp e gerar report.
|
|
5
|
-
|
|
6
|
-
## Steps
|
|
7
|
-
|
|
8
|
-
1. **Get sprint status**
|
|
9
|
-
```bash
|
|
10
|
-
node scripts/tools/clickup.js sprint status --folder-id <FOLDER_ID>
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
2. **Save status JSON**
|
|
14
|
-
Salvar output em arquivo temporario para o Slack notifier.
|
|
15
|
-
|
|
16
|
-
3. **Notify Slack**
|
|
17
|
-
```bash
|
|
18
|
-
node scripts/tools/slack-notify.js sprint-summary --file sprint-status.json
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
4. **Alert on blockers**
|
|
22
|
-
Se `blocked > 0`, adicionar alerta:
|
|
23
|
-
```bash
|
|
24
|
-
node scripts/tools/slack-notify.js send \
|
|
25
|
-
--text ":warning: *<BLOCKED_COUNT> tasks bloqueadas na sprint <SPRINT_ID>!*"
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Output
|
|
29
|
-
- Sprint status JSON
|
|
30
|
-
- Slack summary enviado
|
|
31
|
-
- Alerta de blockers se necessario
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
workflow:
|
|
2
|
-
id: wf-sprint-creation
|
|
3
|
-
name: "Sprint Creation Pipeline"
|
|
4
|
-
version: "1.0.0"
|
|
5
|
-
description: >
|
|
6
|
-
End-to-end sprint creation: from planning artifacts to ClickUp workspace.
|
|
7
|
-
Reads sprint plan, validates structure, creates ClickUp folder/lists,
|
|
8
|
-
imports tasks, sets custom fields, and produces sprint overview.
|
|
9
|
-
trigger: "*sprint-create"
|
|
10
|
-
entry_agent: sprint-chief
|
|
11
|
-
type: sequential
|
|
12
|
-
|
|
13
|
-
phases:
|
|
14
|
-
- id: phase_0
|
|
15
|
-
name: "Pre-flight Check"
|
|
16
|
-
agent: sprint-chief
|
|
17
|
-
description: "Verify env vars, space ID, and sprint plan availability."
|
|
18
|
-
checkpoint:
|
|
19
|
-
gate: "CLICKUP_API_KEY set, space ID known, plan file exists"
|
|
20
|
-
veto: "Missing env vars or plan file"
|
|
21
|
-
|
|
22
|
-
- id: phase_1
|
|
23
|
-
name: "Plan Validation"
|
|
24
|
-
agent: sprint-planner-agent
|
|
25
|
-
task: create-sprint.md
|
|
26
|
-
depends_on: [phase_0]
|
|
27
|
-
description: "Validate sprint plan JSON against schema, check IDs and priorities."
|
|
28
|
-
checkpoint:
|
|
29
|
-
gate: "Schema validates, all tasks have unique IDs and priorities"
|
|
30
|
-
veto: "Schema validation failed or circular dependencies detected"
|
|
31
|
-
|
|
32
|
-
- id: phase_2
|
|
33
|
-
name: "ClickUp Sprint Setup"
|
|
34
|
-
agent: sprint-planner-agent
|
|
35
|
-
task: create-sprint.md
|
|
36
|
-
depends_on: [phase_1]
|
|
37
|
-
description: "Create ClickUp folder (sprint container) and lists (tracks)."
|
|
38
|
-
checkpoint:
|
|
39
|
-
gate: "Folder and all lists created, IDs captured"
|
|
40
|
-
veto: "API auth failure or space not found"
|
|
41
|
-
|
|
42
|
-
- id: phase_3
|
|
43
|
-
name: "Task Import"
|
|
44
|
-
agent: task-importer
|
|
45
|
-
task: import-tasks.md
|
|
46
|
-
depends_on: [phase_2]
|
|
47
|
-
description: "Bulk create tasks in ClickUp lists, set fields, add tags."
|
|
48
|
-
checkpoint:
|
|
49
|
-
gate: "All tasks created, IDs mapped back to local plan"
|
|
50
|
-
veto: "Rate limit exceeded or task creation failures > 10%"
|
|
51
|
-
|
|
52
|
-
- id: phase_4
|
|
53
|
-
name: "Status Sync & Notification"
|
|
54
|
-
agent: sprint-tracker
|
|
55
|
-
task: sync-status.md
|
|
56
|
-
depends_on: [phase_3]
|
|
57
|
-
description: "Read back sprint status, generate overview, notify Slack."
|
|
58
|
-
checkpoint:
|
|
59
|
-
gate: "Sprint overview generated, Slack notified"
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
workflow:
|
|
2
|
-
id: wf-sprint-sync
|
|
3
|
-
name: "Sprint Bidirectional Sync"
|
|
4
|
-
version: "1.0.0"
|
|
5
|
-
description: >
|
|
6
|
-
Sync sprint status between ClickUp and local files.
|
|
7
|
-
Pulls remote state, diffs against local, applies changes.
|
|
8
|
-
trigger: "*sprint-sync"
|
|
9
|
-
entry_agent: sprint-chief
|
|
10
|
-
type: sequential
|
|
11
|
-
|
|
12
|
-
phases:
|
|
13
|
-
- id: phase_0
|
|
14
|
-
name: "Pull Remote State"
|
|
15
|
-
agent: sprint-tracker
|
|
16
|
-
task: sync-status.md
|
|
17
|
-
description: "Fetch current sprint status from ClickUp."
|
|
18
|
-
checkpoint:
|
|
19
|
-
gate: "Remote state fetched successfully"
|
|
20
|
-
|
|
21
|
-
- id: phase_1
|
|
22
|
-
name: "Diff Local vs Remote"
|
|
23
|
-
agent: sprint-tracker
|
|
24
|
-
depends_on: [phase_0]
|
|
25
|
-
description: "Compare local task states with ClickUp states."
|
|
26
|
-
checkpoint:
|
|
27
|
-
gate: "Diff generated with change list"
|
|
28
|
-
|
|
29
|
-
- id: phase_2
|
|
30
|
-
name: "Apply Changes"
|
|
31
|
-
agent: sprint-chief
|
|
32
|
-
depends_on: [phase_1]
|
|
33
|
-
description: "Apply changes to local files or push to ClickUp."
|
|
34
|
-
checkpoint:
|
|
35
|
-
gate: "All changes applied, registry updated"
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
# Sprint {{SPRINT_ID}} — {{SPRINT_NAME}}
|
|
2
|
-
|
|
3
|
-
## Metadata
|
|
4
|
-
|
|
5
|
-
| Campo | Valor |
|
|
6
|
-
|-------|-------|
|
|
7
|
-
| **Sprint** | {{SPRINT_ID}} |
|
|
8
|
-
| **Nome** | {{SPRINT_NAME}} |
|
|
9
|
-
| **Início** | {{START_DATE}} |
|
|
10
|
-
| **Fim** | {{END_DATE}} |
|
|
11
|
-
| **Duração** | {{DURATION_DAYS}} dias |
|
|
12
|
-
| **Team** | {{TEAM}} |
|
|
13
|
-
| **ClickUp Folder ID** | {{CLICKUP_FOLDER_ID}} |
|
|
14
|
-
| **ClickUp Space ID** | {{CLICKUP_SPACE_ID}} |
|
|
15
|
-
| **Status** | {{STATUS}} |
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
## Track: Backend
|
|
20
|
-
|
|
21
|
-
**ClickUp List ID:** {{BACKEND_LIST_ID}}
|
|
22
|
-
|
|
23
|
-
| ID | Ref | Título | Escopo resumido | Points | Status | ClickUp ID |
|
|
24
|
-
|----|-----|--------|-----------------|--------|--------|-------------|
|
|
25
|
-
| T-001 | B-001 | | | 3 | todo | |
|
|
26
|
-
| T-002 | B-002 | | | 5 | todo | |
|
|
27
|
-
|
|
28
|
-
---
|
|
29
|
-
|
|
30
|
-
## Track: Frontend
|
|
31
|
-
|
|
32
|
-
**ClickUp List ID:** {{FRONTEND_LIST_ID}}
|
|
33
|
-
|
|
34
|
-
| ID | Ref | Título | Escopo resumido | Points | Status | ClickUp ID |
|
|
35
|
-
|----|-----|--------|-----------------|--------|--------|-------------|
|
|
36
|
-
| T-020 | F-001 | | | 3 | todo | |
|
|
37
|
-
| T-021 | F-002 | | | 5 | todo | |
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
## Business Rules
|
|
42
|
-
|
|
43
|
-
| ID | Descrição |
|
|
44
|
-
|----|-----------|
|
|
45
|
-
| BR-001 | |
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
|
|
49
|
-
## Dependências (Cross-Track)
|
|
50
|
-
|
|
51
|
-
| FE Task | Depende de BE Task | Sprint FE | Sprint BE | Buffer |
|
|
52
|
-
|---------|-------------------|-----------|-----------|--------|
|
|
53
|
-
| T-020 | T-001 | Mesmo sprint | Mesmo sprint | 0 |
|
|
54
|
-
|
|
55
|
-
---
|
|
56
|
-
|
|
57
|
-
## Acceptance Criteria do Sprint
|
|
58
|
-
|
|
59
|
-
- [ ] Todos endpoints backend retornam dados conforme Zod schema
|
|
60
|
-
- [ ] Todos componentes frontend renderizam com dados reais
|
|
61
|
-
- [ ] Testes E2E passam para fluxos críticos
|
|
62
|
-
- [ ] Coverage > 80% em módulos novos
|
|
63
|
-
|
|
64
|
-
---
|
|
65
|
-
|
|
66
|
-
## API Contracts
|
|
67
|
-
|
|
68
|
-
```
|
|
69
|
-
GET /api/{{MODULE}} -> { items: [], total: number }
|
|
70
|
-
POST /api/{{MODULE}} -> { id: string } | 400/422
|
|
71
|
-
PUT /api/{{MODULE}}/[id] -> { updated: true } | 404
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
---
|
|
75
|
-
|
|
76
|
-
## Notas
|
|
77
|
-
|
|
78
|
-
- Gerado via `node scripts/tools/clickup.js sprint create`
|
|
79
|
-
- Template base: `templates/sprint-clickup.template.md`
|
|
80
|
-
- Schema: `data/schemas/sprint-clickup.schema.json`
|