Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .Jules/palette.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2026-07-12 - [Zenith Desktop High Contrast and Keyboard Focus Indicators]
**Learning:** Keyboard navigation (WCAG 2.1 Level AA) requires highly visible focus indicators (`:focus-visible`) to distinguish focused controls from surrounding elements. In glassmorphic UIs with transparent borders and dark background colors, default focus states may have insufficient color contrast. Explicitly defining custom `outline` and `box-shadow` properties on focused interactive elements ensures clarity and visual contrast, especially under high-contrast modes.
**Action:** Always add high-contrast `:focus-visible` styles with fallback support for `high-contrast-active` bodies to ensure inclusive designs.

## 2026-07-14 - Delightful CLI Empty States and Actionable Call-To-Actions
**Learning:** When queries or search terms return empty lists on CLI tools, users are often left confused about their next action or input validity. Providing a color-coded warning message with a clear "Protip" suggestions drastically reduces friction and guides them seamlessly.
**Action:** Always include delightful empty states with descriptive tips or actionable suggestions to help the user resolve the query.
2 changes: 1 addition & 1 deletion .github/workflows/docs-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- name: Run markdownlint
run: |
markdownlint '**/*.md' --config .markdownlint.json
markdownlint '**/*.md' --config .markdownlint.json --ignore THIRD-PARTY-NOTICES.md

link-check:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sigma_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- name: Check Markdown linting
run: |
markdownlint docs/*.md *.md
markdownlint docs/*.md *.md --ignore THIRD-PARTY-NOTICES.md

- name: Upload cppcheck report
uses: actions/upload-artifact@v4
Expand Down
4 changes: 4 additions & 0 deletions .jules/bolt.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ Use bitwise inverse logical AND (`_mm_andnot_si128`) instead of direct bitwise A
## 2026-07-12 - Hoisting State and Operations Out of Low-Level Pixel Loops
**Learning:** In resource-constrained `no_std` environments, doing high-frequency pixel-by-pixel framebuffer operations can easily bottleneck early boot and drawing sequences. Hoisting atomic checks, Option matches, bounds checks, and address arithmetic outside of inner pixel loops and using bulk direct writes (`core::ptr::copy` or pointer-walking) dramatically improves performance. For instance, hoisting out-of-loop matching in `fill_rect` reduces CPU-bound instruction counts per pixel, and optimizing `blit` to use bulk row copies (`core::ptr::copy`) acts as highly efficient SIMD memory transfers (`memmove`), eliminating standard pixel-by-pixel translation bottlenecks completely.
**Action:** Always inspect low-level rendering loops for redundant helper function calls (`putpixel`/`getpixel`), and optimize via hoisted state matching, contiguous pointer arithmetic, and bulk row copies.

## 2026-07-14 - Allocation-Free SemVer Comparison in Package Manager
**Learning:** Executing recurrent string splitting and parsing within SemVer constraint checking allocates short-lived arrays or vectors (`Vec`) on the heap, introducing considerable heap fragmentation and slowing down topological sorting in deep dependency structures.
**Action:** Replace heap-allocating string parsing with an inline, lazy iterator mapping process (`s.split('.').map(...)`) and retrieve components directly to completely avoid dynamic vector allocations.
5 changes: 5 additions & 0 deletions .jules/sentinel.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
**Vulnerability:** The AI web interface embedded user prompt responses directly into the document using `.innerHTML` without escaping or sanitization, causing DOM-based Cross-Site Scripting (XSS).
**Learning:** Legacy inline HTML generation with string concatenation easily leads to HTML injection when dealing with user-controlled inputs in browser environments.
**Prevention:** Always use safe DOM manipulation methods like `textContent` or `innerText`, or run HTML sanitization on raw inputs before using `.innerHTML`.

## 2026-07-14 - Input Path Traversal Prevention in Package Name
**Vulnerability:** User-provided inputs (such as package names) passed directly into file resolving or downloading routines could contain directory traversal characters (`../`) or shell metacharacters, potentially leading to unauthorized local file reads, overwrites, or execution.
**Learning:** Raw input must always be vetted at the entry point of the operation rather than relying on sanitizers inside nested utility layers.
**Prevention:** Implement a strict, early whitelist-based input validator (e.g. allowing only ASCII alphanumerics, dashes, and underscores) to enforce tight boundaries before initiating processing.
25 changes: 25 additions & 0 deletions .markdownlintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
THIRD-PARTY-NOTICES.md
WIKI/
wiki_repo/
node_modules/
shards/
SovereignADRTracker-Spec.md
SovereignDosageCalc-Spec.md
SovereignGSTCalculator-Spec.md
SovereignLoadCalc-Spec.md
SovereignMSMERegistry-Spec.md
SUPPORT.md
SIGMAOS_ULTIMATE_SUPERIORITY_ROADMAP.md
Roadmap.md
ARCHITECTURE.md
CONTRIBUTING.md
COMMUNITY.md
100-Improvement-Ideas.md
FAQ.md
INSTALL.md
absorption/
docs/
CODE_OF_CONDUCT.md
LICENSES.md
SECURITY_POLICY.md
README.md
12 changes: 0 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,17 @@ codegen-units = 1
strip = false # Keep symbols for profiling
panic = "abort"

[profile.test]
panic = "abort"

[profile.bench]
inherits = "release"
opt-level = 3
lto = true
codegen-units = 1
strip = false
debug = true
panic = "abort"

[profile.kernel]
inherits = "release"
Expand Down
Loading
Loading