Repository navigation
Say in the position when the workspace keeps a progress board - #339
Merged
Merged
Conversation
When the manifest declares the workspace's own repo private and board/board.yaml is there, orient's "where you are now" ends with one line: when the last record was written and how long ago (or that there is none), the axis version, and to follow basou board guide. The SessionStart hooks hand the same position to a session, so an agent learns of the board and where its steps are without a skill of its own. Only the records' names and the declaration's axis.version are read, loosely: a board that cannot be read is said to be so and never fails the position, its exit code or the hooks' output. A workspace with no board gets no line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Read board.yaml as basou board reads YAML (1.2 only, no key twice, no tag left unresolved): one it would refuse gives no axis version. A board.yaml over 128 KiB is not read: the position is rendered at every session start, under a time limit. - basou refresh writes the line too, so the position is the same whichever command wrote it last. - The scan for other workspaces' names passes over the line, which is basou's own words around a date and a version: a workspace named like one of its words no longer silences the hook's position. - The record's day is the one on this host's clock, from the Date's own local fields, which follow TZ where the zone has no name. - A directory that bears a record's name is not counted as one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
basou orientnow says when the workspace keeps a progress board, and how to update it. When the manifest declares the workspace's own repo private andboard/board.yamlis there, the position's "where you are now" ends with one line:basou board guide.view-strings.ts).basou orient,basou refresh, and the SessionStart hooks. The hooks hand the same position to a Claude Code or Codex session, so an agent learns of the board, and where its steps are, with no skill of its own.records/(directories passed over) and the declaration'saxis.version, with YAML read asbasou boardreads it (1.2 only, no key twice, no unresolved tag).board.yamlover 128 KiB is not read: a position is rendered at every session start, under a time limit.@basou/core(Internal):glanceBoard,BOARD_GLANCE_MAX_BYTESandisPositionBoardLine;renderOrientationtakesboard.orient's prose is outside the compatibility contract. compatibility.md allows a guaranteed command to show what an experimental one wrote, in prose. No change to
compatibility.mdor the README.Why
With the guide (#337) and init (#338), a judged board needs no skill of its own. An agent still has to learn that the board exists and where its steps are. The position is what every session in the workspace reads first, so one line there reaches Claude Code and Codex alike.
Verification
pnpm -r build,pnpm typecheck,pnpm lint(the existing 4 warnings only),pnpm lint:lang,pnpm lint:paths,pnpm test:scripts: all 0.pnpm test:coverageis 0 under Node 24 and under Node 20, which CI runs.TZ=America/New_YorkandAsia/Tokyotoo.TZ=Asia/Tokyoand a zone with no name (JST-9);%YAML 1.1, an unresolved tag;basou refreshwriting the line;guide.orientandhook session-start(with a throwaway portfolio) both print the line.Review
One round of convergent review (review only), with the decided scope given as fixed. 5 findings (low to low-medium) and a few details, all fixed in the third commit:
basou boardrefuses still gave an axis version;basou refreshrewroteorientation.mdwithout the line;board.yamlstalled orient and the hook;Not taken up, as design questions:
time_zonerather than the host's;path: ./not taken as the anchor (pre-existing).Checklist
main.pnpm lint,pnpm typecheck, andpnpm testare all green locally.CHANGELOG.md## Unreleasedupdated.🤖 Generated with Claude Code