@cratis/pi 7.186.0 → 7.187.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@ authored a file or preserve a chain of evidence about how it arrived.
12
12
 
13
13
  - Run the narrowest relevant build, type check, lint, and specifications while iterating; explain when a wider gate is required before completion or push/PR.
14
14
  - Run one phase per command with its real exit status. Budget targeted checks around 120 seconds and build/test phases around 300 seconds; explain any longer budget first, and obtain explicit approval before a phase exceeds 600 seconds. Stop on a failure; do not blindly retry or repeat passing tests on unchanged inputs without a flaky-test hypothesis or required matrix.
15
- - CI is not a feedback loop: run the Tier 1 gate locally before pushing, and run integration (Tier 2) locally when the repository's policy requires it. Integration may wait for CI only when the repository allows it, CI demonstrably runs that coverage and it passes before merge; say it was deferred to CI, never call it a local pass. If integration is required but has neither local proof nor enforced CI coverage, treat it as unverified and stop. A stricter repository policy, such as local-only integration, wins. On a shared machine cap parallelism, one heavy phase at once (`cratis-engineering-ci-gates`).
15
+ - **[contract] Never iterate through CI:** never push to see failures or wait on runs; iterate on narrow local checks, reproduce CI failures locally, run Tier 1 once before pushing and integration when the repository's policy requires it. Integration may wait for CI only when the repository allows it, CI demonstrably runs that coverage and it passes before merge; say it was deferred to CI, never call it a local pass. If integration is required but has neither local proof nor enforced CI coverage, treat it as unverified and stop. A stricter repository policy, such as local-only integration, wins. On a shared machine cap parallelism, one heavy phase at once (`cratis-engineering-ci-gates`).
16
16
  - Separate status/fetch from builds, Debug from Release, each test project, and frontend lint/compile/test/build. Do not combine these into an opaque command with a large outer timeout. Expose progress and cancellation; report the precise failed or timed-out phase and do not continue dependent phases after failure.
17
17
  - Never use `build/test | grep | sort/head/tail` as gate evidence. Capture the producer's exit status before summarising output; `pipefail` alone is insufficient with early-closing consumers such as `head`. Printed zero-error counts are not proof of success. Preserve needed full diagnostics in task-scoped `.ai-work/` logs rather than hiding them in `/tmp`.
18
18
  - Fast feedback is a product requirement: a spec takes milliseconds, the suite seconds; specs share setup and run in parallel; analyzers must not halt builds. CI builds the spec path without analyzers and enforces them, warnings as errors, in a parallel required job; the pre-push gate runs them. A slowdown is a defect.
@@ -11,7 +11,7 @@ authored a file or preserve a chain of evidence about how it arrived.
11
11
 
12
12
  - Run the narrowest relevant build, type check, lint, and specifications while iterating; explain when a wider gate is required before completion or push/PR.
13
13
  - Run one phase per command with its real exit status. Budget targeted checks around 120 seconds and build/test phases around 300 seconds; explain any longer budget first, and obtain explicit approval before a phase exceeds 600 seconds. Stop on a failure; do not blindly retry or repeat passing tests on unchanged inputs without a flaky-test hypothesis or required matrix.
14
- - CI is not a feedback loop: run the Tier 1 gate locally before pushing, and run integration (Tier 2) locally when the repository's policy requires it. Integration may wait for CI only when the repository allows it, CI demonstrably runs that coverage and it passes before merge; say it was deferred to CI, never call it a local pass. If integration is required but has neither local proof nor enforced CI coverage, treat it as unverified and stop. A stricter repository policy, such as local-only integration, wins. On a shared machine cap parallelism, one heavy phase at once (`cratis-engineering-ci-gates`).
14
+ - **[contract] Never iterate through CI:** never push to see failures or wait on runs; iterate on narrow local checks, reproduce CI failures locally, run Tier 1 once before pushing and integration when the repository's policy requires it. Integration may wait for CI only when the repository allows it, CI demonstrably runs that coverage and it passes before merge; say it was deferred to CI, never call it a local pass. If integration is required but has neither local proof nor enforced CI coverage, treat it as unverified and stop. A stricter repository policy, such as local-only integration, wins. On a shared machine cap parallelism, one heavy phase at once (`cratis-engineering-ci-gates`).
15
15
  - Separate status/fetch from builds, Debug from Release, each test project, and frontend lint/compile/test/build. Do not combine these into an opaque command with a large outer timeout. Expose progress and cancellation; report the precise failed or timed-out phase and do not continue dependent phases after failure.
16
16
  - Never use `build/test | grep | sort/head/tail` as gate evidence. Capture the producer's exit status before summarising output; `pipefail` alone is insufficient with early-closing consumers such as `head`. Printed zero-error counts are not proof of success. Preserve needed full diagnostics in task-scoped `.ai-work/` logs rather than hiding them in `/tmp`.
17
17
  - Fast feedback is a product requirement: a spec takes milliseconds, the suite seconds; specs share setup and run in parallel; analyzers must not halt builds. CI builds the spec path without analyzers and enforces them, warnings as errors, in a parallel required job; the pre-push gate runs them. A slowdown is a defect.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "7.186.0",
3
+ "version": "7.187.0",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [