Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
4b0e712
Bump postcss from 8.5.6 to 8.5.10 in /docs/_preview
dependabot[bot] Apr 24, 2026
89f9142
Bump version -> `2.0.0-SNAPSHOT.415`
alexander-yevsyukov Apr 29, 2026
113f908
Bump local dependencies
alexander-yevsyukov Apr 29, 2026
6b2bda4
Update dependency reports
alexander-yevsyukov Apr 29, 2026
1f5552f
Bump Validation in docs
alexander-yevsyukov Apr 29, 2026
f554bd5
Update `config`
alexander-yevsyukov Apr 29, 2026
a889523
Add Time as a submodule under `docs/_time`
alexander-yevsyukov Apr 29, 2026
310e426
Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/docs/_pr…
alexander-yevsyukov Apr 29, 2026
646376a
Update section number
alexander-yevsyukov Apr 30, 2026
0ec7d7b
Compose the plan for describing custom validation options
alexander-yevsyukov Apr 30, 2026
1913270
Draft the seacion "Custom validation option"
alexander-yevsyukov Apr 30, 2026
6ae7a1e
Reoder sections in navigation
alexander-yevsyukov Apr 30, 2026
da66821
Create "Running example" section
alexander-yevsyukov Apr 30, 2026
fed03a9
Separate the description of adding events and views
alexander-yevsyukov Apr 30, 2026
3a244c5
Remove redundant links
alexander-yevsyukov Apr 30, 2026
9a3e44b
Use typographic quotes instead of straight ones
alexander-yevsyukov Apr 30, 2026
ed0380c
Teach `/writer` to keep navigation in sync.
alexander-yevsyukov Apr 30, 2026
d113d10
Teach `/writer` to keep navigation in sync.
alexander-yevsyukov Apr 30, 2026
b540843
Rename the openning section
alexander-yevsyukov Apr 30, 2026
63aaf17
Trasnform the section into a note block
alexander-yevsyukov Apr 30, 2026
1f38b2b
Improve description of the `GenerateWhen`
alexander-yevsyukov Apr 30, 2026
207abae
Add task document for a new section
alexander-yevsyukov Apr 30, 2026
63035ff
Document passing to the Spine Compiler
alexander-yevsyukov Apr 30, 2026
625a416
Add the Summary page for the "Custom validation" section
alexander-yevsyukov Apr 30, 2026
07c1773
Fix quoting title in navigation
alexander-yevsyukov Apr 30, 2026
2d6101b
Bump CoreJvm Compiler -> `2.0.0-SNAPSHOT.063`
alexander-yevsyukov Apr 30, 2026
7f70396
Fix bottom nav link
alexander-yevsyukov Apr 30, 2026
05018f7
Describe handling `@AutoService`
alexander-yevsyukov Apr 30, 2026
f5ef495
Update build time
alexander-yevsyukov Apr 30, 2026
6c618e8
Improve the wording for `ValidationOption` implementations
alexander-yevsyukov Apr 30, 2026
c8e9d3f
Remove task documents
alexander-yevsyukov Apr 30, 2026
1867f5d
Bump Time -> `2.0.0-SNAPSHOT.237`
alexander-yevsyukov Apr 30, 2026
58e9382
Instruct the `/writer` skill to use footnote-style links
alexander-yevsyukov Apr 30, 2026
ed04195
Use footnote-style links in Markdown
alexander-yevsyukov Apr 30, 2026
a8230b8
Merge remote-tracking branch 'origin/document-custom-options' into do…
alexander-yevsyukov Apr 30, 2026
986846e
Update `config`
alexander-yevsyukov Apr 30, 2026
cc28d99
Update dependency reports
alexander-yevsyukov Apr 30, 2026
70dfe0c
Describe `@AutoService` as not mandatory
alexander-yevsyukov May 4, 2026
ca9b7d1
Add `spine` package to the Protobuf samples
alexander-yevsyukov May 4, 2026
260de2e
Improve text layout
alexander-yevsyukov May 4, 2026
d03447b
Fix back links
alexander-yevsyukov May 4, 2026
0c21189
Bump Time -> `2.0.0-SNAPSHOT.238`
alexander-yevsyukov May 4, 2026
3c60ac9
Put the "Register the option" page after the `Generator` description
alexander-yevsyukov May 4, 2026
922fee7
Add section header for service discovery
alexander-yevsyukov May 4, 2026
22cc1cd
Highlight the use of non-breaking spaces
alexander-yevsyukov May 4, 2026
e605f49
Add section for option extension
alexander-yevsyukov May 4, 2026
5bf0b05
Use `VIEW` kind alias in docs
alexander-yevsyukov May 4, 2026
8cc5c7e
Add links to source files
alexander-yevsyukov May 4, 2026
924f7cf
Add code samples
alexander-yevsyukov May 4, 2026
757d358
Update `time` repo reference
alexander-yevsyukov May 4, 2026
1ca3970
Update `config`
alexander-yevsyukov May 4, 2026
05b3908
Bump CoreJvm Compiler
alexander-yevsyukov May 4, 2026
6819294
Update dependency reports
alexander-yevsyukov May 4, 2026
a854985
Improve workflow names
alexander-yevsyukov May 4, 2026
40ed131
Fix the navigation order
alexander-yevsyukov May 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 27 additions & 2 deletions .agents/skills/writer/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: writer
description: >
Write, edit, and restructure user-facing and developer-facing documentation.
Use when asked to create/update docs such as `README.md`, `docs/**`, and
other Markdown documentation;
other Markdown documentation, including keeping docs navigation data in sync;
when drafting tutorials, guides, troubleshooting pages, or migration notes; and
when improving inline API documentation (KDoc) and examples.
---
Expand All @@ -24,10 +24,36 @@ description: >
- `docs/`: longer-form docs (follow existing conventions in that tree).
- Source KDoc: API usage, examples, and semantics that belong with the code.

