Skip to content

improvement: embed corpus_date build timestamp via ldflags #33

@castrojo

Description

@castrojo

Finding

Users who built their binary 3 months ago have stale embedded discussion corpus.
The binary has no way to tell the AI client how old its seed data is.

Fix

Add to cmd/bluefin-mcp/main.go:

var buildDate = "unknown"  // -ldflags "-X main.buildDate=2025-03-20"

Include in all search_discussions responses:

{"results": [...], "corpus_date": "...", "build_date": "..."}

Also update Justfile to pass -ldflags at build time.

Labels: enhancement, priority:low

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority:lowNice to have, low urgency

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions