Good first issues
Small, self-contained changes to start with. Each is data or a few lines plus one test, and names the file, the change, the test and when it is done. Issues marked "not open yet" wait for a change that is still being merged.
Rules for every issue
- Run the focused test first, then open a pull request against the integration branch.
- Run the merge gate:
scripts/full-regression.sh --mode pr --wait. See How a pull request goes in. - Keep files at about 300 lines, at most 500. See Code style.
- Comments explain why, not what.
- A dependency version you pin must be at least two weeks old.
- Build secrets in tests from pieces (for example
"npm_" + "a1B2" * 9), so the secret scan does not flag the test file.
Secret redaction
1. Redact npm access tokens
- File:
backend/scripts/secret_patterns.py(KNOWN_TOKENS) - Change: add
("npm-access-token", r"\bnpm_[A-Za-z0-9]{36}\b"). This follows the gitleaks rule of the same id. - Test:
backend/tests/test_secret_patterns_one_source.py. Add a made-up sample toSAMPLES, built from pieces (e.g."npm_" + "a1B2" * 9) so the secret scan does not flag the test file. - Done when:
test_every_form_has_a_sampleandtest_the_platform_and_the_transcript_rules_hide_every_known_formpass, and the gate'ssecretsstep stays at 0.
2. Redact Hugging Face tokens
- File:
backend/scripts/secret_patterns.py - Change: add
("huggingface-access-token", r"\bhf_[A-Za-z]{34}\b"). - Test:
test_secret_patterns_one_source.py, with a sample built as"hf_" + "a" * 34. - Done when: both rule sets (platform and launcher transcript) hide it, and
hf_shortstays readable. Add that as a negative assertion.
3. Redact PyPI upload tokens
- File:
backend/scripts/secret_patterns.py - Change: add
("pypi-upload-token", r"\bpypi-AgEIcHlwaS5vcmc[A-Za-z0-9_-]{50,}"). - Test:
test_secret_patterns_one_source.py, with the sample"pypi-AgEIcHlwaS5vcmc" + "x" * 60. - Done when: both rule sets hide it.
Launcher and repository trees
4. More operating-system files left out of every change
- File:
clients/octryx-claude/octryx_claude/os_junk.json(files/folders) - Change:
- files: add
.directory(KDE) andIcon\r(macOS custom folder icon); - folders: add
$RECYCLE.BIN(Windows) and.AppleDouble.
- files: add
- Test:
clients/octryx-claude/tests/test_os_junk.pyandbackend/tests/test_safe_git_os_junk.py. One new file and one new folder must be absent from the change and from both trees. - Done when: a working copy with those files gives the same tree on the device and on the server.
Evidence and stacks
5. Ruby stack: a reformatted confirmed test stays intact
- File:
backend/app/services/engineering_knowledge/stacks.json.stacks.rubyis the only stack withoutformatting. - Change: add
"formatting": {"compare": "tokens"}. - Test:
backend/tests/test_format_only_protected_test.py, with a.rbcase.- A call split over lines is format-only.
- A changed literal (
eq(3)→eq(2)) is not.
- Done when: both cases pass.
backend/tests/test_confirmed_test_layout_only.pykeeps passing; the edit guard and the intact check share the comparison.
6. failure_hint for Go
- File:
stacks.json,stacks.go.test_runner.failure_hint - Change: a hint telling the agent how to see one red test's message, e.g.
to see a red test's message: `go test ./<pkg> -run '^TestName$' -v 2>&1 | tail -40`. - Test: extend
backend/tests/test_agent_leaves_system_test_to_pipeline.py::test_the_runner_hint_says_how_to_see_one_red_testwithhow_to_run_tests({"test": "go test ./..."}). - Done when: the Go runner hint contains the
-runform.
7. failure_hint for the JVM
- File:
stacks.json,stacks.jvm.test_runner.failure_hint - Change: Gradle and Maven forms:
./gradlew test --tests 'pkg.ClassTest' -i 2>&1 | tail -60andmvn -q test -Dtest=ClassTest 2>&1 | tail -60. - Test: the same test as item 6, for
./gradlew testandmvn test. - Done when: both commands get the hint.
8. Another scenario hint for the browser test writer
- File:
stacks.json,general.scenario_hints - Change: add "A confirmation dialog is answered by clicking its button text (e.g. 'Delete'); pressing Escape cancels it."
- Test:
backend/tests/test_hands_on_invalid.py::test_a_failed_setup_step_is_remembered_and_the_next_writer_is_told. Assert that the writer's task contains the new hint. - Done when: the scenario writer's prompt lists it next to the Save-button hint.
9. unittest discover: an absolute start folder inside the app folder
- File:
backend/app/services/workflow_checks/unittest_blocks.py(module_prefix) - Problem today:
-s /abs/path/app/testsgives no prefix, so attribution falls back to failing. When the command starts withcd <app>or the runner runs in the app folder, the absolute folder can be made relative to it. Today the command text alone decides. - Change: accept an optional
app_folderargument and return the relative path if the absolute start folder lies under it. - Test:
backend/tests/test_unittest_start_dir.py. Add a parametrized case("python -m unittest discover -s /w/app/tests", "/w/app", "tests"); one outside the app folder stays"". - Done when: the new cases pass and the ten existing ones still pass.
10. Name the cap that stopped the restart settle
- File:
clients/octryx-claude/octryx_claude/hands_on_browser.py(Session.settle_before_close) - Problem today: an app that never goes network-idle waits the full cap silently.
- Change: when the cap is reached, add one line to the scenario's result (e.g.
settle: network idle not reached in 5 s) so a slow restart is visible in the run. - Test:
clients/octryx-claude/tests/test_hands_on.py. Use an app that polls every 200 ms, so it is never idle. The scenario still passes, and its result names the cap. - Done when: the note is in the result. Nothing changes for an app that goes idle.
PR review bot
Paths are under backend/app/services/pr_review_bot/ unless they start differently. Run the tests with pytest -q backend/tests/<file>. See Pull request review bot for what the bot does.
11. The help text is built from the command table
- Today:
commands.pykeeps the command names in one tuple (parse_command) and repeats them by hand inHELP_TEXT. A new command that is added to the parser but forgotten in the text is never explained to anyone. - Change: keep one table of
(name, one-line description)and build both the parser loop andHELP_TEXTfrom it. The wording of the help text stays the same. - Test:
tests/test_pr_review_bot_commands.py: every name thatparse_commandrecognises appears inHELP_TEXT, andparse_command("@octryx dance").name == HELPstill holds. - Done when: the help text lists every command, and adding a command means adding one table row.
12. Sensitive areas and bug-fix words as data
- Today:
hotspots.pyhard-codesDEFAULT_SENSITIVE(auth, login, password, …) and the_BUGFIXregex (fix, bug, hotfix, regression). A team that writes its commit subjects in German ("Fehler behoben") never gets the bug-fix signal. - Change: move both lists to a new file
hotspots.jsonnext to the module, with anabouttext in the style ofreview_models.json, and load it once at import. Addfehlerandbehobento the bug-fix words. - Test:
tests/test_pr_review_bot_hotspots.py: the existing tests stay green unchanged, and a new test shows that a commit subject "Fehler bei der Rundung behoben" counts as a bug fix. - Done when: no area or word is left in the Python file, and the JSON says where each value came from.
13. One table for the status name per host
- Today: the commit status name lives in three places:
render.STATUS_CONTEXT = "octryx/review"(GitHub),tools/connectors/gitlab_mr_review.pySTATUS_NAME = "octryx-review"andtools/bitbucket_impl/_bitbucket_pr_review.pySTATUS_KEY(Bitbucket Cloud repeats it in_bitbucket_cloud_review.py). The names differ on purpose: Bitbucket puts the key into a URL path, so it cannot contain a/(see Review bot settings). They should not be able to drift apart by accident, though. - Change: add
STATUS_NAMES = {"github": "octryx/review", "gitlab": "octryx-review", "bitbucket": "octryx-review"}toproviders.py, and read it in the three tools and inrender. Keep the comment that explains why the names differ. - Test: a new test in
tests/test_pr_review_bot_tools.pychecks that each tool's status payload carriesSTATUS_NAMES[provider], and that no value for Bitbucket contains/. - Done when:
git grep '"octryx-review"' backend/appfinds onlyproviders.py.
14. ignore without a reason asks for one
- Today:
@octryx ignorewith no reason closes the finding and proposes the rule "Do not report in <file>: <finding>", which carries no reason (ignore.pyaround line 86,rule_proposals.rule_text). An admin who sees such a proposal cannot judge it. - Change: when the reason is empty, the thread reply adds one sentence: "Add a reason (
@octryx ignore <reason>) so the admins can judge the rule." The proposal is stored with"reason": ""exactly as today. Nothing is blocked. - Test:
tests/test_pr_review_bot_explain_ignore.py: anignorewithout a reason gets the extra sentence in its thread answer; anignorewith a reason gets the same answer as today. - Done when: both cases are tested and the reply text is in English like the other bot replies.
15. @octryx status: what the bot knows about this pull request
- Today: nobody can see from inside the pull request whether the bot has paused it, which commit it reviewed last, or how many of its findings are still open. That information is in
bot_state.is_paused(record, pr_id)and in the last posted run (ignore.last_posted, factsreviewed_sha,open_findings). - Change: add a read-only command
statustocommands.py. It answers in the thread with one line, for example: "Octryx: last reviewedaf9aaca, 2 findings open (1 medium, 1 low), reviews are paused." It starts no run and changes nothing. Add it to the help text (or to the table from issue 11). - Test: a new test next to
tests/test_pr_review_bot_explain_ignore.py, with its helpers_reviewedand_provider: the answer names the reviewed commit and the open count, says "paused" afterpause, and the command needs the same rights as the others (a stranger is refused). - Done when: the command is answered from both the webhook and the poll, and the wiki page Commands in a pull request lists it in the command table.
UI and launcher
How to run the checks. For UI issues, run these in frontend/chat:
npm test: the unit tests.npx tsc --noEmit -p .: type checking.npx eslint src: linting.
For launcher issues, run python -m pytest in clients/octryx-claude with its own venv.
16. "Proposed checks" shows nothing while it loads
- Area: UI, Work › Coding rules
- File:
frontend/chat/src/chat/coding/governance/ProposedChecks.tsx, line 31 (if (list === undefined && !error) return null;) - What is wrong: until the first answer arrives, the section is missing entirely, and then it pops in. The neighbouring PR review bot section shows "Loading the review bot settings…" in this state.
- What to do: while loading, render a quiet status line with
role="status", for example "Loading proposed checks…". Keepnullfor a server without proposed checks (404not_available), so the section still stays hidden there. - Test: in
frontend/chat/tests/unit/proposedChecks.test.mjs, render the section with a pending request and expect the status line. Then resolve the request with a 404 and expect nothing. - Accepted when: the new test passes and the existing four tests still pass.
17. Move the rule panel's helpers out of the component file
- Area: UI, Work › Coding rules
- File:
frontend/chat/src/chat/coding/governance/CodingRulePanel.tsx. It exportsEDIT_PLACES,builtInOnly,draftOfandsavedRulenext to the component. - What is wrong:
- ESLint reports 4
react-refresh/only-export-componentswarnings in this file. Fast refresh reloads the whole page instead of the component. savedRuledecides how an edited rule is stored, and no unit test covers it.
- ESLint reports 4
- What to do:
- Move the four helpers into a new
codingRulePanelModel.tsnext to the component, without React. Import them back in the component. - Add
frontend/chat/tests/unit/codingRulePanelModel.test.mjscoveringdraftOf(null),draftOf(rule), andsavedRulefor a new rule, an edited rule and a name that is already taken (taken).
- Move the four helpers into a new
- Accepted when:
npx eslint src/chat/coding/governanceshows 0 warnings for this file, the new tests pass, and the UI behaves exactly as before.
18. The knowledge graph keeps dimming the old edges
- Area: UI, Knowledge › Graph
- File:
frontend/chat/src/admin/components/entityGraph/KnowledgeGraphCanvas.tsx, the twouseMemocalls at lines 219 and 232. - What is wrong: ESLint reports
react-hooks/exhaustive-deps, becausefaintIdsis used but is not a dependency. When only thefaintIdsprop changes, for example after a new filter, the edges keep their old dimming until something else changes. - What to do: add
faintIdsto both dependency arrays. Make sure no other behaviour changes; it should not, becausefaintIdsis a prop. - Test: in an existing or new unit test, render the canvas twice with different
faintIdsand the same nodes. The dimmed edge must follow the second set. - Accepted when: both warnings are gone, the test passes, and the graph still renders the same for a fixed
faintIds.
19. octryx-claude --version
- Area: launcher (installer and command line)
- File:
clients/octryx-claude/octryx_claude/cli.py. The module already imports__version__. - What is wrong:
octryx-claude --versionanswerserror: unrecognized arguments: --version. Today the only way to see which launcher is installed isstatus, which needs a platform. - What to do:
- Add the standard argparse flag
parser.add_argument("--version", action="version", version=f"octryx-claude {__version__}")to the top-level parser. - It must work without login, without a platform and without network, and must not trigger the update check.
- Add the standard argparse flag
- Test: in
clients/octryx-claude/tests/, call the CLI entry with["--version"]. Expect exit code 0 andoctryx-claude <version>on stdout, with no network call (monkeypatchhttpxto raise). - Accepted when: the test passes. A copy installed with
install.shprints the same version asoctryx-claude status.
20. device status says "connected" up to 3 minutes after the device was stopped
- Area: launcher, devices
- Files:
clients/octryx-claude/octryx_claude/device_cli.py:_connection_lineandSTATUS_STALE_SECONDS.- The writer of
device-status.jsonin the device loop.
- What is wrong:
- Without a background service (
device enable --no-service, thendevice runin a terminal),service_runningis unknown. - After that
device runprocess is stopped,octryx-claude device statuskeeps printingaccepting jobs · connecteduntil the last status is 3 minutes old.
- Without a background service (
- What to do:
- Write the device process's
pidintodevice-status.json. - When no service is installed,
_connection_linechecks whether that pid is still alive (os.kill(pid, 0), handlingProcessLookupErrorandPermissionError). If the process is gone, it showsunknown (status stale: the service is not running or not reporting)at once.
- Write the device process's
- Test: in the device CLI tests, write a status with
connected: true, a currentupdated_atand the pid of a finished subprocess. Expect the stale line. Then use the pid of the test process itself and expectconnected. - Accepted when: both cases pass, and a status file without a
pidbehaves exactly as today.
Launcher and device
21. A short thank-you is not a correction
- Area: correction store.
- Today: a pull request comment counts as a correction when it is at least 12 characters long, is no command and is not one of the bot's own replies (
backend/app/services/workflow_runs/corrections/sources.py,pr_comment; rules incorrections.jsonunderpr_comment). "LGTM, thanks!" (13 characters) counts as a correction today. - Change: a data list
ack_bodiesincorrections.jsonunderpr_comment: case-insensitive patterns matched against the whole trimmed comment, for examplelgtm,looks good( to me)?,thanks?( you)?,approved,ship it, or emoji only.pr_commentskips a comment that matches one. No new code paths, only the list and the check. - Test:
backend/tests/test_correction_signatures.py: "LGTM, thanks!", "Looks good to me 👍" and "👍👍👍👍👍👍" capture nothing; "Thanks, but the total must round once at checkout" still counts. - Done when: both tests are green, and the existing
pr_commenttests pass unchanged.
22. Uninstall also clears the operating system's own folders
- Area: launcher installer.
- Today: uninstall removes a folder it created when that folder holds only the operating system's own files (
clear_os_junkinclients/octryx-claude/installer/install.sh; the names come fromos_junk.json→files, filled in bybackend/app/services/octryx_client/installers.py). Thefolderslist (.Trashes,.fseventsd, …) is not used there, so such a folder keeps a created directory alive. - Change:
- a second placeholder in the installer template, filled from
folderswith the same quote-free check; clear_os_junkalso accepts a folder whose name is on that list, and removes it only after everything else was checked;- the Windows installer stays as it is for now.
- a second placeholder in the installer template, filled from
- Test:
tests/installer/install_sh_test.sh, next to the.DS_Storecases: a created~/.local/binthat holds only.Trashes/xis removed by uninstall; one that also holds a normal file stays.backend/tests/test_octryx_client_install.py: the servedinstall.shcarries the folder names. - Done when: the installer suite (
tests/test_installer_scripts.py) and the install tests are green.
23. The name check scans only what a branch changed (not open yet)
- Area: merge gate (
scripts/forbidden_terms.py). - Today: the gate's
termsstep scans the whole tracked tree (about 11,000 files, around 20 seconds) on every pull request. - Change:
check --changed BASEscans only the filesgit diff --name-only BASE...HEADlists (added or modified, not deleted).scripts/full-regression.shuses it in--mode prwith--base; the full mode keeps scanning the whole tree. - Test:
backend/tests/test_forbidden_terms.py, in a temporary Git repository with a made-up term: a hit in a changed file is reported, a hit in an unchanged file is not, a deleted file is skipped. - Done when: the tests are green, and a
--mode prgate shows thetermsstep in well under a second for a small branch.
24. Two more operating-system files in os_junk.json (not open yet)
- Area: launcher (data only).
- Today:
clients/octryx-claude/octryx_claude/os_junk.jsonlacks.LSOverride(macOS) andehthumbs.db(Windows). Issue 4 covers the folders.AppleDoubleand$RECYCLE.BIN. - Change: add both. The installer only allows
[A-Za-z0-9._*-]infiles(installers.py,_OS_JUNK_NAME); a name with another character belongs infoldersor needs that check widened on purpose, otherwise servinginstall.shfails withinstaller_template_invalid. - Test:
clients/octryx-claude/tests/test_os_junk.py(the device tree still equals the platform tree),backend/tests/test_safe_git_os_junk.py(the platform tree leaves them out too),backend/tests/test_octryx_client_install.py(the served scripts still render). - Done when: all three test files and the full client suite are green.