## Keep docs navigation in sync

- When adding, removing, moving, or renaming a page under
`docs/content/docs/<section>/`, keep the current version's matching
`sidenav.yml` in sync.
- Use `docs/data/versions.yml` to identify the current documentation version for
that section. The current version is the entry with `is_main: true`; its
`version_id` maps to `docs/data/docs/<section>/<version_id>/sidenav.yml`.
- Do not update historical version entries or their navigation files unless the
user explicitly asks to edit that historical version.
- Map page files to `file_path` values relative to the current version's
`content_path`, without `.md`; `_index.md` maps to its directory path, such as
`01-getting-started/_index.md` -> `01-getting-started`.
- Keep each `page` label aligned with the page frontmatter `title` unless the
existing navigation intentionally uses a shorter reader-facing label.
- Preserve the existing ordering, nesting, keys, comments, and YAML quoting
style. Remove nav entries for deleted pages and update `file_path` values for
moved pages.
- If a docs content change should not appear in navigation, say so explicitly in
the final response.

## Follow local documentation conventions

- Follow `.agents/documentation-guidelines.md` and `.agents/documentation-tasks.md`.
- Use fenced code blocks for commands and examples; format file/dir names as code.
- In Markdown files, prefer footnote-style reference links for external `https://`
targets instead of inline links. Write readable body text like
`[label][short-id]`, then place the URL definition near the end of the file,
such as `[short-id]: https://example.com/long/path`. Keep reference IDs short
and descriptive. Inline links are still fine for local relative paths.
- Avoid widows, runts, orphans, and rivers by reflowing paragraphs when needed.

## Make docs actionable
Expand All @@ -48,4 +74,3 @@ description: >

- For code changes, follow `.agents/running-builds.md`.
- For documentation-only changes in Kotlin/Java sources, prefer `./gradlew dokka`.

4 changes: 2 additions & 2 deletions .github/workflows/build-on-ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Build under Ubuntu
name: Ubuntu CI

on: push

jobs:
build:
name: Build under Ubuntu
name: Build on Ubuntu
runs-on: ubuntu-latest

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-on-windows.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Build under Windows
name: Windows CI

on: pull_request

jobs:
build:
name: Build under Windows
runs-on: windows-latest
name: Build on Windows

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/check-code-embedding.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: Check Code Embedding
name: Code Embedding

on:
pull_request:

jobs:
build-embedded-code:
name: Build embedded code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
Expand All @@ -19,6 +20,7 @@ jobs:
- run: ./gradlew :docs:buildAll

check-embedded-samples:
name: Match embedded and original code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ensure-reports-updated.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Ensures that the license report files were modified in this PR.

name: Ensure license reports updated
name: License Reports

on:
pull_request:
branches:
- '**'

jobs:
build:
name: Ensure license reports updated
check:
name: Ensure license reports are updated
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
# Configure the checkout of all branches, so that it is possible to run the comparison.
# Configure the checkout of all branches so that it is possible to run the comparison.
fetch-depth: 0
# Check out the `config` submodule to fetch the required script file.
submodules: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Validate Gradle Wrapper
name: Gradle Wrapper validation
on:
push:
branches:
Expand All @@ -9,7 +9,7 @@ on:

