Finalize a VitalArc cloud development session. Use when ending a session started from phone or browser. Commits documentation, pushes changes, no build verification.
Finalize a cloud session. No build verificationβCI will validate.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β CLOUD SESSION END PIPELINE β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β PHASE 1 - Parallel Quality Checks: β
β βββ Task: design-scan (report only) ββ β
β βββ Task: progress-update ββ Parallel β
β β
β PHASE 2 - Commit Preparation (After Phase 1): β
β βββ Task: generate-commit (blockedBy: phase-1-tasks) β
β β
β PHASE 3 - Finalization: β
β βββ Update docs β Commit β Push β (Optional) Create PR β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Note: No blocking build check (cloud session - CI will verify).
Launch both tasks in a single message for parallel execution:
// In a SINGLE message, create both tasks:
TaskCreate({
subject: "Final design system scan (report only)",
description: `Run design-system-scanner in report-only mode:
1. Scan VitalArc/Modules/ for violations
2. Report summary for session log
3. NOTE: Cloud session - report only, no fixing available`,
activeForm: "Scanning design system"
})
// Returns: task-scan-id
TaskCreate({
subject: "Update progress in session log",
description: `Run progress-tracker:
1. Read current session entry in SESSION_LOG.md
2. Add final Work Log entries
3. Add session end timestamp
4. Summarize work completed`,
activeForm: "Updating progress"
})
// Returns: task-progress-id
TaskCreate({
subject: "Generate commit message",
description: `Run commit-formatter:
1. Analyze staged changes with git diff --staged
2. Determine type and scope
3. Generate conventional commit message
4. Add note: "Cloud session (build not verified)"
5. Include Co-Authored-By`,
activeForm: "Generating commit message",
addBlockedBy: ["task-scan-id", "task-progress-id"]
})
// Returns: task-commit-id
If features changed:
git add SESSION_LOG.md PROJECT_STATUS.md README.md
git commit -m "$(cat <<'EOF'
[generated commit message]
- Cloud session (build not verified)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
EOF
)"
git push -u origin "$(git rev-parse --abbrev-ref HEAD)"
If ready for review:
PR Title: <type>(<scope>): <short description>
gh pr create --title "<type>(<scope>): <description>" --body "$(cat <<'EOF'
## Summary
- [Primary change and why]
- [Secondary changes if any]
## Changes
- [List of modified areas]
## Testing
- [ ] CI build passes
- [ ] Cloud sessionβmanual testing recommended on workstation
---
Session: [N] | Platform: cloud
Generated with [Claude Code](https://claude.ai/code)
EOF
)"
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
VITALARC CLOUD SESSION COMPLETE
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Branch: [branch]
Commits: [N]
Build: Not verified (cloud)
Status: [Complete / Needs Workstation]
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Next: [priorities]
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Use status Needs Workstation if changes require UI or build verification.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
VITALARC CLOUD SESSION COMPLETE
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Branch: [branch]
Commits: 0 (no changes)
Build: Not verified (cloud)
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Session ended with no uncommitted changes.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
If push fails (e.g., remote branch already exists):
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β οΈ PUSH FAILED
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: [git error message]
Try: git push --force-with-lease origin [branch]
Or: Create PR from GitHub web interface
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