Commit Graph

144 Commits

Author SHA1 Message Date
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
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
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
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
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
7945c3c979 translated localized doc copies 2026-04-08 21:11:22 +02:00
AlexisLeDain
c44d37e931 add quarkus to java part 2026-04-08 16:24:27 +02:00
Affaan Mustafa
c40c5b95aa docs: add skill adaptation policy 2026-04-06 14:30:23 -07:00
Affaan Mustafa
572c7a8fe6 docs: add capability surface selection guide 2026-04-06 14:21:28 -07:00
Affaan Mustafa
b1ad3bcfc7 docs: add canonical hook bug workaround guide 2026-04-06 14:12:21 -07:00
Affaan Mustafa
8488811b80 chore: remove legacy insaits integration 2026-04-05 20:19:21 -07:00
Affaan Mustafa
e09c548edf feat: add agent introspection debugging skill 2026-04-05 20:10:54 -07:00
Affaan Mustafa
b6d15b42f2 docs: add hermes setup guide 2026-04-05 17:53:08 -07:00
Affaan Mustafa
8a3651588a feat: restore review and planning bundles 2026-04-05 17:51:56 -07:00
Affaan Mustafa
56bd57c543 feat: restore hookify command bundle 2026-04-05 17:50:31 -07:00
Affaan Mustafa
ff303d71b6 feat: salvage frontend-design from hermes branch 2026-04-05 17:48:46 -07:00
Affaan Mustafa
a1e37d7c0d feat: add agent-sort selective install workflow 2026-04-05 17:36:37 -07:00
Affaan Mustafa
4d759f91da docs: add Hermes to ECC migration guide 2026-04-05 17:18:54 -07:00
Affaan Mustafa
57e2435b4f docs: remove orphaned template translations 2026-04-05 17:16:18 -07:00
Affaan Mustafa
05d836387e feat: add product capability planning lane 2026-04-05 16:58:02 -07:00
Affaan Mustafa
9d7531706d feat: add connector and dashboard builder skills 2026-04-05 16:47:33 -07:00
Affaan Mustafa
ece14da5cd feat: add ECC-native operator workflow skills 2026-04-05 16:31:26 -07:00
Affaan Mustafa
eb39a0ea57 feat: add security bounty hunting skill 2026-04-05 16:13:53 -07:00
Affaan Mustafa
50ebf1605a feat: add blockchain security skill bundle 2026-04-05 16:12:42 -07:00
Affaan Mustafa
8fe97d1675 feat: add HIPAA entrypoint skill 2026-04-05 16:10:05 -07:00
Affaan Mustafa
31afed5b5d feat: add SEO audit support 2026-04-05 15:46:01 -07:00
Affaan Mustafa
da813d48a0 feat: add code tour workflow 2026-04-05 15:42:58 -07:00
Affaan Mustafa
cba43546fd feat: add unified notifications ops 2026-04-05 15:33:26 -07:00
Affaan Mustafa
989ed60994 docs: refresh localized README switchers 2026-04-05 15:31:07 -07:00
Affaan Mustafa
753da37743 feat: add council decision workflow 2026-04-05 15:27:54 -07:00
Affaan Mustafa
a77c8c3f85 feat: add ecc tools cost audit workflow 2026-04-05 15:19:56 -07:00
Affaan Mustafa
0f4f95b3de refactor: move project guidelines example into docs 2026-04-05 15:03:59 -07:00
Affaan Mustafa
dbdbcef58f docs: resolve markdownlint errors across translated docs 2026-04-05 14:41:27 -07:00
Affaan Mustafa
0aad18a830 docs: add manual adaptation guide for non-native harnesses 2026-04-05 14:39:55 -07:00
Affaan Mustafa
1346f83b08 fix: shorten plugin slug to ecc 2026-04-05 14:31:30 -07:00
Affaan Mustafa
6eba30f02b feat: restore reusable ops skills from hermes branch 2026-04-05 13:30:55 -07:00
Affaan Mustafa
846ffb75da chore: ship v1.10.0 release surface refresh 2026-04-05 13:20:18 -07:00
Affaan Mustafa
5df943ed2b feat: add nestjs development patterns 2026-04-02 18:27:51 -07:00
Affaan Mustafa
be0c56957b feat: add jira integration workflow 2026-04-02 17:51:03 -07:00
Affaan Mustafa
badccc3db9 feat: add C# and Dart language support 2026-04-02 17:48:43 -07:00