fixlog-writer
Standardizes FixLog writing and handles Chrome persistence.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill 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), andmetadatas(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
- Prepare Data: Collect intervention data.
- Format JSON: Create a JSON structure compatible with Chroma.
-
Persist (Dual Write):
- Write to
.agent/fix_logs/<ID>.json. - Upsert to ChromaDB collection
fix_logs.
- Write to
- 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"
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-03-03
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!