Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Positional user-N evidence ids are unstable in the audit log

Closed
#82 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
security

Research direction

Start at the evidence builder in index.ts around line 1410 and inspect how real OMP sessions and tests populate message.id or entry.id. Check how those evidence IDs are written to decisions.jsonl by #77; done means fallback IDs remain stable for the same entry without hashing message text, with tests covering any real-session fallback case.

Written by the indexing model from the issue text.

Description

bug ready-for-human

When a user message has no message.id or entry.id, the evidence builder gives it a positional id, user-${index} (index.ts:1410). As the branch grows, the same id names a different message. #77 writes these ids to decisions.jsonl for auditing, and a positional id can't identify a message without the exact branch it was built from.

Real OMP sessions probably always carry an entry id, so this may only affect tests. Check that first. If real sessions can hit it, use a stable id instead, for example a hash of the entry's timestamp and role. Never hash the message text.

Found by the review gate on #77. It predates that PR.

Dominant language
TypeScript
Stars
0
Forks
1
Avg merge
3h 35m
Merged PRs (30d)
50

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from STRML/omp-classifier

All issues in STRML/omp-classifier

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.