You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You edit code plus BEAR IR, then BEAR reports stable, machine-parseable signals: either green, or a precise failure with a remediation hint.
18
+
When boundary authority changes, the agent updates BEAR IR first, BEAR compiles deterministic structural constraints, and then implementation code fits inside those constraints.
19
+
The result is a stable, machine-parseable governance signal: either green, or a precise failure with a remediation hint.
10
20
11
21
```mermaid
12
22
%% id: bear-workflow-v1
13
23
flowchart LR
14
-
A[Agent / Dev edits code]:::actor --> B[Edit BEAR IR file]:::ir
24
+
A[Agent / Dev identifies boundary change]:::actor --> B[Update BEAR IR]:::ir
15
25
B --> C[bear compile]:::cmd
16
-
C --> D[Generate boundary glue]:::gen
17
-
D --> E[bear check]:::cmd
18
-
E --> F{CI green?}:::gate
19
-
F -- yes --> G[Merge]:::ok
20
-
F -- no --> H[Fix code or IR]:::bad
26
+
C --> D[Generate structural constraints]:::gen
27
+
D --> E[Agent / Dev implements inside constraints]:::actor
28
+
E --> F[bear check]:::cmd
29
+
F --> G{CI green?}:::gate
30
+
G -- yes --> H[Merge]:::ok
31
+
G -- no --> I[Fix code or IR]:::bad
21
32
22
-
I[bear pr-check]:::cmd --> J{Boundary delta in PR?}:::gate
23
-
J -- none --> F
24
-
J -- expansion/bypass --> H
33
+
J[bear pr-check]:::cmd --> K{Boundary delta in PR?}:::gate
34
+
K -- none --> G
35
+
K -- expansion/bypass --> I
25
36
26
-
E -. emits .-> S1[[CI contract output:<br/>exit code + CODE/PATH/REMEDIATION]]:::signal
27
-
I -. emits .-> S2[[PR output:<br/>pr-delta + verdict + footer]]:::signal
37
+
F -. emits .-> S1[[CI contract output:<br/>exit code + CODE/PATH/REMEDIATION]]:::signal
Copy file name to clipboardExpand all lines: docs/context/state.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,4 +29,6 @@ The packaged downstream CI integration is complete and stable, and `main` now al
29
29
- Imported the parked Node discovery work into minimap and kept the recommendation intentionally narrow: do not pursue Node unless the product explicitly accepts the `node-ts-pnpm-single-package-v1` profile.
30
30
- Added parked .NET discovery docs as a stronger-fit second-target candidate, focused on a narrow C# SDK-style profile with deterministic `dotnet` verification and project/package governance.
31
31
- Archived or removed stale process docs that no longer earn their keep in a public repo, including the old simulation, grading, checkpoint, and duplicate board docs.
- Tightened README and public docs wording so the intended agent loop is explicit: boundary changes update IR first, BEAR compiles constraints, then implementation happens inside those constraints.
0 commit comments