Skip to content

P0: harden and consolidate the repository for archival - #1

Merged
Som5ra merged 51 commits into
mainfrom
agent/p0-archive-readiness
Jul 23, 2026
Merged

P0: harden and consolidate the repository for archival#1
Som5ra merged 51 commits into
mainfrom
agent/p0-archive-readiness

Conversation

@Som5ra

@Som5ra Som5ra commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Summary

This PR completes the P0 archive-readiness pass on an isolated branch.

  • fixes multi-face geometry output alignment, partial-failure propagation, detector shape validation, and multi-person pose tracking state;
  • hardens native, Unity, and WebAssembly input validation, ownership, and destroy APIs;
  • makes the core and optional examples portable across the pinned dependency set;
  • centralizes dependency resolution and makes examples, standalone tools, and experimental 6D tracking opt-in;
  • replaces former-company identifiers with neutral Custom / CUSTOM / custom names;
  • removes generated 6D build artifacts, deprecated prototypes, and developer-workstation paths;
  • preserves the supported-model, execution-provider, post-processing, dependency, and target-architecture tables in the README, using visual support markers;
  • adds an archive handoff runbook, a dependency-free readiness checker, and a Linux smoke workflow.

Breaking change

The neutral-name migration changes native target names, C exports, WebAssembly bindings, namespaces, status types, geometry types, and examples. No compatibility aliases are retained because the archive must not preserve the former-company surface.

Downstream consumers must update their native library imports and exported-function declarations together.

Validation

The automated archive-readiness workflow validates Python/JSON syntax, repository invariants, pinned dependency bootstrap, Linux core and Unity compilation, and compilation of supported optional examples.

The final merge is gated on a green workflow and an independent re-review of the exact head.

Remaining archival decisions

Public licensing, dependency checksum/provenance policy, and large-binary handling remain owner decisions documented in ARCHIVE.md; they do not change this P0 code-safety pass.

Som5ra added 30 commits July 23, 2026 14:38
- rebuild landmark batches for every frame
- preserve valid empty-detection results
- guard model outputs, crop bounds, and pipeline status
- retain computed face geometry for downstream consumers
- own detector and pose results with RAII
- clamp invalid detection intervals to a safe cadence
- preserve one pose result per detected person
- validate polymorphic outputs and remove debug-only early exits
- pass frame dimensions in the documented width-height order
- isolate flattened landmark offsets for every face
- validate calculator lifecycle, inputs, and output cardinality
- expose deterministic calculator teardown for native callers
- export stable native entry points across supported compilers
- validate pointers, dimensions, model state, and image loading
- contain C++ exceptions at Unity and WebAssembly boundaries
- expose deterministic model destruction and status semantics
@Som5ra
Som5ra marked this pull request as ready for review July 23, 2026 09:18
@Som5ra
Som5ra merged commit ac8998f into main Jul 23, 2026
2 checks passed
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