jobs:
validation:
name: Gradle Wrapper Validation
name: Validate Gradle Wrapper
runs-on: ubuntu-latest
steps:
- name: Checkout latest code
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/increment-guard.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Ensures that the current lib version is not yet published but executing the Gradle
# `checkVersionIncrement` task.

name: Check version increment
name: Version Guard

on:
push:
branches:
- '**'

jobs:
build:
check:
name: Check version increment
runs-on: ubuntu-latest

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ on:

jobs:
publish:
name: Publish to Maven repositories
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ env:

jobs:
retrieve-package-names:
name: Retrieve the package names published from this repository
name: Retrieve package names
runs-on: ubuntu-latest
outputs:
package-names: ${{ steps.request-package-names.outputs.package-names }}
Expand All @@ -54,7 +54,7 @@ jobs:
echo "package-names=$(<./package-names.json)" >> $GITHUB_OUTPUT

delete-obsolete-artifacts:
name: Remove obsolete artifacts published from this repository to GitHub Packages
name: Delete obsolete artifacts
needs: retrieve-package-names
runs-on: ubuntu-latest
strategy:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

# Internal tool directories.
.fleet/
.junie/memory/

# Kotlin temp directories.
**/.kotlin/
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "docs/_examples"]
path = docs/_examples
url = https://github.com/spine-examples/hello-validation
[submodule "docs/_time"]
path = docs/_time
url = https://github.com/SpineEventEngine/time
2 changes: 1 addition & 1 deletion .junie/guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Also follow the Junie-specific rules described below.

## Junie Assistance Tips

When working with Junie AI on the Spine Tool-Base project:
When working with Junie AI on the Spine family of projects:

1. **Project Navigation**: Use `search_project` to find relevant files and code segments.
2. **Code Understanding**: Request file structure with `get_file_structure` before editing.
Expand Down
2 changes: 0 additions & 2 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ val koverVersion = "0.9.1"
/**
* The version of the Shadow Plugin.
*
* `7.1.2` is the last version compatible with Gradle 7.x. Newer versions require Gradle v8.x.
*
* @see <a href="https://github.com/GradleUp/shadow">Shadow Plugin releases</a>
*/
val shadowVersion = "9.4.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

package io.spine.dependency.build

import io.spine.dependency.build.Dokka.GradlePlugin.id
import io.spine.dependency.local.Spine

// https://github.com/Kotlin/dokka
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ object CoreJvmCompiler {
/**
* The version used to in the build classpath.
*/
const val dogfoodingVersion = "2.0.0-SNAPSHOT.062"
const val dogfoodingVersion = "2.0.0-SNAPSHOT.063"

/**
* The version to be used for integration tests.
*/
const val version = "2.0.0-SNAPSHOT.062"
const val version = "2.0.0-SNAPSHOT.063"

/**
* The ID of the Gradle plugin.
Expand Down
8 changes: 7 additions & 1 deletion buildSrc/src/main/kotlin/io/spine/dependency/local/Time.kt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import io.spine.dependency.Dependency
)
object Time : Dependency() {
override val group = Spine.group
override val version = "2.0.0-SNAPSHOT.235"
override val version = "2.0.0-SNAPSHOT.238"
private const val infix = "spine-time"

fun lib(version: String): String = "$group:$infix:$version"
Expand All @@ -56,6 +56,12 @@ object Time : Dependency() {
fun testLib(version: String): String = "${Spine.toolsGroup}:time-testlib:$version"
val testLib get() = testLib(version)

fun validation(version: String): String = "${Spine.toolsGroup}:time-validation:$version"
val validation get() = validation(version)

fun gradlePlugin(version: String): String = "${Spine.toolsGroup}:time-gradle-plugin:$version"
val gradlePlugin get() = gradlePlugin(version)

override val modules: List<String>
get() = listOf(
lib,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ object Validation {
/**
* The version of the Validation library artifacts.
*/
const val version = "2.0.0-SNAPSHOT.413"
const val version = "2.0.0-SNAPSHOT.414"
Comment thread
alexander-yevsyukov marked this conversation as resolved.
Comment thread
alexander-yevsyukov marked this conversation as resolved.

/**
Comment thread
alexander-yevsyukov marked this conversation as resolved.
* The last version of Validation compatible with ProtoData.
Expand Down
Loading
Loading