Repository overview
A complete, read-only example of a CodeMD analysis.
Repository health
Combined signal from tests, feature coverage, static analysis, and security.
30-day activity
Commits linked to product features
73 commits · 11 contributors · 16 features advanced
Recent commits
Every change connected to the feature it advances.
| Commit | Feature | Author | Impact | Checks |
|---|---|---|---|---|
a72d9f1 Add retry policy to checkout | Checkout reliability | Maya C. | Medium | 14 passed |
6e94b30 Cache product availability | Catalog performance | Jon B. | Low | 9 passed |
2c801be Validate promotion stacking | Discount engine | Priya S. | High | 22 passed |
d1f593a Add order export filters | Order reporting | Leo R. | Low | 7 passed |
89bb2cd Rotate webhook signing key | Partner webhooks | Nina K. | Medium | 18 passed |
Change impact path
Selected commit: a72d9f1
4 functions changed
Medium riskTwo public call paths and one asynchronous event consumer are affected.
3 product features affected
MappedCheckout reliability, Inventory reservation, and Customer notifications.
Downstream callers
Reachable code that may observe this change.
api.routes.checkout.submit_order
Direct caller · 2 relevant tests
workers.recovery.retry_checkout
Indirect caller · 3 relevant tests
events.order_created.notify_customer
Event consumer · 1 contract test
Latest test runs
Website and VS Code plugin results in one view.
| Suite | Target feature | Duration | Coverage | Result |
|---|---|---|---|---|
| test_checkout_retry.py | Checkout reliability | 4.2s | Confirmed | 12 passed |
| discount_contract.spec.ts | Discount engine | 8.7s | Confirmed | 1 failed |
| inventory_reservation_test.go | Inventory | 2.1s | Confirmed | 18 passed |
| webhook_signature_test.py | Partner webhooks | 3.6s | Partial | 1 skipped |
Open defects
Reproducible failures recorded from genuine test runs.
Stacked promotion exceeds order ceiling
CriticalWhen a percentage and fixed promotion are combined, the final discount can exceed the configured 60% maximum.
Webhook retry duplicates delivery receipt
HighA timeout after provider acceptance creates a second delivery receipt on retry.
CSV export drops UTC offset
MediumOrder export converts timestamps to local time without preserving the original offset.
Defect trend
Last four sprints
12 fixed · 3 open · median resolution 1.8 days
Static findings
High-confidence issues found without executing the application.
| Finding | Location | Severity | Confidence |
|---|---|---|---|
| Resource opened without guaranteed close | exports/csv_writer.py:88 | High | 96% |
| Promise rejection not handled | webhooks/delivery.ts:141 | High | 92% |
| Unreachable branch after return | pricing/rules.py:206 | Medium | 99% |
| Unused function legacy_tax_rounding | tax/legacy.py:31 | Review | 88% |
Feature implementation map
Product capabilities connected to their code, tests, and recent work.
Release gates
Evidence required before the release can ship.
Critical feature tests
Passed168 of 168 critical-path tests pass.
Security ship blockers
2 openOne reachable secret leak and one vulnerable dependency require action.
Feature-to-code mapping
90%18 of 20 planned features are connected to implementation evidence.
Sprint progress
Feature completion by week
Projected readiness: 94% by release date
Security ship blockers
Reachable findings that can affect production.
Attack surface — 41 dangerous functions, 12 reachable from outside input.
Service token logged in webhook failure path
CriticalThe exception serializer includes an authorization header. Reachable from POST /webhooks/delivery.
Vulnerable multipart parser
HighInstalled parser version is affected by a denial-of-service advisory and is used by the catalog import endpoint.
Security posture
Latest review completed today
Product vision validation
How closely implementation evidence matches the planned product.
Customer self-service returns
MissingNo implementation evidence found. Planned for the next quarter.
Regional tax preview
PartialUI labels exist, but no complete backend call path or dedicated test was found.
Unmapped code capabilities
Implemented behavior not represented in Feature MD.
Admin price override
Detected in 5 functions and 3 UI controls. Add it to the product plan or retire it.
Legacy invoice XML export
Detected in 4 functions with no calls in the last 90 days.
Ask about this repository
Demo answer generated from the repository's indexed code and analysis artifacts.
The request enters
checkout(), which calls reserve_stock() through the inventory client. Transient failures use exponential backoff at 200 ms and 800 ms. If both retries fail, cancel_pending_order() releases the payment authorization and publishes checkout.failed. The customer receives a retryable error; no completed order is created.Sources: checkout/service.py · inventory/client.py · orders/rollback.py · 6 related tests