Skip to content
issue-tracking-with-beans-and-linear logo

Task Tracking Hierarchy

issue-tracking-with-beans-and-linear

Use when starting work, tracking tasks, or deciding where to record discovered work - clarifies when to use Beans vs Linear

SKILL.md

Full skill instructions

Task Tracking Hierarchy

Two systems serve different purposes. Use the right tool for the job.

SystemPurposePersistenceAudience
BeansAgent memory & audit trailGit-trackedAgents, future sessions
LinearProject trackingExternalHumans

Linear is for human-visible project tracking. Beans is for agent implementation memory. Both systems work together with bidirectional linking.

When to Use Each System

Beans — Persistent agent memory (only if the project uses Beans):

  • All non-trivial work (3+ steps)
  • Work that may span sessions or context boundaries
  • Discovered work during implementation
  • Anything needing an audit trail
  • Skip for trivial single-step tasks (typo fixes, quick lookups)

Linear — Human-level tracking:

  • Epics and milestones
  • User-facing features
  • Scope/​timeline changes
  • Decisions requiring human input
  • Security concerns

Starting Work on a Linear Ticket

When beginning work on a Linear ticket (e.g., ZCO-123):

  1. Run beans query '{ beans(filter: { type: ["epic"], search: "\"<linear-ticket-id>\"" }) { id title status } }' to find an existing related Beans epic
  2. If none exists, create one automatically:
    beans create "<linear-ticket-id>: <design-name>" --type epic --body "<description>"
    
  3. All implementation sub-tasks go under this epic as child issues using --parent <epic-id>

Git Commit Messages

All commits related to a Linear ticket MUST reference it:

<descriptive message>

Part of ZCO-123.

When also closing a Beans issue:

<message>

Part of ZCO-123. Closes beans-1234.

This ensures Linear ticket traceability in git history even after Beans cleanup.

Rule: Discovered Work Goes to Beans First

When you discover work during implementation:

  1. Create a bean immediately (--tag discovered), add a line that explains that it was created while working on current bean, and name the current bean.
  2. Assess if it needs Linear escalation
  3. Never ignore discovered work due to context pressure

Rule: Escalate Discovered Work to Linear

Create a Linear ticket for discovered work IF it:

  • Affects scope or timeline of current work
  • Requires human decision or approval
  • Represents user-facing changes
  • Is a security concern
  • Is significant enough to track at project level

For purely technical implementation details (refactoring, test fixes, code cleanup), keep them in Beans only with --tag implementation-detail.

When Beans work reveals an epic-level concern:

  1. Create the bean with --type epic
  2. Immediately create a corresponding Linear ticket, tag it as "Epic"
  3. Cross-reference both directions

Querying Work

  • beans list --status backlog — Find unblocked work to do next
  • beans list --search "<linear-ticket-id>" — All Beans issues for a Linear ticket
  • beans show <id> — View issue details including dependencies

Provenance for Context

When revisiting a Linear ticket that seems vague, use Beans to trace its origin:

  • Find the Beans epic: beans list --type epic | rg --fixed-strings '<linear-ticket-id>'
  • Use --tag discovered --link:<epic-ticket-id> to understand why work was filed
  • This provides context that Linear alone cannot

Completing a Linear Ticket

When all Beans issues under an epic are closed:

  1. Update the Linear ticket with a summary:
    • What was implemented
    • Any discovered work filed as separate Linear tickets
    • Notable decisions or deviations from original scope
  2. Move the Linear ticket to appropriate status

The Linear ticket becomes the permanent record; Beans issues are ephemeral working memory.

More Security skills

supabase logo
Security

supabase

Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...

2.7K 308.9K
View

Comprehensive guides and best practices for Neon Serverless Postgres, covering setup, connection methods, authentication, and platform APIs.

98 216.2K
View

Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.

462 163.8K
View

A skill to evaluate how secure Firestore security rules are. Use this when Firestore security rules are updated to ensure that the generated rules are extremely secure and robust.

462 127.7K
View

Official skill for integrating Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security.

462 125.1K
View

Complete Better Auth server and client setup with database adapters, session management, plugins, and security configuration.

222 118.2K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View
cloudflare logo
Security

cloudflare

Complete Cloudflare platform integration with decision trees for compute, storage, AI, networking, security, and infrastructure-as-code.

3K 110.7K
View

Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.

253 103K
View
gws-gmail logo
Security

gws-gmail

Send, read, and manage Gmail messages, drafts, labels, and account settings.

31.2K 78.9K
View

Comprehensive website auditing across 230+ rules in 21 categories including SEO, performance, security, and accessibility.

94 72.3K
View
gws-shared logo
Security

gws-shared

Shared authentication, CLI syntax, and output formatting patterns for gws Google Workspace commands.

31.2K 63.4K
View

Security AI tools

StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
GeoSpy logo
Security

GeoSpy

GeoSpy: Pricing, Features, FAQs, and Alternatives for AI Teams

Free
View

Detect AI-generated voices to protect against audio fraud.

Paid
View

Ensure Your Content's Originality with AI Plagiarism Checker

Freemium
View
Img Upscaler logo
Security

Img Upscaler

Upscale images by 400% without quality loss

Freemium
View
AICheatCheck logo
Security

AICheatCheck

Accurately Detect AI-Generated Content with TheChecker.AI

Free
View
D
Security

Detect GPT

Chrome extension that detects and flags AI-generated content

Free
View