srcwalk 0.2.5

Tree-sitter indexed lookups — smart code reading for AI agents
Documentation
from .base import Task, GroundTruth


class MarkdownSectionTask(Task):
    @property
    def name(self) -> str:
        return "markdown_section"

    @property
    def prompt(self) -> str:
        return "Read the Deployment section from README.md. What environment variables are required?"

    @property
    def ground_truth(self) -> GroundTruth:
        return GroundTruth(
            required_strings=["DATABASE_URL", "SECRET_KEY", "REDIS_URL"]
        )

    @property
    def task_type(self) -> str:
        return "read"