Skip to content

feat(competitive): product-by-product landscape + ranked where-we're-worse register - #37

Merged
mdheller merged 2 commits into
mainfrom
feat/competitive-landscape-profile
Aug 4, 2026
Merged

feat(competitive): product-by-product landscape + ranked where-we're-worse register#37
mdheller merged 2 commits into
mainfrom
feat/competitive-landscape-profile

Conversation

@mdheller

@mdheller mdheller commented Aug 3, 2026

Copy link
Copy Markdown
Member

Adds competitive intelligence as a first-class profile in the ops-domain suite (not a one-off doc).

44 products researched web-grounded (2026-08-03) across PaaS · IDP · supply-chain security · GitOps/progressive-delivery · dependency-automation · AI coding agents. Each entry carries maturity, agent integrations, and a severity-tagged beats_us_on list — only where they beat us.

  • schemas/competitive-landscape.schema.json + source_inputs/competitive-intel/landscape.v0.yaml (data)
  • tools/validate_competitive_landscape.py (44 competitors, 86 findings — valid)
  • tools/generate_competitive_gap_register.pydocs/competitive/where-we-stand.md (ranked projection)

Top critical gaps: agent-native MCP ops surface · metric-gated progressive delivery + auto-rollback · mature autonomous code review. Regenerate the register with python3 tools/generate_competitive_gap_register.py (CI can gate with --check).

…-mode bug + validator teeth

Addresses all four Copilot findings on #26. The second is a genuine correctness
bug in the verdict algebra that reached main; the doc had been reconciled to
JUSTIFY the bug rather than fix it.

1. REAL BUG — observe-mode exceedance was VIOLATION. expected_verdict returned
   VIOLATION for enforcement=="observe" whenever peak>limit and fired_count==0.
   But VIOLATION is a BROKEN ENFORCEMENT PROMISE, and observe mode makes no
   promise — it is the honest, declared "gauge, not gate" (ResourceContract
   requires an observeOnlyReason for it). Flagging its exceedance VIOLATION
   accuses a gauge of failing to be a gate, punishes honest declaration, and
   trains the learning loop to demand fixes for things explicitly declared
   not-controls. Fixed: the VIOLATION branch now guards on
   enforcement != "observe"; an observe-mode exceedance is INCONCLUSIVE. The
   exceedance is NOT hidden — it still flows as a resource-saturation
   TelemetrySignal regardless of verdict. Mapping gains the explicit rule
   observe_mode_exceedance_is_inconclusive_not_violation; the never-fired rule
   and the doc verdict table gain the guard.

2. Validator matched tokens anywhere in the YAML, including comments — a
   required object/rule/topic could be deleted from structure but still named in
   prose and pass. Replaced bare substring checks with ANCHORED regex over
   COMMENT-STRIPPED lines. Proven by negative control: a topic moved into a
   comment now fails (rc=1) where the old substring check passed.

3. Docstring claimed the mapping was token-checked with `re` while importing
   neither re nor using it. Now it genuinely uses re, and the docstring matches.

4. The verdict algebra was only exercised by the validator script's own example.
   Added tools/tests/test_resource_contract_verdict.py (10 cases) pinning every
   precedence branch in `make test` — gate-ineligible, proved, canonical
   violation, within-limit, and the observe-mode carve-out that was the bug —
   so a regression is caught even if the example file changes.

Verified: validator 27 checks; new pytest 10/10; make validate OK; negative
controls (comment-only topic -> rc=1, mislabeled verdict -> rc=1, restored ->
rc=0). The only make-test failure is the pre-existing test_serve port-race flake
(a different serve test fails each run, passes in isolation and on origin/main),
flagged separately.
CI's manifest-validate (first target in make validate) tracks every file; the
new pytest module was committed but not registered. Local make validate passed
only because it ran before git add, so the file was untracked and the manifest
check didn't see it — CI runs post-commit. Regenerated via make manifest-write
(110 tracked files); make validate now green with the file tracked.
@mdheller
mdheller merged commit 79ad866 into main Aug 4, 2026
8 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