mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-30 11:53:55 +01:00
Fix three intermittent test failures: large developer profiles, a docs-audit fixture and an error-review fixture (#4745)
`gstack-developer-profile --vibe` no longer fails once a profile grows past 64 KB, and two paid test fixtures stop giving the model contradictory instructions. These were the repeat failures in this week's test runs; fixing them keeps the release checks green without retries. Nothing to do as a reader. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
cb06a6dec1
commit
b5eb401e45
6 files changed
+40
-19
No files matched your search
@@ -809,17 +809,16 @@ do_narrative() {
|
||||
do_vibe() {
|
||||
ensure_profile
|
||||
cd "$ROOT_DIR"
|
||||
cat "$PROFILE_FILE" | PROFILE_DATA="$(cat "$PROFILE_FILE")" bun --no-env-file --config="${GSTACK_BUN_CONFIG:-/dev/null}" -e "
|
||||
import('./scripts/archetypes.ts').then(async (mod) => {
|
||||
const p = JSON.parse(process.env.PROFILE_DATA);
|
||||
const dims = (p.inferred && p.inferred.values) || {
|
||||
scope_appetite: 0.5, risk_tolerance: 0.5, detail_preference: 0.5,
|
||||
autonomy: 0.5, architecture_care: 0.5,
|
||||
};
|
||||
const arch = mod.matchArchetype(dims);
|
||||
console.log(arch.name);
|
||||
console.log(arch.description);
|
||||
});
|
||||
cat "$PROFILE_FILE" | bun --no-env-file --config="${GSTACK_BUN_CONFIG:-/dev/null}" -e "
|
||||
const p = JSON.parse(await Bun.stdin.text());
|
||||
const mod = await import('./scripts/archetypes.ts');
|
||||
const dims = (p.inferred && p.inferred.values) || {
|
||||
scope_appetite: 0.5, risk_tolerance: 0.5, detail_preference: 0.5,
|
||||
autonomy: 0.5, architecture_care: 0.5,
|
||||
};
|
||||
const arch = mod.matchArchetype(dims);
|
||||
console.log(arch.name);
|
||||
console.log(arch.description);
|
||||
"
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user