Skip to content

chore(standard): record notices, SBOM, env example, product model and release surfaces - #86

Merged
dragoscv merged 8 commits into
mainfrom
chore/standard-onboarding
Dec 2, 2026
Merged

dragoscv merged 8 commits into
mainfrom
chore/standard-onboarding

Conversation

@dragoscv

Copy link
Copy Markdown
Contributor

Codwen Standard onboarding — raise conformance for the six commonly-missed facets

Run: node E:\gh\standard\bin\codwen.mjs check (cwd = repo).

Before: 2 facets satisfying, 14 failing — checks pass 48 / fail 35.
After: 7 facets satisfying, 9 failing — checks pass 61 / fail 22.

Five of the six target facets now pass; config.env is reduced to a single failing check.

Facets

Facet Before After Note
product.model fail pass codwen.platform.json replaced with HIDE's real surface (it held the example scaffold); reviewed attested.
test.strategy fail pass Coverage signal attested (473 tests, 86 frozen vectors, differential run, 11 fuzz targets).
legal.baseline fail pass NOTICE added; site gains Terms/Privacy pages + footer links; copyright line; cookie-consent attested.
legal.licensing fail pass NOTICE, SBOM workflow, open-source posture attested; docs/legal/license-policy.md filled from deny.toml.
release.ripple fail pass commitlint.config.mjs; version surfaces documented (23 files / 7 ecosystems).
config.env fail fail env-example and env-documented now pass; env-validated still fails — see below.

Still open (honest)

  • config.env / env-validated — the check looks for a startup env validator
    (@t3-oss/env, createEnv(, pydantic-settings, …). HIDE is a Rust protocol engine
    that reads only optional development overrides (documented in .env.example); it has
    no environment to validate at boot, so no honest artifact satisfies this check.

Files

  • New: NOTICE, .env.example, commitlint.config.mjs,
    .github/workflows/sbom.yml, site/privacy.html, site/terms.html
  • Changed: codwen.standard.json (attestations), codwen.platform.json,
    docs/legal/license-policy.md, site/index.html

Notes

  • Every artifact is derived from repository facts (LICENSE, deny.toml, about.toml,
    Cargo.lock, scripts/set-version.ps1, scripts/licences/*). No dependency, pin or
    published-artifact-affecting script was added or changed.
  • The privacy/terms pages restate what the repo already states (README "Privacy", the
    site footer); they contain no new promise. Please review the wording.
  • The push used the repository's own HIDE_SKIP_PUSH_CHECKS=1 so it would not trigger the
    pre-push full release build; no Rust file changed.

…rono

The supply-chain job (cargo audit --deny warnings, both lockfiles) was red:
- root + desktop: curve25519-dalek 5.0.0 -> 5.1.0 (RUSTSEC-2026-0620).
- desktop: cookie 0.18.2 -> 0.18.3 (RUSTSEC-2026-0594) and url 2.5.8 ->
  2.5.9 (RUSTSEC-2026-0592).
- desktop: chrono 0.4.45 is unmaintained (RUSTSEC-2026-0543) with no patched
  release, so it is listed in apps/hide-desktop/src-tauri/.cargo/audit.toml
  with its dependency path, as that file's rule requires.

Verified locally: cargo audit --deny warnings = 0 for both lockfiles,
cargo deny check (root) and check bans/licenses/sources (desktop) = ok.
…e too

check-lock-drift.mjs requires the wire-relevant crates to match across the
root, desktop and fuzz lockfiles; the previous commit moved the root and
desktop copies but left fuzz/Cargo.lock at 5.0.0. Bring it to 5.1.0.
Verified locally: node scripts/check-lock-drift.mjs = agree on all 33.
@dragoscv
dragoscv merged commit 322568c into main Dec 2, 2026
10 checks passed
@dragoscv
dragoscv deleted the chore/standard-onboarding branch December 2, 2026 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant