Rechercher

PythonReactSEOPDF
GitHub Skill

fixlog-writer

Standardizes FixLog writing and handles Chrome persistence.

Mic23-01☆ 0 Étoiles du dépôt0 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

Instructions

Operational Instructions

Triggers

  • At the end of every workflow involving modifications (tech_rag, refactor).
  • When a technical intervention needs to be tracked (Step 6 Persistence).

Inputs

  • Prefix: (from PROJECT_AGENT_CONFIG.md) Project prefix.
  • ProjectName: (from PROJECT_AGENT_CONFIG.md) Project name.
  • Log Data: JSON containing id, document (description), and metadatas (project, type, date, files, tests, result).

CLI Parameters (write_log.py)

uv run .agent/skills/fixlog_writer/scripts/write_log.py \
  --project "ProjectName" \
  --prefix "PREFIX" \
  --desc "Description of the fix" \
  --files "file1.py,file2.js" \
  --test "Test description" \
  --result "pass"  # ⚠️ VALID VALUES: "pass" or "fail" (NOT "success"!)

Critical Parameter Values:

  • --result: ONLY accepts "pass" or "fail" (enforced by argparse choices)
  • --files: Comma-separated list of file paths (will be split into array)

Steps

  1. Prepare Data: Collect intervention data.
  2. Format JSON: Create a JSON structure compatible with Chroma.
  3. Persist (Dual Write):
    • Write to .agent/fix_logs/<ID>.json.
    • Upsert to ChromaDB collection fix_logs.
  4. Verification: Confirm file exists and Chroma entry is searchable.

Usage Example

uv run .agent/skills/fixlog_writer/scripts/write_log.py \
  --project "Antigravity" \
  --prefix "AG" \
  --desc "Fixed critical bug in authentication flow" \
  --files "src/auth.py,tests/test_auth.py" \
  --test "pytest tests/test_auth.py - all passed" \
  --result "pass"

Exemples

Consultez les exemples du dépôt source.

Voir la source ↗

Historique source

Date d’indexation
2026-01-20
Mise à jour de l’index
2026-03-03
Branch
main

Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!