Skip to content

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 to SAMPLES, 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_sample and test_the_platform_and_the_transcript_rules_hide_every_known_form pass, and the gate's secrets step 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_short stays 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) and Icon\r (macOS custom folder icon);
    • folders: add $RECYCLE.BIN (Windows) and .AppleDouble.
  • Test: clients/octryx-claude/tests/test_os_junk.py and backend/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.ruby is the only stack without formatting.
  • Change: add "formatting": {"compare": "tokens"}.
  • Test: backend/tests/test_format_only_protected_test.py, with a .rb case.
    • 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.py keeps 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_test with how_to_run_tests({"test": "go test ./..."}).
  • Done when: the Go runner hint contains the -run form.

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 -60 and mvn -q test -Dtest=ClassTest 2>&1 | tail -60.
  • Test: the same test as item 6, for ./gradlew test and mvn 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/tests gives no prefix, so attribution falls back to failing. When the command starts with cd <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_folder argument 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.py keeps the command names in one tuple (parse_command) and repeats them by hand in HELP_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 and HELP_TEXT from it. The wording of the help text stays the same.
  • Test: tests/test_pr_review_bot_commands.py: every name that parse_command recognises appears in HELP_TEXT, and parse_command("@octryx dance").name == HELP still 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.py hard-codes DEFAULT_SENSITIVE (auth, login, password, …) and the _BUGFIX regex (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.json next to the module, with an about text in the style of review_models.json, and load it once at import. Add fehler and behoben to 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.py STATUS_NAME = "octryx-review" and tools/bitbucket_impl/_bitbucket_pr_review.py STATUS_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"} to providers.py, and read it in the three tools and in render. Keep the comment that explains why the names differ.
  • Test: a new test in tests/test_pr_review_bot_tools.py checks that each tool's status payload carries STATUS_NAMES[provider], and that no value for Bitbucket contains /.
  • Done when: git grep '"octryx-review"' backend/app finds only providers.py.

14. ignore without a reason asks for one ​

  • Today: @octryx ignore with no reason closes the finding and proposes the rule "Do not report in <file>: <finding>", which carries no reason (ignore.py around 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: an ignore without a reason gets the extra sentence in its thread answer; an ignore with 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, facts reviewed_sha, open_findings).
  • Change: add a read-only command status to commands.py. It answers in the thread with one line, for example: "Octryx: last reviewed af9aaca, 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 _reviewed and _provider: the answer names the reviewed commit and the open count, says "paused" after pause, 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…". Keep null for a server without proposed checks (404 not_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 exports EDIT_PLACES, builtInOnly, draftOf and savedRule next to the component.
  • What is wrong:
    • ESLint reports 4 react-refresh/only-export-components warnings in this file. Fast refresh reloads the whole page instead of the component.
    • savedRule decides how an edited rule is stored, and no unit test covers it.
  • What to do:
    • Move the four helpers into a new codingRulePanelModel.ts next to the component, without React. Import them back in the component.
    • Add frontend/chat/tests/unit/codingRulePanelModel.test.mjs covering draftOf(null), draftOf(rule), and savedRule for a new rule, an edited rule and a name that is already taken (taken).
  • Accepted when: npx eslint src/chat/coding/governance shows 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 two useMemo calls at lines 219 and 232.
  • What is wrong: ESLint reports react-hooks/exhaustive-deps, because faintIds is used but is not a dependency. When only the faintIds prop changes, for example after a new filter, the edges keep their old dimming until something else changes.
  • What to do: add faintIds to both dependency arrays. Make sure no other behaviour changes; it should not, because faintIds is a prop.
  • Test: in an existing or new unit test, render the canvas twice with different faintIds and 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 --version answers error: unrecognized arguments: --version. Today the only way to see which launcher is installed is status, 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.
  • Test: in clients/octryx-claude/tests/, call the CLI entry with ["--version"]. Expect exit code 0 and octryx-claude <version> on stdout, with no network call (monkeypatch httpx to raise).
  • Accepted when: the test passes. A copy installed with install.sh prints the same version as octryx-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_line and STATUS_STALE_SECONDS.
    • The writer of device-status.json in the device loop.
  • What is wrong:
    • Without a background service (device enable --no-service, then device run in a terminal), service_running is unknown.
    • After that device run process is stopped, octryx-claude device status keeps printing accepting jobs · connected until the last status is 3 minutes old.
  • What to do:
    • Write the device process's pid into device-status.json.
    • When no service is installed, _connection_line checks whether that pid is still alive (os.kill(pid, 0), handling ProcessLookupError and PermissionError). If the process is gone, it shows unknown (status stale: the service is not running or not reporting) at once.
  • Test: in the device CLI tests, write a status with connected: true, a current updated_at and the pid of a finished subprocess. Expect the stale line. Then use the pid of the test process itself and expect connected.
  • Accepted when: both cases pass, and a status file without a pid behaves 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 in corrections.json under pr_comment). "LGTM, thanks!" (13 characters) counts as a correction today.
  • Change: a data list ack_bodies in corrections.json under pr_comment: case-insensitive patterns matched against the whole trimmed comment, for example lgtm, looks good( to me)?, thanks?( you)?, approved, ship it, or emoji only. pr_comment skips 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_comment tests 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_junk in clients/octryx-claude/installer/install.sh; the names come from os_junk.json → files, filled in by backend/app/services/octryx_client/installers.py). The folders list (.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 folders with the same quote-free check;
    • clear_os_junk also 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.
  • Test: tests/installer/install_sh_test.sh, next to the .DS_Store cases: a created ~/.local/bin that holds only .Trashes/x is removed by uninstall; one that also holds a normal file stays. backend/tests/test_octryx_client_install.py: the served install.sh carries 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 terms step scans the whole tracked tree (about 11,000 files, around 20 seconds) on every pull request.
  • Change: check --changed BASE scans only the files git diff --name-only BASE...HEAD lists (added or modified, not deleted). scripts/full-regression.sh uses it in --mode pr with --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 pr gate shows the terms step 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.json lacks .LSOverride (macOS) and ehthumbs.db (Windows). Issue 4 covers the folders .AppleDouble and $RECYCLE.BIN.
  • Change: add both. The installer only allows [A-Za-z0-9._*-] in files (installers.py, _OS_JUNK_NAME); a name with another character belongs in folders or needs that check widened on purpose, otherwise serving install.sh fails with installer_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.

Octryx AI v0.0.1-alpha · Apache 2.0 · octryx.ai