Commit Graph
26 Commits
Author SHA1 Message Date
Julian LechnerandClaude Opus 5.5 368cf5ee4a docs(security): add logging and client app rules, close coverage gaps
New focused rules: security logging and audit (events to log, log
injection, what never to log, tamper-evident audit trails) and desktop
and mobile client apps (shipped code is public, platform secret stores,
pinning with rotation, signed updates, WebView limits).

Existing rules gain inbound webhook verification in api, GDPR handling
of personal data in data, container and infrastructure-as-code
hardening in supply-chain, and post-quantum key establishment with
ML-KEM (FIPS 203) in a hybrid construction in crypto. Security testing
of a third-party or public target now needs one confirmation of
ownership or permission. Duplicate authorization bullets in auth and
api are merged, and webhook routing distinguishes inbound from outbound.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 10:03:44 +01:00
Julian LechnerandClaude Opus 5.5 ff33ea1327 docs(rules): add MAUI and Blazor rules, close C# gaps
New C# topic rules for .NET MAUI and Blazor, both centered on
performance and cross-platform reuse. MAUI covers compilation strategy
per platform (ReadyToRun, NativeAOT), trim and AOT safety, lean startup,
CollectionView and flat layouts, and per-platform conventions. Blazor
covers render mode cost, WebAssembly payload size and AOT trade-offs,
prerender state, rendering cost, and Razor class libraries shared across
web, WebAssembly, and Hybrid hosts. The C# index and global routing now
name both.

The existing C# rules gain the net11.0 default of C# 15, async void only
for event handlers, explicit StringComparison, invariant culture for
machine data, UTC or DateTimeOffset for stored times, ProblemDetails,
and ValidateOnStart. Duplicate authorization and raw SQL guidance in the
architecture rule is merged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 09:57:17 +01:00
Julian LechnerandClaude Opus 5.5 b74357b586 docs(rules): unify remote write approval and sharpen cross-cutting rules
The microsoft rule now covers every connected remote system: Azure
DevOps, Teams, SharePoint and Microsoft 365, SQL Server, Confluence,
Grafana, and other connectors. A direct request that names the action,
target, and content counts as confirmation. Deletions, irreversible and
bulk changes, and access changes always need confirmation. Database
writes show the statement and expected row count first. Definition of
Done now defers to this rule instead of contradicting it.

The decision rule adds how to ask, what to do when no one can answer,
and naming a concrete risk once before following a user decision.

Refactoring guidance is language neutral, Definition of Done accepts
documented shortcut: comments, and both point to the proportional
verification rule that actually exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 09:41:35 +01:00
Julian LechnerandClaude Opus 5.5 cb22d56539 fix(rules): trim always-loaded instructions under prompt budget
CI / CI configuration security checks (push) Successful in 4s
CI / Capabilities and shell quality (push) Successful in 11s
CI / Python tests and compilation (push) Successful in 25s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 16s
CI / PowerShell tests on Ubuntu (push) Successful in 1m13s
CI / Installed client configuration smoke tests (push) Successful in 38s
CI / Bash integration and installation guards (push) Successful in 1m14s
Instruction tokens rose to 1883 against the 1837 limit (baseline 1670
+10%). Condense the Humanizer and plugin-workflow lines in the general
rules and drop a redundant index sentence from the global instructions;
the generated instruction files now measure 1828 tokens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 12:24:11 +01:00
Julian LechnerandClaude Opus 5.5 6159c6373c docs(rules): fix contradictions, update technical rules, enforce rule structure
CI / CI configuration security checks (pull_request) Successful in 2s
CI / Capabilities and shell quality (pull_request) Successful in 15s
CI / Python tests and compilation (pull_request) Successful in 36s
CI / QMD unit tests (pull_request) Successful in 7s
CI / Build and inspect generated packages (pull_request) Successful in 16s
CI / Bash integration and installation guards (pull_request) Failing after 51s
CI / PowerShell tests on Ubuntu (pull_request) Failing after 1m45s
CI / Installed client configuration smoke tests (pull_request) Canceled after 1m24s
- Resolve contradictions: authorization is never a skipped "boundary check";
  one browser token policy (BFF/HttpOnly cookies first, RFC 10017); one
  sanitizer-bypass rule; Angular responses are unknown until validated.
- Add security rules for AI/LLM integration and Java XXE, concrete crypto
  and password-hashing parameters, and RFC 8725 JWT validation.
- Update version-dependent guidance after checking official sources:
  Angular 22, TypeScript 6/7, Node 24+, .NET 10/C# 14, JDK 21-25, Spring
  Boot 4; add a Spring Boot and Spring Security topic.
- Give every rule a unique level-1 title and scope line, keep language
  security files to language specifics, and fix routing for inbound vs
  outbound HTTP, XML parsing, and WPF/Angular parent rules.
- Validate rule structure and routing in validate-config.py, with tests.
- Fix CI issues found by a local run: shellcheck directive order, pinned
  ruff rule set, Invoke-Python test mock, CRLF-tolerant package checks,
  Windows-only credential test, and refreshed prompt-budget baselines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 10:51:08 +01:00
