Commit Graph

1179 Commits

Author SHA1 Message Date
AlexisLeDain 11cc20bbcf fix: align Turkish TDD test to expect NullPointerException
Objects.requireNonNull throws NullPointerException, not
IllegalArgumentException. The English source was correct;
the Turkish translation had the wrong exception type.
2026-04-13 14:55:12 +02:00
AlexisLeDain 46db568c38 fix: use doNothing for void Panache persist() in verification test example
Panache persist() returns void, so when().thenReturn() won't compile.
Replaced with doNothing().when().persist() which is the correct
Mockito pattern for void methods.
2026-04-09 18:39:21 +02:00
Alexis Le Dain 408b262f11 Update skills/quarkus-tdd/SKILL.md
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-04-09 18:35:52 +02:00
Alexis Le Dain aca8dda78c Update skills/quarkus-patterns/SKILL.md
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-04-09 18:35:23 +02:00
Alexis Le Dain 53e2e798f7 Update skills/quarkus-tdd/SKILL.md
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-04-09 18:35:08 +02:00
Alexis Le Dain e3d4e33ddb Update skills/quarkus-patterns/SKILL.md
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-04-09 18:30:31 +02:00
Alexis Le Dain 80daa6dc78 Update skills/quarkus-verification/SKILL.md
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-04-09 18:20:11 +02:00
Alexis Le Dain 6ed9b49a5b Update skills/quarkus-patterns/SKILL.md
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-04-09 18:16:23 +02:00
AlexisLeDain 56bbbb3dbe fix: handle checked JsonProcessingException in serializePayload
writeValueAsString throws checked JsonProcessingException which was
unhandled, causing a compile error. Wrapped in try/catch, rethrowing
as IllegalStateException.
2026-04-09 17:28:56 +02:00
AlexisLeDain e928ceacee fix: assert Camel route body as String after JSON marshalling
The route calls .marshal().json() before reaching the mock endpoint,
so the body is a JSON String, not a POJO. Removed expectedBodiesReceived
with POJO and getBody(BusinessRulesPayload.class), replaced with
String body assertion using contains().
2026-04-09 16:42:26 +02:00
AlexisLeDain c399627377 fix: add input guards to EventService to match TDD test expectations
Tests assert null-payload and blank-error-message guards but the
implementation had none. Added Objects.requireNonNull for payload
and blank check for errorMessage. Also added missing objectMapper
field to locale copies.
2026-04-09 16:12:44 +02:00
AlexisLeDain eddfeb6fbf fix(security): reject requests with missing/malformed auth header
The custom auth filter only rejected invalid tokens but silently
passed through requests without an Authorization header, creating
a complete auth bypass. Inverted the guard to reject-first: abort
immediately when header is absent or malformed, then validate.
2026-04-09 16:09:10 +02:00
AlexisLeDain 8f65048bc3 fix(security): replace spoofable X-Forwarded-For with getRemoteAddr in rate limiter
X-Forwarded-For is client-controlled and trivially bypassable for rate
limiting. Replaced with HttpServletRequest.getRemoteAddr() which uses
the container-provided remote address. Added note about configuring
quarkus.http.proxy.proxy-address-forwarding for trusted proxy setups.
2026-04-09 16:07:46 +02:00
AlexisLeDain 893eca0369 fix: use Quarkus Platform Camel BOM instead of Apache Camel BOM
org.apache.camel.quarkus:camel-quarkus-bom follows its own release
cadence and doesn't align with quarkus.platform.version. Replaced
with io.quarkus.platform:quarkus-camel-bom which is published at
the same version as quarkus-bom.
2026-04-09 16:05:28 +02:00
AlexisLeDain 9b4704fe3d fix: resolve compile errors in quarkus code examples
- Add missing @Slf4j and bucketName field to FileStorageService
- Fix PaginatedList → List type mismatch (Panache returns List)
- Fix executorService.submit → execute mock (supplyAsync uses execute)
- Update S3 failure test to throw from putObject instead of failed future

