job-engine-spring: Instructions file for Codex

AGENTS.md

job-engine-spring AGENTS.md is an instructions file for Codex, OpenCode from JonHHH09/job-engine-spring. It costs 3,642 tokens per session, scanned A, original, Apache-2.0.

A repository guide for a local job-matching server built with Java and Spring Boot. It explains the project layout, architecture, build commands, tests, and database migrations.

In plain words
What is it for?
Use it when building, testing, or extending the server, especially when working with its MCP connection, candidate and job data, matching reports, or generated PDF documents.
Why use it?
It gives developers one reliable place to learn the codebase’s rules and avoid adding the wrong kind of interface or putting code in the wrong module.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is JonHHH09/job-engine-spring's own configuration. It tells Codex and OpenCode how to work on job-engine-spring itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything job-engine-spring configures →

Reuse

Borrowing it

Nothing to install: this file belongs to JonHHH09/job-engine-spring. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/JonHHH09/job-engine-spring/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/JonHHH09/job-engine-spring

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for job-engine-spring AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jonhhh09/job-engine-spring/agents-md/github.svg)](https://agentmods.dev/instructions/jonhhh09/job-engine-spring/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/jonhhh09/job-engine-spring/agents-md"><img src="https://agentmods.dev/badge/instructions/jonhhh09/job-engine-spring/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for job-engine-spring AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jonhhh09/job-engine-spring/agents-md"><img src="https://agentmods.dev/badge/instructions/jonhhh09/job-engine-spring/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,642 This file is loaded in full into every session.
When invoked 3,642 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.03642 $0.03642
Opus 5.5 $0.01457 $0.01457
Sonnet 5.5 $0.00728 $0.00728
Haiku 4.5 $0.00364 $0.00364

Measured 1mo ago against content hash 9ad147d86be0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

job-engine-spring AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 141 lines

How it starts

The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Repository Guidelines

job-engine-spring is a local-only MCP (Model Context Protocol) server, not a hosted service, REST API, web UI, or job-board scraper. It stores normalized candidate profiles and jobs, produces explainable profile-to-job match reports, and generates resume/cover-letter PDFs. Normal runtime is a persistent Streamable HTTP MCP endpoint published only on host loopback (http://127.0.0.1:8080/mcp); STDIO exists only for CI/package verification and isolated diagnostics. The application is MCP-first: do not add REST controllers unless REST compatibility is explicitly required — the privileged, disabled-by-default adapter/in/http/operator boundary (see below) is the one approved exception.

Project Structure & Module Organization

This is a Maven Java 25 Spring Boot 4.1.0 project. The main build descriptor is pom.xml, with the Maven wrapper available as mvnw. Production code lives in src/main/java, tests in src/test/java, and Flyway database migrations in src/main/resources/db/migration.

The package layout follows application boundaries: domain contains core business concepts, application holds use cases and orchestration, and adapter packages contain integrations. The adapters are adapter/in/mcp, adapter/in/http/operator (privileged, disabled by default), adapter/out/postgres, adapter/out/http, adapter/out/extraction, adapter/out/filesystem, and adapter/out/transaction.

Build, Test, and Development Commands

  • ./mvnw test runs the unit test suite through Surefire.
  • ./mvnw -q -Dtest=ClassName test runs a single test class; comma-separate multiple classes, e.g. ./mvnw -q -Dtest=JobServiceTests,JobMcpAdapterTests,HttpJobLinkContentFetcherTests test.
  • ./mvnw verify -Pintegration-tests runs integration tests through Failsafe (Testcontainers/PostgreSQL) plus the JaCoCo coverage gate. Requires Docker.
  • ./mvnw spring-boot:run starts the application locally.
  • docker compose build mcp builds the local container image for the persistent Streamable HTTP MCP server.
  • ./scripts/run-local-mcp-http.sh is the build-from-source dev path: it bootstraps the ignored .env (operator boundary on, private token), then runs docker compose up -d --build --force-recreate --wait postgres mcp, starting PostgreSQL privately and publishing MCP plus the operator routes only on host loopback; python3 scripts/smoke-mcp-http.py verifies initialize, discovery, and health. Use the raw docker compose up -d --build --wait postgres mcp when the environment file must not be touched.
  • ./scripts/bootstrap-local-env.sh creates/updates the git-ignored .env: it sets JOB_ENGINE_OPERATOR_ENABLED=true when the value is missing or false, and generates a 64-character JOB_ENGINE_OPERATOR_BEARER_TOKEN when the existing token is shorter than 32 characters. It is idempotent, never prints the token, and never overrides an explicitly chosen non-default value. JOB_ENGINE_SKIP_ENV_BOOTSTRAP=true disables the automatic call in the deployment scripts.
  • ./scripts/rebuild-local-mcp-jar.sh runs ./mvnw test, packages the jar, then runs hermes mcp test job-engine-spring if the Hermes CLI is present (RUN_TESTS=false to skip tests when already green).
  • ./scripts/run-release-mcp-http.sh ghcr.io/jonhhh09/job-engine-spring:vX.Y.Z is the guarded release-only deployment path; it bootstraps .env, refuses local/latest images, and recreates the service without building.
  • ./scripts/run-local-mcp-container.sh is the explicit STDIO CI/package-verification launcher. It activates the stdio profile and must not be used for normal Hermes tool calls.
  • ./scripts/run-mcp-stdio-diag.sh launches a unique-named diagnostic MCP STDIO container so engineering smoke/diagnosis cannot kill an active Hermes session.
  • python3 scripts/smoke-mcp-stdio.py -- ./scripts/run-local-mcp-container.sh verifies the containerized MCP initialize + tools/list STDIO contract for the default instance. Prefer ./scripts/run-mcp-stdio-diag.sh when Hermes may already be connected.
  • ./scripts/run-local-mcp-stdio.sh runs the packaged jar directly over STDIO on the host, without Docker; use it only for isolated jar-level diagnosis.
  • ./scripts/restart-local-mcp-server.sh is the jar-based STDIO restart helper (--foreground, --run-tests, --smoke-test); it does not touch the persistent Compose service.
  • python3 scripts/verify-mcp-restored-data.py performs sanitized JSON-RPC reads against an isolated restored MCP server after ./scripts/postgres-restore.sh, never against the primary instance.
  • scripts/tests/test-mcp-container-cleanup.sh is a Docker-free regression for cleanup ownership (preserve custom instances; remove default/legacy only for default launches).
  • scripts/tests/test-bootstrap-local-env.sh is the Docker-free regression for the .env bootstrap (default-on, token strength, idempotence, explicit opt-out, no token in output).
  • scripts/tests/run-postgres-ops-tests.sh runs the Docker-free backup/restore shell regressions in scripts/tests/postgres-ops-test.sh; scripts/tests/postgres-ops-integration.sh is the Docker-backed counterpart.
  • python3 scripts/test-smoke-mcp-stdio.py and python3 scripts/tests/test-verify-mcp-restored-data.py are the self-tests for the two Python helpers.
  • For pipeline, Compose, shell, Python, or MCP transport changes, also run actionlint, shellcheck, docker compose config, the image build, and the real STDIO MCP smoke test. CONTRIBUTING.md points here for that list.
  • After rebuilding/redeploying: recreate the persistent service, then run /reload-mcp in the connected agent; if tool names/schemas/prompts changed, also run /reset to refresh the agent's cached tool schema.
  • Backup/recovery: ./scripts/postgres-backup.sh, ./scripts/postgres-verify-backup.sh, ./scripts/postgres-restore.sh, ./scripts/postgres-backup-prune.sh. Restore/verify always target a disposable Compose project/volume, never the primary one directly.

Read the full file on GitHub · 141 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +28 lines · +1,277 tokens per session 9ad147d86be0
  2. 2mo ago First seen · 113 lines · 2,365 tokens per session scan A afa7da1e885b

Subscribe to this mod's changes

job-engine-spring AGENTS.md is an instructions file published in the GitHub repository JonHHH09/job-engine-spring (2 stars, last pushed 24d ago), licensed Apache-2.0. It adds 3,642 tokens to every session, about $0.0146 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

job-engine-spring AGENTS.md compared with instructions from other repositories

job-engine-spring AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
job-engine-spring AGENTS.mdJonHHH09/job-engine-springInstructions file224d agoApache-2.0A3,642Codex, OpenCode
vibetags com-example-config-AsyncTestConfig.instructions.mdPIsberg/vibetagsInstructions file25yesterdayMITA82GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot