Skip to content

Left-align the welcome message and remove the Creator line - #13

Merged
CGuiho merged 1 commit into
CGuiho:mainfrom
cguiho-itron:welcome-left-align
Oct 13, 2026
Merged

CGuiho merged 1 commit into
CGuiho:mainfrom
cguiho-itron:welcome-left-align

Conversation

@cguiho-itron

@cguiho-itron cguiho-itron commented Oct 13, 2026 •

Copy link
Copy Markdown

Summary

  • Left-align the welcome printed by a bare buda: logo rows, the tagline and the GUIHO · Cristóvão GUIHO line now start at column 0 (centering removed). Existing colours kept.
  • Detail lines start at column 0 with aligned values; labels are now Platform / Version, followed by a new Author GUIHO (www.guiho.co) line. In colour mode www.guiho.co uses Buda's accent colour (3A7CA5, the logo/attribution colour) while GUIHO ( and ) keep the normal value colour; plain output is unaffected.
  • Exactly one blank line between the attribution and the details (was two), and exactly one leading and one trailing blank line (was two each).
  • There was no Creator detail line in this repo's welcome, so nothing to remove; a test asserts it stays absent. The welcome has no update-notice logic, so nothing changed there.
  • Removed dead code: the center helper and the inner-width computation.
  • Tests: new exact plain-output test, updated detail expectations, colour test checks left-aligned labels and the accent-coloured website. XDocs descriptor internal/welcome/welcome.xdocs.md updated.

Before



              ██████╗ ██╗   ██╗██████╗  █████╗
             ██╔══██╗██║   ██║██╔══██╗██╔══██╗
             ██████╔╝██║   ██║██║  ██║███████║
             ██╔══██╗██║   ██║██║  ██║██╔══██║
             ██████╔╝╚██████╔╝██████╔╝██║  ██║
             ╚═════╝  ╚═════╝ ╚═════╝ ╚═╝  ╚═╝
                   AI-maintained OKF wiki
                  GUIHO · Cristóvão GUIHO


  platform   Linux x64
  version    v1.2.3

Run buda --help to see available commands.


After


██████╗ ██╗   ██╗██████╗  █████╗
██╔══██╗██║   ██║██╔══██╗██╔══██╗
██████╔╝██║   ██║██║  ██║███████║
██╔══██╗██║   ██║██║  ██║██╔══██║
██████╔╝╚██████╔╝██████╔╝██║  ██║
╚═════╝  ╚═════╝ ╚═════╝ ╚═╝  ╚═╝
AI-maintained OKF wiki
GUIHO · Cristóvão GUIHO

Platform  Linux x64
Version   v1.2.3
Author    GUIHO (www.guiho.co)

Run buda --help to see available commands.

Test results

  • gofmt -l main.go cmd devops internal prompts schemas skills: no files
  • go mod tidy -diff: clean
  • go vet ./...: pass
  • go test -count=1 ./...: all packages pass
  • xdocs meta . --documents --strict: same 3 pre-existing failures as main (undocumented files in docs/todo/todo.xdocs.md), none related to this change

Render the bare `buda` welcome flush left: the logo rows, tagline and
GUIHO attribution line no longer receive centering padding, and the
detail lines start at column 0 with their values aligned.

- Capitalise the detail labels (Platform, Version) and add an Author
  line "GUIHO (www.guiho.co)" with the website in the accent colour.
- Use one blank line between the attribution and the details, and
  exactly one leading and one trailing blank line.
- Remove the now-unused center helper and width computation.
- Pin the exact plain-text layout and the accent colouring in tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@CGuiho
CGuiho merged commit c7a19f9 into CGuiho:main Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants