specrails-core 3.8.0 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/install.sh
CHANGED
|
@@ -979,6 +979,36 @@ if [[ "$TIER" == "quick" ]]; then
|
|
|
979
979
|
ok "Installed integration-contract.json"
|
|
980
980
|
fi
|
|
981
981
|
|
|
982
|
+
# --- Backlog config (default: local provider) ---
|
|
983
|
+
_backlog_cfg="${REPO_ROOT}/.specrails/backlog-config.json"
|
|
984
|
+
if [[ ! -f "$_backlog_cfg" ]]; then
|
|
985
|
+
mkdir -p "${REPO_ROOT}/.specrails"
|
|
986
|
+
cat > "$_backlog_cfg" <<'BCEOF'
|
|
987
|
+
{
|
|
988
|
+
"provider": "local",
|
|
989
|
+
"write_access": true,
|
|
990
|
+
"git_auto": true
|
|
991
|
+
}
|
|
992
|
+
BCEOF
|
|
993
|
+
ok "Created .specrails/backlog-config.json (provider: local, git_auto: true)"
|
|
994
|
+
fi
|
|
995
|
+
|
|
996
|
+
# --- Local tickets store ---
|
|
997
|
+
_tickets_file="${REPO_ROOT}/.specrails/local-tickets.json"
|
|
998
|
+
if [[ ! -f "$_tickets_file" ]]; then
|
|
999
|
+
_now="$(date -u +"%Y-%m-%dT%H:%M:%S.000Z")"
|
|
1000
|
+
cat > "$_tickets_file" <<LTEOF
|
|
1001
|
+
{
|
|
1002
|
+
"schema_version": "1.0",
|
|
1003
|
+
"revision": 0,
|
|
1004
|
+
"last_updated": "${_now}",
|
|
1005
|
+
"next_id": 1,
|
|
1006
|
+
"tickets": {}
|
|
1007
|
+
}
|
|
1008
|
+
LTEOF
|
|
1009
|
+
ok "Created .specrails/local-tickets.json"
|
|
1010
|
+
fi
|
|
1011
|
+
|
|
982
1012
|
# --- Skills (OpenSpec) ---
|
|
983
1013
|
if [[ -d "$_templates/skills" ]]; then
|
|
984
1014
|
mkdir -p "${REPO_ROOT}/${SPECRAILS_DIR}/skills"
|
|
@@ -1033,6 +1063,8 @@ if [[ "$TIER" == "quick" ]]; then
|
|
|
1033
1063
|
echo " Installed:"
|
|
1034
1064
|
echo " ${_installed_agents} agent(s) → ${SPECRAILS_DIR}/agents/"
|
|
1035
1065
|
echo " ${_installed_commands} command(s) → ${SPECRAILS_DIR}/commands/specrails/"
|
|
1066
|
+
echo " .specrails/backlog-config.json (provider: local)"
|
|
1067
|
+
echo " .specrails/local-tickets.json"
|
|
1036
1068
|
echo " .specrails/specrails-version"
|
|
1037
1069
|
echo " .specrails/specrails-manifest.json"
|
|
1038
1070
|
echo ""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "specrails-core",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.1",
|
|
4
4
|
"description": "AI agent workflow system for Claude Code — installs 12 specialized agents, orchestration commands, and persona-driven product discovery into any repository",
|
|
5
5
|
"bin": {
|
|
6
6
|
"specrails-core": "bin/specrails-core.js"
|
|
@@ -49,6 +49,8 @@ Output ONLY the following structured markdown. Do not add any preamble or explan
|
|
|
49
49
|
|
|
50
50
|
After generating the proposal, read `.specrails/backlog-config.json` to determine `BACKLOG_PROVIDER` and `BACKLOG_WRITE`.
|
|
51
51
|
|
|
52
|
+
If `.specrails/backlog-config.json` does not exist, default to `provider=local` and `write_access=true`. Initialize `.specrails/local-tickets.json` if it does not exist (empty store with `schema_version: "1.0"`, `revision: 0`, `next_id: 1`, `tickets: {}`).
|
|
53
|
+
|
|
52
54
|
### If provider=local — Create Local Ticket
|
|
53
55
|
|
|
54
56
|
Create a local ticket from the proposal output:
|