← Về thư mục
📄 / / root / GitHub / Projects / policy-research / .agents / skills / v-sync-logger / SKILL.md

name: v-sync-logger description: Automated "4-Doc Rule" synchronization (CHANGELOG, PROJECT_STATUS, APP_CONTEXT, README) and Git checkpointing. risk: safe date_added: "2026-03-29"


v-sync-logger (Vedic Sync Logger)

Overview

This skill automates the synchronization of the project's primary documentation and provides consistent Git versioning. It ensures the "Infinite Memory" remains accurate by updating history, state, and architecture in a single turn.

When to Use

Workflow

  1. Extract Changes:

    • Parse the most recent entries in task.md (completed tasks [x]).
    • Review the current conversation history for "Major Updates".
  2. Update CHANGELOG.md:

    • Identify the current version (e.g., [1.4.0]).
    • Append new entries under appropriate headers (### Added, ### Changed, ### Fixed).
    • Use the date of the session for new version entries if applicable.
  3. Update PROJECT_STATUS.md:

    • Create a new ## 📅 Session Log: [Date] (Summarized Focus) block.
    • List the "Major Updates" clearly.
    • Define concrete "Next Steps" based on the remaining tasks in task.md.
  4. Update APP_CONTEXT.md:

    • Synchronize the "Future Roadmap" if tasks were completed or new ones were planned.
    • If new key files or services were added, update the "Key File Map".
    • If the "Logic Index Table" needs updating due to new interpretation docs, do so now.
  5. Update README.md:

    • Update the "Status" section (e.g., Phase 0 to Phase 1).
    • If new dependencies (npm install) or configuration keys (.env) were added, update the "Installation" and "Prerequisites" sections.
    • Ensure the "Tech Stack" reflects any shifts (e.g., adding New Models).
  6. Brain Sync:

    • brain_store: Automatically store the session summary, major updates, and next steps into the Lob Brain database.
    • Title: Sync: [Date] - [Summary]
    • Tags: ['sync', 'logs', 'status']
    • Importance: 4 (Stable memory)
  7. Git Checkpoint:

    • Execute a unified commit for the synchronization.
    • // turbo
    • git add . && git commit -m "Pulse: [Summary of the Log Sync]"
    • If the commit fails (e.g., no changes), inform the user that the docs were already in sync.

Output Expectations

Failure Shields