-
Notifications
You must be signed in to change notification settings - Fork 123
FE-1437: Move brunch-agent into hashintel/hash with its history #9274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
ecb0f1a
Initialize repo: agent config, wayfinder map, elicitation-kernel planβ¦
lunelson c07b959
Resolve Questioning-UX contract (issue 05); harden shell vocabulary
lunelson ebe946e
Resolve walking skeleton: Flue question round-trip (issue 10)
lunelson e377e8d
Map: add exploded-view diagnostic harness to Not yet specified
lunelson fa4f28d
Ticket 10: record ratified questionnaire reading (single multi-step aβ¦
lunelson 4f10557
Resolve capture-sweep logic-prototype (issue 11); graduate multi-sessβ¦
lunelson 8ea5e9e
Resolve shipping-shape (issue 06); add Binding to glossary
lunelson 1272426
Ticket 06: note prototype branches as implementation seeds for core/fβ¦
lunelson 584737b
Resolve multi-session durable-target (issue 12); flip persistence hypβ¦
lunelson ea28697
Pre-assembly prep: consistency pre-pass, second-target rename (pluginβ¦
lunelson b998519
Claim ticket 13 (sweep-seam walking skeleton)
lunelson e59a0bf
Ticket 13: walking skeleton built, provisional verdict posted β awaitβ¦
lunelson 8fd0faf
Ticket 13: record HITL reaction #1 and the harness-resolved anchoringβ¦
lunelson 8575f22
Resolve sweep-seam walking skeleton (ticket 13); capability list amenβ¦
lunelson 9a4d3fd
Resolve ticket 08: spec assembled (spec.md) β map complete
lunelson b7918d4
Spec review round 1 (HITL, tuicr): seven comments folded in
lunelson 7414766
FE-1374: Assemble the spec (#1)
lunelson 2e58d35
FE-1362: Decide the September demo architecture (#2)
TimDiekmann 427a387
FE-1363: Choose the demo use case and modelling criteria (#3)
TimDiekmann 1b43e46
FE-1388: Create the Bun workspace and enforce dependency boundaries (#4)
TimDiekmann 996f0cf
FE-1364: Define the process-model elicitation representation (#5)
TimDiekmann a34663a
FE-1361: Measure the one-shot AI elicitation baseline (#6)
TimDiekmann 9c3d525
FE-1399: Fix verified silent failures in CI and the dev app (#7)
TimDiekmann 8771be4
FE-1397: Validate the generic IR against worked plugin payloads (#8)
TimDiekmann 0ed47a8
FE-1400: Strengthen verification, dev storage, and the baseline runneβ¦
TimDiekmann c81686d
FE-1389: Implement the first suspended free-text question (#10)
TimDiekmann bb56fab
FE-1390: Implement capture history and local persistence (#11)
TimDiekmann 5951512
FE-1401: Resolve the stack legibility follow-ups (#12)
TimDiekmann 72b74d3
FE-1419: Align capture-store rules and verification claims (#13)
TimDiekmann 85e6ec9
FE-1424: Complete the documentation protocol (#14)
TimDiekmann 7d6f0e7
FE-1405: Draft and test the CPS payload schemas (#15)
TimDiekmann 06c8b09
FE-1422: Move the portable ask protocol into core (#16)
TimDiekmann 9148daa
FE-1391: Resolve evidence quotes to durable conversation entries (#17)
TimDiekmann d4596f0
FE-1392: Capture settled conversation statements safely (#18)
TimDiekmann 02d67c4
FE-1432: Resolve the stack's open review threads (#19)
TimDiekmann a99c1a3
FE-1433: Deliver the remote Petrinaut elicitor integration (#20)
TimDiekmann eb6e139
FE-1434: Test whether Flue resumes batched client-tool results (#21)
TimDiekmann 25e2dee
FE-1435: Test whether the elicitor stream drives Petrinautβs chat panβ¦
TimDiekmann 5cb5410
FE-1436: Connect the elicitor to Petrinautβs real chat panel (#24)
TimDiekmann c013178
FE-1451: Keep issues, comments, and PRs easy to scan (#23)
TimDiekmann 8e2dcd6
FE-1449: Prove a structured brunch question suspends and resumes in Pβ¦
TimDiekmann 0ce4d6e
FE-1464: Close the final stack review findings before repository handβ¦
TimDiekmann 3c7a00e
FE-1437: Prepare the standalone authority cutover (#28)
lunelson 67c3352
Format imported Brunch files for HASH
lunelson 6dcd56c
Move Brunch implementation to its HASH context paths
lunelson ca3cdc7
Assimilate Brunch into native HASH workspaces
lunelson 9fdc3a6
Complete Brunch lifecycle wiring
lunelson 00aaaa3
Fix Brunch documentation code fences
lunelson 4b8b3f1
Register the Brunch Actual-mode fixture with Turbo
lunelson 9180e43
Complete the Brunch elicitation round trip in Petrinaut
lunelson 6f04c47
Preserve interactive tool contract types
lunelson 9e29311
Settle Brunch docs and defects after the authority cutover
lunelson 8d2b2be
Record the FE-1440 trim decision in coordination
lunelson 312f34d
Route PR descriptions through the repository template
lunelson 0210943
changeset for petrinaut
lunelson df45941
Switch the Brunch stacking convention to Graphite
lunelson a8f9229
Run Brunch architecture tests in CI's pruned checkout
lunelson 5277382
Drop the FE-1357 proposal snapshot that blocked ticket merges
lunelson c466a13
Pin bedrock-sdk's nested Anthropic SDK to the workspace version
lunelson 92b1f90
Copy the Brunch context root into CI's pruned checkout
lunelson 3fd48d1
Exclude the Brunch context docs from formatting and markdown lint
lunelson aa3c92b
Add license files to the Brunch workspaces
lunelson 80c8ddf
Guard host interactive-tool input parse on render
lunelson 51b50c4
Pin the local Brunch and Petrinaut listen addresses
lunelson 27fa5c5
Fire Brunch prune extras only for a core test job
lunelson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@hashintel/petrinaut": patch | ||
| --- | ||
|
|
||
| Add an interactive-tool extension point to the AI assistant panel: hosts can register app-level tools whose calls render as interactive widgets in the conversation, including tools that suspend the turn until the user responds. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| #!/usr/bin/env python3 | ||
| """Hermetic oracles for prune extra-scope rules. Does not run turbo prune.""" | ||
|
|
||
| from __future__ import annotations | ||
|
|
||
| import unittest | ||
|
|
||
| from prune import ( | ||
| expand_scopes, | ||
| extra_paths_for_requested, | ||
| extras_for_requested, | ||
| fixpoint_expand, | ||
| ) | ||
|
|
||
| CORE = "@hashintel/brunch-agent" | ||
| TRANSPORT = "@hashintel/brunch-agent-transport-aisdk" | ||
| APP = "@apps/brunch-agent" | ||
| WEBSITE = "@apps/petrinaut-website" | ||
|
|
||
|
|
||
| class BrunchRequestedExtras(unittest.TestCase): | ||
| def test_core_job_adds_the_app_and_context_paths(self) -> None: | ||
| self.assertEqual(extras_for_requested({CORE}), frozenset({APP})) | ||
| self.assertIn( | ||
| APP, | ||
| fixpoint_expand( | ||
| {CORE} | extras_for_requested({CORE}), | ||
| {CORE: frozenset(), APP: frozenset({CORE})}, | ||
| ), | ||
| ) | ||
| self.assertEqual( | ||
| extra_paths_for_requested({CORE}), | ||
| [ | ||
| "libs/@hashintel/brunch-agent/AGENTS.md", | ||
| "libs/@hashintel/brunch-agent/CONTEXT.md", | ||
| "libs/@hashintel/brunch-agent/docs", | ||
| "libs/@hashintel/brunch-agent/scripts", | ||
| ], | ||
| ) | ||
|
|
||
| def test_sibling_or_website_job_does_not_add_brunch_extras(self) -> None: | ||
| self.assertEqual(extras_for_requested({TRANSPORT}), frozenset()) | ||
| self.assertEqual(extras_for_requested({WEBSITE}), frozenset()) | ||
| self.assertEqual(extra_paths_for_requested({TRANSPORT}), []) | ||
| self.assertEqual(extra_paths_for_requested({WEBSITE}), []) | ||
|
|
||
| def test_transitive_core_in_the_closure_does_not_add_the_app(self) -> None: | ||
| dependencies = { | ||
| WEBSITE: frozenset({TRANSPORT}), | ||
| TRANSPORT: frozenset({CORE}), | ||
| CORE: frozenset(), | ||
| } | ||
| expanded = fixpoint_expand({WEBSITE}, dependencies) | ||
| self.assertNotIn(APP, expanded) | ||
| self.assertEqual(extras_for_requested({WEBSITE}), frozenset()) | ||
|
|
||
|
|
||
| class DarwinPrefix(unittest.TestCase): | ||
| def test_child_crate_still_triggers_the_prefix_family(self) -> None: | ||
| extras = expand_scopes({"@rust/darwin-kperf-sys"}) | ||
| self.assertIn("@rust/darwin-kperf-sys", extras) | ||
| self.assertIn("@rust/darwin-kperf-events", extras) | ||
|
|
||
|
|
||
| if __name__ == "__main__": | ||
| unittest.main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| .data-wipe-me/ | ||
| .flue/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Brunch agent application | ||
|
|
||
| This application belongs to the Brunch context rooted at | ||
| `../../libs/@hashintel/brunch-agent/`. Read that context's `AGENTS.md`, `CONTEXT.md`, and relevant | ||
| ADRs before changing this application. HASH root guidance takes precedence. | ||
|
|
||
| The application composes the Brunch packages, Flue runtime, HTTP routes, and local diagnostics. It | ||
| must remain independent of Petrinaut implementation packages; `apps/petrinaut-website` meets it | ||
| through the AI SDK/HTTP transport. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| AGENTS.md |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.