Julian LechnerandClaude Opus 5.5 79694fbaa2 fix(config): resolve Python reliably, add command-safety hook, harden CI
- Resolve Python 3.11+ through shared Resolve-Python.ps1/resolve-python.sh,
  which probe python, python3 and py -3 and skip the Windows Store alias.
  Build and capability checks fail early with an actionable message; doctor
  reports missing Python and the skipped hooks.
- Fix check-capabilities.sh comparing only the major version.
- Register Validate-CommandSafety as a PreToolUse hook for Claude and Codex;
  shared logic in command-safety.py catches rm -rf variants, git reset --hard,
  git clean -f, Remove-Item -Recurse, del/rd /s /q and nested shells.
- Replace duplicated placeholder chains in both builds with
  adapters/placeholders.tsv.
- Restore shell parity: add test-capabilities.sh, rename credentials.ps1 to
  with-credential.ps1 and qmd-warm.sh to start-qmd-warm.sh.
- CI: build once and pass generated/ as an artifact, lint Python with ruff
  and JavaScript modules with node --check, require SHA pins for all actions.
- Add evals for all own skills and update documentation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 09:34:54 +01:00
fraujulian e19aa2e27c Updates
CI / PowerShell tests on Ubuntu (push) Failing after 3s
CI / CI configuration security checks (push) Successful in 2s
CI / Capabilities and shell quality (push) Successful in 12s
CI / Python tests and compilation (push) Successful in 22s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 11s
CI / Installed client configuration smoke tests (push) Successful in 59s
CI / Bash integration and installation guards (push) Successful in 1m31s
2026-11-05 08:31:07 +01:00
Julian lechner 83091d247a fix(instructions): add startup rule only for existing custom instructions 2026-10-08 15:16:07 +02:00
Julian lechner 6a981bd7f2 fix(instructions): check optional personal file before reading 2026-10-08 15:02:05 +02:00
Julian lechner 5c1795a601 docs(security): define baseline and testing scope 2026-09-30 09:23:52 +02:00
fraujulian def30779c8 docs(mcp): clarify native and mcporter routing 2026-09-25 17:53:35 +02:00
fraujulian d5c2ca556b docs(rules): clarify just-in-time loading
CI / Capabilities and shell quality (push) Failing after 11s
CI / Python tests and compilation (push) Failing after 8s
CI / Build and inspect generated packages (push) Skipped
CI / Bash integration and installation guards (push) Skipped
CI / Installed client configuration smoke tests (push) Skipped
CI / Qwen retrieval integration (push) Skipped
CI / PowerShell tests on Ubuntu (push) Failing after 15s
CI / CI configuration security checks (push) Successful in 4s
2026-09-24 22:59:17 +02:00
fraujulian 2efa43365e docs(instructions): condense global rules 2026-09-24 22:20:00 +02:00
fraujulian 9bf0d1b1e2 feat(java): add modern Java rules 2026-09-24 21:59:59 +02:00
fraujulian bb03528337 refactor(rules): route loading by focused topic 2026-09-24 21:43:06 +02:00
fraujulian aeec4d351c refactor(rules): move loading map to global instructions 2026-09-24 18:48:17 +02:00
Julian lechner 68acfa5a6f docs(rules): allow explicitly selected native MCP 2026-09-24 17:08:29 +02:00
fraujulian 2aa86ea643 feat(build): render client customizations 2026-09-18 17:25:53 +02:00
fraujulian e2c38093e9 fix(mcp): allow direct fallback without mcporter 2026-09-18 16:56:20 +02:00
fraujulian e28a4171ea feat(instructions): require MCPorter for MCPs 2026-09-18 12:40:00 +02:00
Julian lechner 8274d7d52d perf(prompt): reduce permanent instruction context 2026-09-17 14:37:18 +02:00
fraujulian bf43b256a0 feat(orchestration): add compact delegation protocol 2026-09-16 22:44:21 +02:00
Julian lechnerandClaude Haiku 4.5 89de58ff24 refactor(rules): de-duplicate priority/decision/documentation guidance into general.md
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-09-16 15:46:20 +02:00
fraujulian d699cdcff4 refactor(agents): remove inert metadata 2026-09-14 01:08:01 +02:00
Julian lechnerandClaude Sonnet 5 24e4d3f96b feat(rules): define Claude rule-skill manifest and template placeholder
Adds adapters/claude/rule-skills.tsv, mapping each technology- or
situation-specific rule to a Claude skill name and trigger description.
Replaces the hardcoded rule-loading block in the shared instructions
template with a __RULE_LOADING__ placeholder so each client's build step
can substitute its own loading mechanism without duplicating the shared
orchestration text.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-11 15:42:16 +02:00
Julian lechner 13e2dbbea0 feat(orchestration): add shared global instructions 2026-09-11 14:43:36 +02:00