mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-19 22:54:36 +01:00
Merge origin/main (v1.91.15.0, #3017) into garrytan/parallel-waves; release metadata v1.91.16.0
Conflicts resolved by hand in templates, tests, CLAUDE.md, TODOS.md, CHANGELOG.md and bin/gstack-config; generated SKILL.md/sections, the agents digest and test/fixtures/context-budget.json regenerated. The eval codemod re-applied to main's new gstack-paths/gstack-slug evals. Coverage-read rule: bare echo separators after unknown output extend the unknown span (main's pathspec CI shape). CLAUDE.md keeps the TREE_MUTATING, catalog-ceiling and detach-timeout facts main's instruction-facts test pins.
This commit is contained in:
commit
6fb8ea3d10
351 files changed
+7477
-8179
No files matched your search
@@ -791,7 +791,22 @@ function isolateGitRemote(repo: string, url: string): void {
|
||||
expect(git("remote", "get-url", "origin")).toBe(url);
|
||||
}
|
||||
|
||||
/**
|
||||
* These cases exercise transcript ingest after the user consented, so the
|
||||
* isolated state root gets `transcript_ingest_mode: recent` unless the case
|
||||
* set the key itself. The no-consent paths live in
|
||||
* gstack-gbrain-sync-transcript-mode.test.ts.
|
||||
*/
|
||||
function seedTranscriptConsent(gstackHome: string | undefined): void {
|
||||
if (!gstackHome) return;
|
||||
mkdirSync(gstackHome, { recursive: true });
|
||||
const config = join(gstackHome, "config.yaml");
|
||||
const current = existsSync(config) ? readFileSync(config, "utf-8") : "";
|
||||
if (!/^transcript_ingest_mode:/m.test(current)) writeFileSync(config, `${current}transcript_ingest_mode: recent\n`);
|
||||
}
|
||||
|
||||
function runScript(args: string[], env: Record<string, string> = {}): { stdout: string; stderr: string; exitCode: number } {
|
||||
seedTranscriptConsent(env.GSTACK_HOME);
|
||||
const result = spawnSync("bun", [SCRIPT, ...args], {
|
||||
encoding: "utf-8",
|
||||
timeout: 30000,
|
||||
|
||||
Reference in new issue
Block a user