Applied to English + all 3 locale copies (tr, ja-JP, zh-CN).
2026-04-09 16:04:06 +02:00
Alexis Le Dain ca7ff001ce Update skills/quarkus-patterns/SKILL.md
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-04-09 15:32:51 +02:00
AlexisLeDain bc94f9926e fix: add Quarkus detection signal to Phase 0 in prompt-optimizer
Phase 0 mapped build.gradle/pom.xml only to Spring Boot. Now it
instructs checking the build file contents for 'quarkus' vs
'spring-boot' to select the correct tech stack path.
2026-04-08 22:43:31 +02:00
AlexisLeDain 4402e47553 fix: restore missing testPayload setup in zh-CN and ja-JP quarkus-tdd
The Camel route test example was missing the testPayload field
declaration, DocumentValidator mock, and @BeforeEach setup that
exist in the English source, making the snippet invalid.
2026-04-08 22:40:39 +02:00
AlexisLeDain 8e5c5f59ce add Framework output option for both frameworks 2026-04-08 22:33:53 +02:00
AlexisLeDain eb2ea25b8e fix: clarify AssertJ vs JUnit assertion guidance in quarkus-tdd
Changed "Always use AssertJ" to "Prefer AssertJ for value checks" and
documented the intended pattern: JUnit assertThrows/assertDoesNotThrow
for exception lifecycle, AssertJ for value validation. This matches
the actual code examples in the document.
2026-04-08 22:31:04 +02:00
AlexisLeDain 61dfbf8846 fix: remove unsafe-inline from script-src in CSP example
'unsafe-inline' for script-src negates XSS protection from CSP.
Removed it from the security headers example in quarkus-security
and all locale copies. Kept 'unsafe-inline' for style-src only
(commonly needed by CSS frameworks) with a comment recommending
nonces where possible.
2026-04-08 22:28:46 +02:00
AlexisLeDain e9089cf44e fix: add Gradle equivalents for Quarkus commands in java-build-resolver
The [QUARKUS] section only had Maven commands despite the agent
claiming Maven/Gradle support. Added Gradle equivalents (quarkusBuild,
quarkusDev, listExtensions, addExtension) and split into Maven/Gradle/Common
subsections.
2026-04-08 22:26:42 +02:00
AlexisLeDain 9b9f71c2e5 fix: address PR review findings for quarkus skills
- Add missing objectMapper field to EventService example (quarkus-patterns)
- Fix eventService.validate() → documentValidator.validate() API mismatch (quarkus-tdd)
- Add DocumentValidator mock declaration in Camel route test (quarkus-tdd)
- Update .opencode java-reviewer.txt to mention Quarkus alongside Spring Boot
2026-04-08 22:08:38 +02:00
AlexisLeDain 63934f382a fix prompt-optimizer skill mapping for Java reviewers 2026-04-08 21:54:16 +02:00
AlexisLeDain b54ce43ef3 translate properly docs/ 2026-04-08 21:49:38 +02:00
Alexis Le Dain 08eb812da6 Update docs/zh-CN/skills/prompt-optimizer/SKILL.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-08 21:24:15 +02:00
AlexisLeDain 73de75abfd fix undefined originalFileName 2026-04-08 21:18:42 +02:00
AlexisLeDain 7945c3c979 translated localized doc copies 2026-04-08 21:11:22 +02:00
Alexis Le Dain ddd611152e Update skills/configure-ecc/SKILL.md
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-04-08 21:03:46 +02:00
AlexisLeDain c44d37e931 add quarkus to java part 2026-04-08 16:24:27 +02:00
Affaan Mustafa 098b773c11 feat: tune ecc2 dispatch limits 2026-04-07 13:20:22 -07:00
Affaan Mustafa a7309481f4 feat: persist ecc2 auto-dispatch policy 2026-04-07 13:18:10 -07:00
Affaan Mustafa bde186d987 feat: add ecc2 dashboard rebalance action 2026-04-07 13:16:14 -07:00
Affaan Mustafa 349d3a08cb feat: rebalance ecc2 delegate backlog 2026-04-07 13:15:03 -07:00
Affaan Mustafa f450a14ef7 feat: preview ecc2 routing decisions 2026-04-07 13:10:12 -07:00
Affaan Mustafa ef2820f614 feat: show ecc2 global backlog pressure 2026-04-07 13:07:23 -07:00
Affaan Mustafa 05ef8dfaac feat: add ecc2 dashboard global auto-dispatch 2026-04-07 13:04:34 -07:00
Affaan Mustafa e567dc39c8 feat: add ecc2 daemon auto-dispatch pass 2026-04-07 13:00:20 -07:00
Affaan Mustafa 2d5d0e5c1d feat: add ecc2 auto-dispatch backlog sweep 2026-04-07 12:57:12 -07:00
Affaan Mustafa df3ac98ce3 feat: add ecc2 dashboard inbox drain action 2026-04-07 12:53:00 -07:00
Affaan Mustafa 7622973452 feat: add ecc2 inbox drain routing 2026-04-07 12:51:28 -07:00
Affaan Mustafa 8ff5e736cd feat: make ecc2 routing inbox-aware 2026-04-07 12:46:25 -07:00
Affaan Mustafa 7afc6892b1 feat: surface ecc2 operator action feedback 2026-04-07 12:43:46 -07:00
Affaan Mustafa 05512f6720 feat: add ecc2 dashboard assignment controls 2026-04-07 12:39:58 -07:00
Affaan Mustafa 5bff920bf8 feat: add ecc2 delegated assignment routing 2026-04-07 12:31:02 -07:00
Affaan Mustafa 3469773b32 feat: show ecc2 delegate states in dashboard 2026-04-07 12:26:31 -07:00
Affaan Mustafa e83ecfd3f9 feat: add ecc2 delegated team board 2026-04-07 12:24:54 -07:00
Affaan Mustafa 0eb31212e9 feat: surface ecc2 session handoff lineage 2026-04-07 12:21:29 -07:00
Affaan Mustafa 8fbd89b215 feat: add ecc2 delegated session command 2026-04-07 12:17:51 -07:00
Affaan Mustafa cd57c17d8e feat: wire ecc2 session handoffs into spawn flows 2026-04-07 12:15:45 -07:00