Haidra-Org / Haidra-Org/horde-model-reference

Audit log file in `AIWORKER_CACHE_HOME`/default directory for when files are altered

Open
#74 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Python
Stars
4
Forks
3
Avg merge
7h 24m
Merged PRs (30d)
1

Description

The shared nature of the AIWORKER_CACHE_HOME folder and the somewhat potentially destructive nature of changing these files at any time creates difficulty in tracking down issues to do with valid model reference files (such as the jsons). I propose that

  • A new file file_audit.log (or a suitably similar name) is created
  • When files are due to be changed, deleted, or added an entry is made in this log indicating the previous state (hash, filesize, last changed date, source url, etc) and the new state.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the code that changes, deletes, or adds model reference files under AIWORKER_CACHE_HOME or its default directory. Review how JSON model references are currently written and identify the existing validation or test entry points. Done means each file change records its previous and new state in a file_audit.log-style file.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.